Mounting ISO

Goh Lip g.lip at gmx.com
Sat Jan 22 17:22:43 UTC 2011


On Sun, 23 Jan 2011 00:44:10 +0800, Calcpage <calcpage at aol.com> wrote:

> Oh, really? Thats cool! So, say this bootable ISO is in  
> /dev/hda2/sage.iso, how do I add this to grub?


Sample menu as follows.... (for *ubuntu flavours)


menuentry "Iso - Casper " {
search --no-floppy --label --set Cas
loopback loop /iso/kubuntu-maverick-amd64.iso
linux (loop)/casper/vmlinuz boot=casper
iso-scan/filename=/pop/kubuntu-maverick-amd64.iso noprompt noeject quiet
splash
initrd (loop)/casper/initrd.lz
}


Note however, if you have other distros, the methods varies. Best you
check by looking into the iso (mount -o loop...) and see the booting
method (casper, live, boot), vmlinuz and initrd (most common is initrd.gz
not initrd.lz). Also some livecd comes with 'preseeding' and that may not
boot from iso if it is remastered without lupin-casper installed (but you
can remaster yourself with that installed and boot the iso) --Ah.. sorry
for going off in a tangent, too many unnecessary details.-- Why not tell
us what you're trying to boot and we'll leave out the ..ah, noise.

Good luck - Goh Lip




More information about the ubuntu-users mailing list