Failed to boot LiveCD iso from ext4 partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lupin (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lupin-casper
The use case is that I was trying to run the LiveCD for the Ubuntu Karmic beta (http://
Instead my ext4 partition wasn't loaded, and I got dropped to the shell from the initramfs due to a panic in /scripts/
(initramfs) mount -t ext4 /dev/sda5 /isodevice
(initramfs) echo "LIVEMEDIA=
(initramfs) echo "LIVEMEDIA_
(initramfs) exit
# Grub2 menuentry for booting the iso image:
menuentry "ubuntu-
insmod ext2
loopback loop (hd0,5)
linux (loop)/
initrd (loop)/
}
I found the problem was in /scripts/
mount -o loop /home/dylan/
mkdir ~/cpio && cd ~/cpio
lzcat < /mnt/casper/
vi ~/cpio/
find . -print | cpio -o -H newc | lzma -c > ~/initrd.lz
sudo vi /boot/grub/grub.cfg # Change the initrd line: initrd (hd0,5)
The lupin-helper script appears to be part of the lupin-casper package, and my patch still applies to bazaar repository for the package (http://
lupin-casper version: 0.25
Let me know if anything isn't clear (e.g. I may have made typos in the commands for this post).
summary: |
- Failed to boot LiveCD iso from ext4 parition + Failed to boot LiveCD iso from ext4 partition |
Thank you Dylan for your detailed explanations. I have found them very useful in working on bug #520500 (booting iso from stick via grub2 loopback gets stuck on particular crypt-luks partition).
I have now been able to loopback boot from ext4 partitions for a long time. This issue seems to have been solved by http:// bazaar. launchpad. net/~ubuntu- installer/ lupin/hardy/ revision/ 130#casper/ scripts/ lupin-helpers, starting from a duplicate (Bug #460740) of your report. I am setting your report to duplicate of this so that it inherits the "fix released" status.
Regards