Author Topic: 2010pclos truecrypt dismount cli <SOLVED>  (Read 3498 times)

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
2010pclos truecrypt dismount cli <SOLVED>
« on: July 10, 2010, 09:57:22 AM »
I found out I could not use my truecrypt script files (created and working in pclos2009) for truecrypt in pclos2010. I was able to fix them so I could launch and run them from the cli (terminal) but I can't unmount the volumes when I'm done.

I came across this thread that explains how to get them to unmount. It works, but you are forced to use the gui.
http://linuxgator.org/forums/viewtopic.php?p=14336&sid=45f25d15c11db28dd705e099f5893b09

I tried "umount" and it does unmount the volume in linux, but truecrypt thinks its still mounted. I had to reboot to get out of that mess. LOL.

Would be nice to get a CLI command that works. Has anyone came across one?

« Last Edit: July 10, 2010, 03:32:22 PM by docnascar »
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11589
  • ----IOFLU----
Re: 2010pclos truecrypt dismount cli
« Reply #1 on: July 10, 2010, 10:06:30 AM »
I found out I could not use my truecrypt script files (created and working in pclos2009) for truecrypt in pclos2010. I was able to fix them so I could launch and run them from the cli (terminal) but I can't unmount the volumes when I'm done.

I came across this thread that explains how to get them to unmount. It works, but you are forced to use the gui.
http://linuxgator.org/forums/viewtopic.php?p=14336&sid=45f25d15c11db28dd705e099f5893b09

I tried "umount" and it does unmount the volume in linux, but truecrypt thinks its still mounted. I had to reboot to get out of that mess. LOL.

Would be nice to get a CLI command that works. Has anyone came across one?




Does truecrypt -d no longer work?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: 2010pclos truecrypt dismount cli
« Reply #2 on: July 10, 2010, 10:09:25 AM »
nope

you get an error:
device-mapper: remove ioctl failed: Device or resource busy
Command failed
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: 2010pclos truecrypt dismount cli
« Reply #3 on: July 10, 2010, 11:27:46 AM »
docnascar,

I had that problem for some time (up to about 6 weeks ago), but it's okay now. I usually just wait for a minute or two, then unmount the volume either by right-clicking the icon or with a truecrypt -d. If I try to unmount immediately after closing the affected application, I get the same error message ("Device or resource busy").

When I had the problems I used a script that contains this:

Code: [Select]
su -c 'umount /media/truecrypt9 && truecrypt -d && rm -rf /tmp/.truecrypt_aux_mnt1/'
Entered my root password and all was well. But, as I said, that's no longer necessary.

Hopefully simply waiting for a minute and then unmounting will solve your problem.

Torsten
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: 2010pclos truecrypt dismount cli
« Reply #4 on: July 10, 2010, 02:27:26 PM »
Thanks. I think that is working. I want to play a little more.

How do I get the terminal to stay open when running the script from the desktop via an executable icon? It runs in the background and I can't see what it is doing.
« Last Edit: July 10, 2010, 02:55:12 PM by docnascar »
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: 2010pclos truecrypt dismount cli
« Reply #5 on: July 10, 2010, 03:32:01 PM »
tschommer,

I tried the wait thing but had no luck.

Your command worked for me, thanks!

Also, I figured out how to make my scripts show in the window. I just created a shortcut to them and had them run in terminal.

 ;D
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: 2010pclos truecrypt dismount cli <SOLVED>
« Reply #6 on: July 10, 2010, 10:25:05 PM »
docnascar,

good to hear that the command works for you. When I was having my issues with Truecrypt, I found several discussions about the problem on various boards.

Just so you know that you're not alone  :D

Torsten
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois