Lvm

Fixing initrd to Regain Ubuntu Encrypted Root Prompt on Boot

2012-09-24
Recently, I upgraded my Ubuntu 12.04 server, which uses an encrypted root directory (with LVM and LUKS). Unfortunately, somewhere along the way the upgrade broke the boot process - next time I booted, it hung for 5 seconds, then timed out and dropped to a BusyBox prompt. I quickly found a workaround which allowed me to manually intervene and continue the boot each time: cryptsetup luksOpen /dev/sda5 root exit Of course, however, I didn’t want to intervene on every boot, especially since this is normally a headless server.