with MODULES=dep in /etc/initramfs-tools/conf.d/driver-policy:
# /bin/bash -x /usr/sbin/update-initramfs -v -u -k 3.2.0-32-generic [...] + generate_initramfs + echo 'update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic' update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic + OPTS=-o + '[' 1 = 1 ']' + OPTS='-v -o' + mkinitramfs -v -o /boot/initrd.img-3.2.0-32-generic.new 3.2.0-32-generic /dev/disk/by-uuid: Is a directory mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry mkinitramfs: workaround is MODULES=most mkinitramfs: Error please report the bug + mkinitramfs_return=1 + remove_initramfs_bak + '[' -z /boot/initrd.img-3.2.0-32-generic.dpkg-bak ']' + rm -f /boot/initrd.img-3.2.0-32-generic.dpkg-bak + verbose 'Removing /boot/initrd.img-3.2.0-32-generic.dpkg-bak' + '[' 1 = 1 ']' + printf 'Removing /boot/initrd.img-3.2.0-32-generic.dpkg-bak\n' Removing /boot/initrd.img-3.2.0-32-generic.dpkg-bak + rm -f /boot/initrd.img-3.2.0-32-generic.new + '[' 1 = 2 ']' + echo 'update-initramfs: failed for /boot/initrd.img-3.2.0-32-generic with 1.' update-initramfs: failed for /boot/initrd.img-3.2.0-32-generic with 1. + exit 1
Yes, the error is certainly coming from mkinitramfs, I knew it.
In attachment is the output of: # /bin/bash -x mkinitramfs -o ~/tmp/initramfs-3.2.0-32-generic 2> ~/tmp/log.dep
I have no /dev/root (see lines 343-356 of log.dep): [...] ++ awk '/\/dev\// {if ($3 == "/") {print "root=" $1 "\nFSTYPE=" $5; exit}}' + eval 'root=/dev/root FSTYPE=ext4' ++ root=/dev/root ++ FSTYPE=ext4 + '[' -z /dev/root ']' + '[' -z /dev/root ']' + '[' ext4 = ubifs ']' + '[' /dev/root = /dev/root ']' ++ blkid -o value -s UUID /dev/root + root=/dev/disk/by-uuid/ ++ readlink -f /dev/disk/by-uuid/ + root=/dev/disk/by-uuid ++ /usr/lib/klibc/bin/fstype /dev/disk/by-uuid /dev/disk/by-uuid: Is a directory [...]
with MODULES=dep in /etc/initramfs- tools/conf. d/driver- policy:
# /bin/bash -x /usr/sbin/ update- initramfs -v -u -k 3.2.0-32-generic img-3.2. 0-32-generic' img-3.2. 0-32-generic img-3.2. 0-32-generic. new 3.2.0-32-generic return= 1 initramfs_ bak img-3.2. 0-32-generic. dpkg-bak ']' img-3.2. 0-32-generic. dpkg-bak img-3.2. 0-32-generic. dpkg-bak' img-3.2. 0-32-generic. dpkg-bak\ n' img-3.2. 0-32-generic. dpkg-bak img-3.2. 0-32-generic. new img-3.2. 0-32-generic with 1.' img-3.2. 0-32-generic with 1.
[...]
+ generate_initramfs
+ echo 'update-initramfs: Generating /boot/initrd.
update-initramfs: Generating /boot/initrd.
+ OPTS=-o
+ '[' 1 = 1 ']'
+ OPTS='-v -o'
+ mkinitramfs -v -o /boot/initrd.
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
+ mkinitramfs_
+ remove_
+ '[' -z /boot/initrd.
+ rm -f /boot/initrd.
+ verbose 'Removing /boot/initrd.
+ '[' 1 = 1 ']'
+ printf 'Removing /boot/initrd.
Removing /boot/initrd.
+ rm -f /boot/initrd.
+ '[' 1 = 2 ']'
+ echo 'update-initramfs: failed for /boot/initrd.
update-initramfs: failed for /boot/initrd.
+ exit 1
Yes, the error is certainly coming from mkinitramfs, I knew it.
In attachment is the output of: -3.2.0- 32-generic 2> ~/tmp/log.dep
# /bin/bash -x mkinitramfs -o ~/tmp/initramfs
I have no /dev/root (see lines 343-356 of log.dep): disk/by- uuid/ disk/by- uuid klibc/bin/ fstype /dev/disk/by-uuid
[...]
++ awk '/\/dev\// {if ($3 == "/") {print "root=" $1 "\nFSTYPE=" $5; exit}}'
+ eval 'root=/dev/root
FSTYPE=ext4'
++ root=/dev/root
++ FSTYPE=ext4
+ '[' -z /dev/root ']'
+ '[' -z /dev/root ']'
+ '[' ext4 = ubifs ']'
+ '[' /dev/root = /dev/root ']'
++ blkid -o value -s UUID /dev/root
+ root=/dev/
++ readlink -f /dev/disk/by-uuid/
+ root=/dev/
++ /usr/lib/
/dev/disk/by-uuid: Is a directory
[...]