Techie Notes‎ > ‎

Making Fedora 14 auto mount 2nd encrpyted HD on startup

posted Jan 26, 2011 10:29 PM by Tedman Leung   [ updated Jan 26, 2011 10:36 PM ]
My setup is a laptop with 2 hard drives. The second hard drive was pulled out of my older laptop so it was also encrypted with luks.

ls -l /dev/disk/by-uuid will get you the uuid of the second hd partition you want i.e. "8492dc43-afab-4b5b-b169-b55f5b1cb87b -> ../../sdb2" for me.

edit /etc/cryptab add an extra line for the other parition, i.e. "luks-8492dc43-afab-4b5b-b169-b55f5b1cb87b UUID=8492dc43-afab-4b5b-b169-b55f5b1cb87b none" for me.

etc /etc/fstab add an extra line for the new mount partition, i.e. "/dev/mapper/vg_tedsx61s-lv_root /backup        ext3 defaults        0 0" in my case.

To create a new encrypted HD, you should be able to just follow the directions below in the posting about making an encrypted usb flash drive.