I used to have an encrypted partition, setup via YaST, which was automatically mounted at boot time after a password prompt. Yesterday, I upgraded via installation DVD from OpenSuSE 11.0 to 11.1. Now there is no password prompt anymore, and the partition does not get mounted. I tried to mount it manually, but there is neither a “/etc/cryptotab” nor a “/etc/crypttab” on my system anymore. How can that be?
The partition appears to be still present (/dev/sda3), but I just don’t know how to mount it. All I know from this partition is that I created it by using the “encrypt file system” checkbox in YaST/System/Partitioner either under 11.0 or 10.3.
Does anybody knows how to mount it? Any help would be very much appreciated…
I am going to tag along on this thread since the solution is probably the same for both of us.
The difference in my case is I have an external hard drive where I backed up everything before doing a new install of opensuse 11.1. I was expecting to be able to copy all of my home directory stuff back including my .evolution backup to my home directory from the encrypted external hard drive. However, during the installation process I was not offered the option of having the partition encrypted without formatting it. Kinda negates the backing up thing if I was to do that. :\ As a matter of fact, I had to uncheck the box to mount the partition to finish the installation.
You only have to use one line, but you will have to edit it to match your particular situation. If you run the disk partititioner under yast, you can drill down to find your partition to get the disk id.
In my case, after I added this line to my crypttab file and ran the disk partitioner. I had to select “Format Partition” to check the “Encrypt file system” checkbox. Then I select “Do not format partition” to not format it and the checkbox stayed check. When I clicked “Next” and “finish” i had not errors and the partition was mounted. Oddly, there was no change in my fstab file. Since my home directory is also encrypted. I expected to find a line similar to it. I will let you know what happens when I reboot.