LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-06-2007, 04:45 PM   #1
a__l__a__n
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Unmounting truecrypt volumes during shutdown


Under ubuntu 7.10, I have created a truecrypt volume in a file which I mount under ~/data and which holds my .mozilla-thunderbird, .ssh, .gnupg, etc. In my home directory I have created symbolic links to the .mozilla-thunderbird (etc) folders so everything "just works" after mounting the truecrypt volume.

My home directory is in a separate partition. If I forget to unmount the truecrypt volume before shutting down, on the next boot it complains that my home partition was not cleanly dismounted, and performs a filesystem check during boot. I can try to always remember that manual step during shutdown, but -- hey -- this is a computer! I want the machine to remember, because sometimes I don't.

I've created a truecrypt script in /etc/init.d and linked it as K02truecrypt in my /etc/rc* folders in an attempt to be sure the truecrypt volume gets dismounted. It works beautifully when I test it from a command line:

sudo /etc/init.d/truecrypt stop

results in "truecrypt -d" and the truecrypt volume is dismounted. But apparently during a shutdown, it does not dismount the truecrypt volume in time to allow the separate home volume to be dismounted, so I still
get the complaint on the next boot cycle about home not being cleanly dismounted.

Any ideas or guidance about how to fix this?
 
  


Reply

Tags
runlevels, truecrypt, ubuntu


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
truecrypt and SLED 10 anurnberg Suse/Novell 6 05-16-2008 03:22 PM
Problems with truecrypt Cereal765 Linux - Software 4 03-13-2007 02:59 PM
Shutdown on Mandrake 10.1 Unmounting Stalls ']['HeBroken Mandriva 2 12-10-2004 05:59 PM
reiserfs not unmounting during shutdown bardinjw Debian 4 12-08-2004 10:23 AM
Mandrake 7.2, unmounting floppy during shutdown Secret Agent X2 Linux - Laptop and Netbook 2 09-04-2004 10:34 PM


All times are GMT -5. The time now is 06:31 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration