LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2010, 09:28 PM   #1
Lincthra
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu 9.10
Posts: 18

Rep: Reputation: 0
Truecrypt/NTFS/Odd mount error


I have an external 750 gig USB Drive which is device encrypted with Truecrypt (Originally encrypted in Windows, but I have since made the transition to Ubuntu).

I am now on Ubuntu 9.10. Truecrypt 5.1a is installed. NTFS-3g is installed.

If I mount the device using the GUI, everything goes just fine and the device is read/write. If I mount using the commandline without the --filesystem=ntfs-3g tag, it mounts, but in read only. If I attempt to mount WITH the --filesystem=ntfs-3g tag. I get an error claiming that there is no NTFS signiture.

Now, I want this to mount at boot and do not mind the password being 'unsecure' at the moment. I have tried using a bash script, but that of course results in the ntfs signiture error. I have considered running some sort of macro on startup, but Gnee/Knee/Xnee doesn't seem to work as I keep getting recorder errors.

Does anyone have any suggestions?
 
Old 04-16-2010, 09:51 AM   #2
everest40
Member
 
Registered: Jul 2008
Distribution: Ubuntu $LATESTVERSION
Posts: 168

Rep: Reputation: 68
You might try upgrading to the latest version of TrueCrypt, which I believe is 6.3a now. Aside from that I've got no ideas.
 
Old 04-16-2010, 04:17 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Just a few thoughts:
Could you list the exact command line (what you actually typed)) you are using? It might help diagnose the problem.
Have you run any ntfs diagnostics on the filesystem after it is mounted by the GUI? Ntfs-3g seems pickier than the kernel's default ntfs driver...
 
Old 04-16-2010, 07:40 PM   #4
Lincthra
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu 9.10
Posts: 18

Original Poster
Rep: Reputation: 0
truecrypt -t --protect-hidden=no --filesystem='ntfs-3g' --mount /dev/sdb1 -k ~/keyfilefile.txt --slot=13 -p 'mypasswdhere' /media/truecrypt13

I have tried with/out -t, with/out protect-hidden with/out filesystem, with/out slot, with/out mount location. As user and as root after a sudo bash.

Truecrypt 6.3a won't open for me.

I haven't run any NTFS diags with it running. I've never actually done that in 'nix and will have to research it.

A thought, what file system does the GUI use? If it were the default kernel one, I'd think it would mount as read only like the command line does....
 
Old 04-16-2010, 11:43 PM   #5
Lincthra
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu 9.10
Posts: 18

Original Poster
Rep: Reputation: 0
Self-solve.

For some reason, being under 'sudo bash' isn't good enough. I have to su my username and THEN run my truecrypt mount command line. That way it seems to work.

Thanks for your help guys!

EDIT: Upon finding this being the problem, I discovered the sudoers file and now can run my mount script at boot without having to do any keystroke entry. All I wanted was to mount my drive for my Home Theater XBMC box!

Last edited by Lincthra; 04-17-2010 at 12:28 AM. Reason: Add'l Info
 
  


Reply


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
Unable to mount truecrypt michalng Debian 1 10-29-2009 08:35 AM
Truecrypt NTFS filesystem mounting read only in Incognito Esop Incognito 5 07-28-2009 01:53 PM
error mount NTFS after Update amdawi Linux - Desktop 5 01-21-2008 07:50 AM
Trying to get captive-ntfs to work, get an error when trying to mount EOHooligan Linux - General 1 06-09-2005 06:23 AM
RH 9.0 Kernel 2.4.20-8 Mount (NTFS error) x86br Linux - Software 2 04-07-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 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