/etc/crypttab not working
Posted
by
Jeremy Stein
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Jeremy Stein
Published on 2010-10-11T03:19:08Z
Indexed on
2012/10/04
21:54 UTC
Read the original article
Hit count: 221
10.04
|encryption
I used the Disk Utility to create an encrypted volume on an external drive. When I click the Unlock Volume button in that program, it mounts the drive for me.
Now, I want to automate this process so that it will happen at boot-up.
When I run sudo cryptsetup luksUUID /dev/sdb1
, I get this:
ca709269-1e3e-4e9e-9e08-7248f0e6c5a6
So, I create /etc/crypttab
like this:
backup_drive UUID=ca709269-1e3e-4e9e-9e08-7248f0e6c5a6 none
And I added this line to /etc/fstab
:
/dev/mapper/backup_drive /mnt/backup ext3 default 0 2
When I reboot, Ubuntu tells me that the device is not available to map, so I tell it to skip it. It appears that the /etc/crypttab
is not getting run correctly.
How can I debug this?
© Ask Ubuntu or respective owner