[live-usb-persistent] Booting fails after kernel update in 12.04.2, 13.04, and 14.04.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When a 64-bit Lubuntu 14.04.2 persistent Live system on an USB flash drive (LiveUsbPendriv
BusyBox 1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands
(initramfs) Unable to find a medium containing a live file system
CAUSE:
I found out that newer 64-bit Ubuntu live file systems use casper/vmlinuz.efi for booting (instead of casper/vmlinuz). However, casper copies the updated kernel image still as casper/vmlinuz. Thus the next system (re)start will boot the old casper/vmlinuz.efi along with the casper/initrd.lz for the newer updated kernel. This results in the above reported boot failure.
RELATED BUGS/QUESTIONS:
https:/
https:/
HOW TO REPRODUCE:
* Download iso image http://
* Install it on USB flash drive using Startup Disk Creator, choose documents and settings will be
"Stored in reserved extra space" with e.g. 4GB
* Boot from live system
* Open a terminal and execute "sudo apt update && sudo apt upgrade"
* Reboot after upgrading has finished
WORK AROUND:
* Everytime after a new kernel has been installed execute "sudo mv /cdrom/
FIX:
see attached "casper vmlinuz.efi fix"