"red-dwarf" is a previous LVM PV name. It looks like I have some cruft
left over from a previous installation in the file: /etc/initramfs-
tools/conf.d/cryptroot. I just deleted it.

I am booted into a backup installation (12.04) on a different hard disk.
I am unable / don't_know_how to boot into the updated installation.

I manually mounted the 13.10 (previously 13.04) installation. To
generate a new initramfs, i did the following.

I mounted the 13.10 installation at /media/new_root. Then

# for i in /dev /dev/pts /proc /sys /run; do mount -B $i /media/new_root$i; done
# chroot /media/new_root

I added CRYPTSETUP='y' to /etc/initramfs-tools/initramfs.conf

# update-initramfs -u -k 3.11.0-11-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-11-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for XYZ - 
cryptsetup: WARNING: invalid line in /etc/crypttab for XYZ - 
ln: failed to create symbolic link ‘/tmp/mkinitramfs_162yAK/bin/sleep’: File 
exists

The errors: "cryptsetup: ..." have been there for years, and have not
prevented successful update of initramfs. Last I researched this issue I
found no solution. The last error "ln: failed..." is new.

# lsinitramfs /boot/initrd.img-3.11.0-11-generic | grep cryptsetup
yields no results.
# update-initramfs -c -k 3.11.0-11-generic   # -c vs -u
fails likewise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1237556

Title:
  cryptsetup removed from initrd.img on upgrade to 13.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1237556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to