On 12/07/10 10:19 PM, Michael Cronenworth wrote:
On 07/12/2010 09:12 PM, H.S. wrote:
Now I am looking for how to specify the encrypted partition in Debian's fstab so that I can mount it from within Debian.
You will need to setup /etc/crypttab in your Debian installation and you will still need to input your passphrase upon mount (well, before mount,
Just did this. Installed cryptsetup package. Created the entry in /etc/cryptab: crypthomefedora UUID=<uuid here> none luks
Created the relevant line in /etc/fstab: /dev/mapper/crypthomefedora /media/homefedora ext4 defaults 1 2
Now when I boot into Debian, it asks for the password. I enter it and it continues to boot. I am able to read F13's home mounted on /media/homefedora when I am in Debian.
during cryptsetup luksOpen). If you do not want to use a passphrase then you will need to create a luks key and add it to your encrypted partition. Then you should be able to use the key to mount without being prompted. Defeats the purpose of needing external authentication though unless you have the key on a USB drive or something else that is protected.
I have started with encrypted partitions only yesterday when I installed F13. So this encrypted hard disk stuff is all new to me. I appreciate your comments. I will look into using a USB flash memory to store my keys. I agree regarding the disadvantage of having the keys on the hard disk itself though.
Thanks, sincerely.