Hi everyone.
I'm trying to boot a Live CD image of Ubuntu 8.04, which resides on a hard drive, using GRUB2.
The booting seems to go fine initially, and is only interrupted about 30 seconds into the boot process with messages saying:
Code:
sr0: CDROM not ready. Make sure there is a disc in the drive.
So it seems some program is trying to access my CDROM drive even though I'm booting from an ISO file which is on a hard disk partition.
Does anyone have any ideas as to what's going on and how to fix it?
Here's the script I've created (per the instructions here: Grub 2 - Ubuntu Wiki) in "/etc/grub.d/" which is called "50_bootiso" and adds a new item to the GRUB menu when I run update-grub:
Code:
echo "Adding custom 'boot from iso'-item to the GRUB boot menu" >&2
cat << EOF
menuentry "Ubuntu 8.04 iso from hard drive (ubuntu-8.04.3-desktop-i386.iso)" {
loopback loop (hd0,3)/ubuntu-8.04.3-desktop-i386.iso
linux (loop)/casper/vmlinuz boot=casper isofrom=(hd0,3)/ubuntu-8.04.3-desk$
initrd (loop)/casper/initrd.gz
}
EOF
So the problem seems not to be the actual booting of the image file, but rather letting Ubuntu know that nothing is accomplished by accessing my CDROM drive, all the files are in the ISO image...
Bookmarks