help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple boot from USB stick


From: Karsten Malcher
Subject: Re: Multiple boot from USB stick
Date: Sun, 14 Feb 2016 16:22:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

Am 14.02.2016 um 12:41 schrieb Y.:
> Le 2016-02-13 18:28, Karsten Malcher a écrit :
>> i want to setup an USB stick that is able to boot different OS form ISO.
>
> Here's an example of Grub2 booting an ISO file:
> http://yalis.fr/cms/index.php/post/2013/05/09/Bootable-flash-drive-for-both-Linux-and-Windows%3A-part-2
>
> Cheers

I could try out some things of this article.
Some work other not.

There are some things that cannot be find in the documentation, but they work!

-------------------------------------------------

I tried to start the BIOS updater now this way, it seems to start and fail:

menuentry "BIOS update chainloader" {
        set root=(hd0,1)
        chainloader --force /boot/img/BIOS.img
}

Disk I/O Error

-------------------------------------------------

I can't understand why this is working?
The loopback is missing but it is working!

menuentry "HDT: Check hardware" {
        linux16 /boot/img/MEMDISK iso
        initrd16 /boot/iso/hdt-0.5.2.iso
}

-------------------------------------------------

Knoppix can be booted this way without problems.
But why it works with bootfrom = /dev/sda1 ?

menuentry "Knoppix 7.2.0 ISO" {
        set isofile="/boot/iso/KNOPPIX-ADRIANE_V7.2.0gCD-2013-07-28-DE.iso"
        loopback loop (hd0,1)$isofile
        linux (loop)/boot/isolinux/linux bootfrom=/dev/sda1$isofile acpi=off 
keyboard=de language-de
        initrd (loop)/boot/isolinux/minirt.gz
}


-------------------------------------------------

Mystery over mystery ...

Cheers
Karsten



reply via email to

[Prev in Thread] Current Thread [Next in Thread]