Dáire Fagan
December 15th, 2018, 07:44 PM
I have an crypto_LUKS volume on sdb1, and I can mount it fine, but it mounts to /media/username/longUUIDcode which is messy.
Can I edit /etc/fstab in such a way, that when I manually access and unencrypt this disk from Nautilus (which works fine), that it will neatly mount to either /media/mountname /mnt/mountname?
I got the UUID with sudo blkid, mkdir /media/.net, and then added the following line to fstab, but I could not boot after this so I commented it out so I could log back in:
UUID=longUUIDcode /media/.net ext4 defaults 0 1
Just to be clear, I would not like this volume automounted on boot - only when I manually mount it via nautilus, I would like it to mount to somewhere like /media/mountname.
Also, when it is mounted, I am unable to create any files, is there a command to correct ownership please?
Can I edit /etc/fstab in such a way, that when I manually access and unencrypt this disk from Nautilus (which works fine), that it will neatly mount to either /media/mountname /mnt/mountname?
I got the UUID with sudo blkid, mkdir /media/.net, and then added the following line to fstab, but I could not boot after this so I commented it out so I could log back in:
UUID=longUUIDcode /media/.net ext4 defaults 0 1
Just to be clear, I would not like this volume automounted on boot - only when I manually mount it via nautilus, I would like it to mount to somewhere like /media/mountname.
Also, when it is mounted, I am unable to create any files, is there a command to correct ownership please?