gnometorule
October 28th, 2013, 06:04 PM
Following the instructions of the iso-booting thread at http://ubuntuforums.org/showthread.php?t=1549847 (similar to the official grub2 wiki page), I receive a 'no kernel found' error message when I click my new menu entry in the grub 2 menu at boot time. I heard (when asking on stackoverflow), and believe read somewhere (don't remember source), that adding iso images to the grub2 menu for distros earlier than 9.xx is not possible.
(1) Is that true? (2) If not, (a) should an adjustment to the above work, or (b) is there another method (not grml mentioned on the wiki page: i tried that first; entry added, but when clicking it I return, after my computer goes busy briefly, to the grub2 menu, with no error message)?
My distro is 12.04. I dual boot with Windows 7. My grub2 version is 1.99-21ubuntu3.1.
I should add what exactly I added at the end of my 40_custom file (iso image in <user>/Downloads folder of Linux, which is installed on sda6):
menuentry "Ubuntu 7.04" {
set isofile="/home/<myname>/Downloads/ubuntu-7.04-desktop-i386.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
I also tried not defining the isofile var, and instead typing out the name twice later; and this syntax:
menuentry "Ubuntu 7.04" {
set isofile="/home/<myname>/Downloads/ubuntu-7.04-desktop-i386.iso"
loopback loop (hd0,6)$isofile
set root=(loop)
linux /casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd /casper/initrd.lz
}
(1) Is that true? (2) If not, (a) should an adjustment to the above work, or (b) is there another method (not grml mentioned on the wiki page: i tried that first; entry added, but when clicking it I return, after my computer goes busy briefly, to the grub2 menu, with no error message)?
My distro is 12.04. I dual boot with Windows 7. My grub2 version is 1.99-21ubuntu3.1.
I should add what exactly I added at the end of my 40_custom file (iso image in <user>/Downloads folder of Linux, which is installed on sda6):
menuentry "Ubuntu 7.04" {
set isofile="/home/<myname>/Downloads/ubuntu-7.04-desktop-i386.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
I also tried not defining the isofile var, and instead typing out the name twice later; and this syntax:
menuentry "Ubuntu 7.04" {
set isofile="/home/<myname>/Downloads/ubuntu-7.04-desktop-i386.iso"
loopback loop (hd0,6)$isofile
set root=(loop)
linux /casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd /casper/initrd.lz
}