1

I have a Truecrypt-encrypted drive that I want to install as a 2nd drive.

However, I'm afraid that a family member who uses my computer might accidentally format my Truecrypt-encrypted drive (and erasing everything in it).

So my question is, is it possible to accidentally format such a drive in Nautilus? Or is launching and using Disk Utility the only way to format such a drive?

In Windows, a Truecrypt-encrypted drive shows up as an un-formatted drive in Windows Explorer, so it's just one-click away from an accidental format. To keep it safe, I had to remove the drive letter in Disk Management.

Any help is appreciated. Ubuntu newbie here. :)

1

The only way to format the drive that is installed by default is the Disk Utility, or with the liveCD/USB but accidental formatting should not be possible. It cannot be done via Nautilus.

Disk Utility needs root privileges to make any changes so while you can get info on the disks and partitions, it cannot do anything else without a password. So if they have your administrator password the could reformat the drive but not with just a casual keystroke, they would have to

  1. select the drive and then
  2. select the option to reformat
  3. select the file-system to reformat to
  4. confirm and then enter your password....

When booting form the liveCD there is no password needed but to reformat they would first have to boot into the livedCD and then follow all the steps above minus the password. So it could be done intentionally but not accidentally.

If you don't want them to have the password you could set them up a limited user account and then they would not be able to use any sudo commands, or setup your account to login without a password, (highly discouraged if this is a laptop in case of temporary loss). Slightly less secure if it's a desktop but anyone that has the computer in his possession and has a little know how can reset your password anyway....(can be done on Windows as well)

The fact that it is encrypted and by not be readable by Ubuntu makes no difference, the Disk Utility will behave the same.... the encrypted partition should just be listed as "unknown "

If you want you can remove the Disk Utility from the Software Center, and reinstall it if needed later; may be needed to erase a USB key or other drive but will not work on mounted drives so if you need to reformat you main drive you will need to use the liveCD/USB anyhow.

  • Thanks for the reply. It looks like everything will be safe then. :) – user163216 May 31 '13 at 1:24
  • Yes I think you will be fine. Welcome to Ubuntu and the world of Linux, you may never go back... – TrailRider May 31 '13 at 4:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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