LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 142Reputation: 142
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:
Code:
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.
Code:
# 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
affinity
Member
 
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
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 142Reputation: 142
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:
Code:
sudo truecrypt --mount --password=MYPASS --mount-options=system --filesystem=ntfs-3g --fs-options=umask=000 /dev/sda4 /mnt/windows
Solved

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:55 AM.

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