After some time on Ubuntu 12.04 (sure not since the first intallation) I noticed the following error on boot:
Begin: Running /scripts/local-top ... /scripts/local-top/cryptroot: line 24: dirname: not found
Edit: content of /usr/share/initramfs-tools/scripts/local-top/cryptroot is here: http://pastebin.com/Pf1PrRvL
I'm not using encryption, because
sudo dmsetup status
gives
No devices found
sudo apt-get install --reinstall cryptsetup– nickguletskii Jul 18 '12 at 06:34/usr/share/initramfs-tools/scripts/local-top/cryptrootDo you have any encrypted partitions? – nickguletskii Jul 18 '12 at 07:02dirnamecommand is not found while testing for prerequisites forcryptroot. This should be in/usr/bin/dirnameas is part ofcoreutils(which is a fairly fundamental package). I would suggest a (re)install ofcoreutilsas this would appear to be broken. – StarNamer Jul 23 '12 at 22:09