help-grub
[Top][All Lists]
Advanced

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

Re: Boot from an ISO-File?


From: Goh Lip
Subject: Re: Boot from an ISO-File?
Date: Fri, 01 Apr 2011 03:14:10 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

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


--



reply via email to

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