Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.