Hi Michael, On Tue, 06 Jan 2015 14:40 "Michael P." wrote: > The update-initramfs command create a initrd.img without cryptsetup > tools, but my root partition is crypted. > > I tried to debug a little the > /usr/share/initramfs-tools/hooks/cryptroot file and found that the > add_device() function returned an empty string, when passing > /faith--vg-root as first argument. > > I am on a new machine. Everything was fine after a fresh install from > jessie beta 2 installer. But after an update, the machine didn't > reboot anymore: grub halted after "Waiting for root device".
I changed the logic of add_device() recently in order to fix another bug. I fear that you discovered a new bug that I introduced by these changes. In order to help me to better understand what is going on, please do the following (as root, on the broken system): 1) append '-x' to the end of the first line at /usr/share/initramfs-tools/hooks/cryptroot, so that it is: '#/bin/sh -x'. 2) execute '/usr/sbin/mkinitramfs -o /tmp/initrd.img-$(uname -r) $(uname -r) >/tmp/mkinitramfs_debug.log 2>&1' 3) send /tmp/mkinitramfs_debug.log to this bugreport. 4) change the first line of /usr/share/initramfs-tools/hooks/cryptroot back to '#/bin/sh' (i.e. remove the trailing '-x'). 5) remove the created files: 'rm /tmp/initrd.img-$(uname -r) /tmp/mkinitramfs_debug.log'. Thanks in advance. Cheers, jonas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org