Ubuntu Server 14.04 LTS with encrypted md mirrored rootfs and remote ssh unlock

This post is just to let everyone know old process described here in my earlier post still works and also survives upgrade from older Ubuntu version to 14.04 LTS.



Except that's not quite true. For some hardware combinations, namely LSI SAS1064 / SAS1068 and SAS2008, it's not possible to use Ubuntu 14.04 with encrypted rootfs at all. Some weird bug sends machine to continous reboot loop after detecting disks behind LSI SAS adapter never prompting decryption password. No errors on screen and nothing on logs as it's still in initramfs stage.

Workaround is to install Ubuntu 13.10, then upgrade it to 14.04, boot system using 13.10 kernel, install new mainline kernel (use 3.16 because 3.13, 3.14 and 3.15 does NOT work), uninstall stock Ubuntu 14.04 kernel, reboot and make sure you never ever downgrade to supported Ubuntu 14.04 kernel version.

Everything is awesome...

Comments