Comment 4 for bug 591207

Revision history for this message
Martin Pitt (pitti) wrote :

I booted a lucid final live system from a USB stick with 128 MB of persistency, and "sudo update-initramfs -u" fails.

However, after upgrading to the proposed version it still fails:

ubuntu@ubuntu:~$ sudo apt-get install casper
The following packages will be upgraded:
  casper
[...]
Preparing to replace casper 1.236 (using .../casper_1.236.1_amd64.deb) ...
Unpacking replacement casper ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up casper (1.236.1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-21-generic
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is exactly the same error message as with the lucid-final version.

There is no /casper/, but /proc/mounts has those:

rootfs / rootfs rw 0 0
/dev/sdb1 /cdrom vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
/dev/sdb1 /casper-rw-backing vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop1 /cow ext3 rw,noatime,errors=continue,data=ordered 0 0
aufs / aufs rw,noatime,si=f17d5e79cd286719 0 0