Boot from LiveCD …

… with encrypted partions. After installing Kubuntu with a nice encrypted LVM setup, here’s how to boot from a LiveCD, and mounting those encrypted partitions. This was a real treat!

The funny thing is that the most part is for dealing with LVM. If you have a “normal” encrypted partition, then mounting it from a LiveCD amounts to this (first do ‘sudo bash’ to get a root shell):

# aptitude install cryptsetup
# modprob dm-crypt
# cryptsetup luksOpen /dev/sda2 mount_point_name
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.

Above, ‘mount_point_name’ can be any name, it does not have to be a directory.



Os comentários estão fechados.