Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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/
share|improve this question
I've been wondering how to do this too! – tommed Oct 15 '10 at 8:47

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
Although this does not set the encrypted volume label, this is a good alternative that achieves the same result. Thanks! :-) – invert Oct 21 '10 at 8:12

Those answers are wrong! Use e2label (if you have ext3/4 on it): sudo e2label /dev/disk/by-id/dm-name-truecrypt1 newname -- the id might vary of course.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.