Quote:
Originally Posted by Carpetsmoker
You can't boot/load an ISO file directly, at least, I wasn't able to figure out a way when I looked for it a bunch of years ago.
|
Well, I've just found out that GRUB2 does support booting from ISO, at least in Ubuntu Linux with its numerous derivatives, Gentoo and some other.
The grub.cfg entry would look similar to the following:
Code:
menuentry "Ubuntu Live" {
set root=(hd0,7)
loopback loop /ubuntu-11.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-11.04-desktop-amd64.iso noeject noprompt --
initrd (loop)/casper/initrd.lz
}
P.S. I haven't tried this method myself, just copypasting.