View Full Version : [ubuntu] cryptsetup map doesn't stick

October 6th, 2009, 05:36 AM
I've got an encrypted partition that I have setup to auto mount on login with pam-mount when I boot into Hardy. I did a fresh install of Karmic and I can't get the mapping to the encrypted partition to stick, so it won't automount on login.

When I run
sudo cryptsetup luksOpen /dev/sda3 sda3, this creates a /dev/mapper/sda3 entry that I can mount. I only ever ran this once in my Hardy install and the /dev/mapper/sda3 entry stays there from boot to boot (still there even now and working fine). However, when I run this in Karmic, and then reboot, the entry disappears and I have to manually re-run the command to get it back.

Anybody have any idea what's going on?

October 6th, 2009, 03:13 PM