hey, On 02/09/2009 Paul Millar wrote: > After upgrading a few packages (listed below) I discovered my laptop was > unable to boot. The laptop > uses a Luks partition with LVM (this was using a standard guided partitioning > option back when I was > installing Debian). The boot fails at around the same time I would normally > be prompted for the > passphrase to unlock the Luks partition. > > One (or more) of the upgraded packages triggered a rebuild of the initrd. > Suspecting that this > might be the cause of the problem, I tried adjusting the boot process. Using > grub's built-in > editor, I changed the initrd from the usual value to the backup copy (which > has the filename with > ".bak" appended). When booting from the backup copy of the initrd the > computer booted without any > problem. > > I then took the two initrd images, unpacked them and compared their contents. > There was a number of > differences, but the most noticable change was that the file: > > conf/conf.d/cryptroot > > that was present in the backup initrd was missing in the new initrd. This > file contained > cryptographic options for establishing the LVM ontop of the Luks partition. > I've copied the > contents here: > > target=sdb2_crypt,source=/dev/sda2,key=none,rootdev,lvm=vedrfolnir-root > target=sdb2_crypt,source=/dev/sda2,key=none,lvm=vedrfolnir-swap_1 > > Suspecting that the absence of this file was causing the problem, I copied > the missing > conf/conf.d/cryptroot file into the new initrd's contents and repacked the > initrd file. Booting off > this modified version of new initrd was successful. > > Therefore, I conclude that the laptop was unable to boot due to the missing > conf/conf.d/cryptroot > file in the initrd.
it seems like the initramfs generation process is broken. unfortunately i'm unable to reproduce the bug on several different setups. please run the following command: # sh -x mkinitramfs -o /tmp/initramfs 2>/tmp/initramfs.log and send /tmp/initramfs.log to the bugreport. greetings, jonas
signature.asc
Description: Digital signature