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: hoan
Subject: Re: Multiple boot from USB stick
Date: Mon, 15 Feb 2016 09:36:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Mystery over mystery

this comes very probably from misunderstanding about the
"iso-scan="  "boot_from $iso" found in most liveiso grub.cfg.
They are not parsed by grub but by "linuxrc/casper or similar init script" at boot ,so they really depend on the distro's build !
and have nothing to do with grub.
HTH

A few fun exercises on grub :
 grub2_playground
https://sites.google.com/site/wjhowto/grub2-svn1725-playground
https://sites.google.com/site/wjhowto/ext2-diskfile-for-grub2
play grub2
https://sites.google.com/site/playgrub2/home

grugefi_K.I.S.S Keep_It_Simple_Stupid
https://sites.google.com/site/grubefikiss/grubefi-and-multiboot

On 02/14/2016 03:22 PM, Karsten Malcher wrote:
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

_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

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