GRUB 2 now has support for booting from ISO files on the hard drive. The live OS has to support this feature though - most recent distributions, including Ubuntu 9.10, supports this feature.
Something like this in /etc/grub.d/40_custom will work:
Code:
menuentry "Ubuntu 9.10 32-bit" {
loopback loop /boot/livecds/ubuntu-9.10-desktop-i386.iso
set root=(loop)
linux /casper/vmlinuz iso-scan/filename=/boot/livecds/ubuntu-9.10-desktop-i386.iso file=/cdrom/preseed/ubuntu.seed boot=casper
initrd /casper/initrd.lz quiet splash --
}
The ISO file 'ubuntu-9.10-desktop-i386.iso' is put in '/boot/livecds/'.
Bookmarks