I use a USB disk to backup my Ubuntu machine and store the video files I work with. It is formated to ext4 and uses LUKS encription. When I was using 12.04 it was working flawlessly and would mount automatically in every reboot. I just had to enter the passworkd once in a window where I also told the system to remember it forever.
It no longer mounts after I upgraded to 12.10. I've tried the different UUID
and the /dev/mapper
in /etc/fstab
but it never gets to work at startup. I get the error that the drive failed to mount and offers me to mount it manually or skip. It may be related to a change in the way disks are mounted in 12.10, where I found that in the /media
folder there's now a subfolder for my user and then the disks mount in their own subfolders within that one.
I've managed to make my current fstab setup work after boot but only after first mounting the drive via the app Disks, after I enter the password there.
If I don't go through that first I get an error message telling me that the disk does not exist. In these pastes from the terminal you can see the difference in blkid
after I used the Disks workaround:
ramon@ramon-ldc-20120921:~$ sudo mount /media/ramon/Respaldo/
[sudo] password for ramon:
mount: special device UUID=34241b59-8d65-4e8a-bda4-ef4ab6935eb3 does not exist
ramon@ramon-ldc-20120921:~$ sudo blkid
/dev/sda1: UUID="71acf30d-abe7-41f1-b678-e9d5db5fa04f" TYPE="ext4"
/dev/sda5: UUID="944dde6d-6232-4b96-b347-4d3dff2994f3" TYPE="ext4"
/dev/sdb1: UUID="841e796b-e384-4b83-9432-10fa0d863600" TYPE="crypto_LUKS"
Here I used the Disks app to mount the disk:
ramon@ramon-ldc-20120921:~$ sudo blkid
/dev/sda1: UUID="71acf30d-abe7-41f1-b678-e9d5db5fa04f" TYPE="ext4"
/dev/sda5: UUID="944dde6d-6232-4b96-b347-4d3dff2994f3" TYPE="ext4"
/dev/sdb1: UUID="841e796b-e384-4b83-9432-10fa0d863600" TYPE="crypto_LUKS"
/dev/mapper/luks-841e796b-e384-4b83-9432-10fa0d863600: LABEL="Respaldo" UUID="34241b59-8d65-4e8a-bda4-ef4ab6935eb3" TYPE="ext4"
This is the line I have right now in my /etc/fstab
:
UUID=34241b59-8d65-4e8a-bda4-ef4ab6935eb3 /media/ramon/Respaldo ext4 defaults 0 2
I've already done some research and have not found an answer here in AskUbuntu nor elsewhere. I even tried with a couple programmers that use Ubuntu in my coworking space, but they've never faced such issues before and all we could get to do is what I've shared here.
What I want is that the disk automounts everytime I boot the computer.
Thanks to all for your help and for spending your valuable time going through this post.
encfs
help.ubuntu.com/community/… Will test and let you know if it worksgnome-encfs-manager