I upgraded from 14.04 LTS to 16.04 LTS, and _after_ installing the next
new kernel (4.4.0-22) the new kernel's initrd.img did not have
cryptsetup anymore. 4.4.0-21 still had so I have continued to boot to it
for a week now.

I tried a lot of things before finding this bug, but it seems comment #4
finally adds a megabyte or so to the 22's initrd. I still don't get a
password prompt when booting to 22, and the 22 initrd.gz is still 400kB
smaller than 21's.

For possible interest, I'm attaching two diffs:
- Diff from 21 to 22+forcecryptsetup - note that I've removed btrfs package 
meanwhile since I was getting "Scanning for btrfs filesystems" messages on boot 
which I thought might be a problem
- Diff from 22 to 22+forcecryptsetup

The diffs are from ls -1R outputs of the initrd contents, with manual
sedding get cleaner diffs, but including (don't let it confuse) all
version numbers were changed to say "4.4.0-21".

Notably while the forcecryptsetup included all the needed kernel modules
and the cryptsetup tool, I'm still missing conf/conf.d/cryptroot on 22
which I guess is the remaining blocker for working. Maybe text.so too?

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

Title:
  /usr/share/initramfs-toos/hooks/cryptroot does not honour the
  CRYPTSETUP variable

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to