Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-12-2010, 02:07 PM   #1
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 138Reputation: 138
Can't write to encrypted Windows partition (truecrypt)

My Windows partition is using system encryption (preboot authentication) and I'm trying to access it in Linux.

I run this command:
sudo truecrypt --mount --password="MYPASSWORD" --mount-options="system" --fs-options="umask=000" /dev/sda4 /mnt/windows
The partition mounts fine, but I can't write to it.
# touch /mnt/windows/test
touch: cannot touch `/mnt/windows/test': Permission denied
Any ideas?

Last edited by piratesmack; 01-12-2010 at 09:31 PM.
Old 01-12-2010, 02:51 PM   #2
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
The TrueCrypt documentation has some information on mounting your drives from another operating system. (that link goes to the relevant section) I would check your settings against those listed options, mainly the second to last one "Mount partition using system encryption without pre-boot authentication". If those settings are correct I would try using the Linux TrueCrypt software to mount the Windows drive and if you are able to read/write the files you can try and replicate the settings in your mount command.

Edit: Also, have you tried creating the file as root? (not just mounting with the root command)
Old 01-12-2010, 09:30 PM   #3
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 138Reputation: 138
Thanks for the reply.

I had to specify the filesystem with "--filesystem=ntfs-3g"
I guess that's needed for the "--fs-options" to work.

So the full command I used was:
sudo truecrypt --mount --password=MYPASS --mount-options=system --filesystem=ntfs-3g --fs-options=umask=000 /dev/sda4 /mnt/windows

Last edited by piratesmack; 01-12-2010 at 09:41 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypted remove backup with truecrypt browny_amiga Linux - General 1 09-03-2009 11:43 PM
Encrypted data backup w/truecrypt Roflcopter Linux - Security 1 04-12-2009 05:41 AM
Truecrypt encrypted USB drive on Linux irairaira Linux - Newbie 9 01-09-2009 01:09 AM
Encrypted Ubuntu with TrueCrypt penguinHugger Linux - General 5 12-19-2008 03:08 PM
cannot write to windows partition jinujose Linux - Newbie 6 08-23-2003 10:47 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration