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
dirname
command is not found while testing for prerequisites forcryptroot
. This should be in/usr/bin/dirname
as is part ofcoreutils
(which is a fairly fundamental package). I would suggest a (re)install ofcoreutils
as this would appear to be broken.