On Friday 01,April,2011 02:46 AM, Patrick Strasser wrote:
schrieb Goh Lip am 2011-03-31 20:30:

With grub2, don't need chainload or syslinux. Boot directly using
loopback. With usb, it is also not an issue as long as uuid is specified.

You just open the image with the loopback command and that's it (or
"boot" when interactive)?

Patrick

Do not really understand your question, (don't need penlinux, maybe hence your question, just boot using grub2) but here's my menuentry in grub2, should be self-explanatory.

menuentry "Iso - natty-b1" {
search --set -f /iso/kubuntu-11.04-beta1-desktop-amd64.iso
loopback loop /iso/kubuntu-11.04-beta1-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/iso/kubuntu-11.04-beta1-desktop-amd64.iso noeject noprompt
initrd (loop)/casper/initrd.lz
}

note: I put iso file in directory 'iso' on a (any) partition.
you can of course use the usual
search --no-floppy --fs-uuid --set xxxxxxxxxxxxxx

for grml and others which don't use casper, use boot=live and use findiso instead of iso-scan, but you can check this out by mount -o loop the iso file first and watch for initrd.lz vs initrd.gz which is more commonly used.

Also you can use 'persistent' in linux line with a partition labeled 'casper-rw' to keep any changes (except kernel updates).

Goh Lip


--

_______________________________________________
Help-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to