When I mount the Truecrypt file on my USB drive it shows up as truecrypt1.
The volume is FAT, using mtools to rename a volume label involves e2label /dev/sdbx
, however truecrypt1 does not map to a physical partition. fdisk -l
does not show the volume partition (only the physical USB device), and df -h
lists the volume path as /dev/mapper/truecrypt1
.
Finally, using the Nautilus 'Rename' context action, gives the error: "Sorry, could not rename "truecrypt1" to "towel": Operation not supported by backend".
Apparently this can be done in Win, but how can I rename this volume in Ubuntu?
As Nicolas said, specifying the mount point names the partition the same. The truecrypt GUI does not remember the mount point I set, so I specify the mount points in a script which I placed in my main menu.
#!/bin/bash
gksudo truecrypt /media/usbdrive/encryptedfile /media/securedata/
The prior solutions did not work if you have ext3/4 volumes. This is a solution for that case:
Find the ID (bolded above) for the volume of interest. Your location WILL be different!
Again, make sure you use YOUR drive information.
You need to create a mount point in order to do what you want. If I want my truecrypt1 volume to show up as "Private", I'll create a "Private" mountpoint with
sudo mkdir /media/Private
Then launch Truecrypt, select my encrypted drive and when I click on "Mount" I'm asked for my password and I can click "Option" to select my custom mount point. Voilà, it's done.