Ubuntu :: Optimally Mount Truecrypt At Startup?
Dec 31, 2010
i want to use this line:
[code]...
to mount my volume at start up. it prompts for my truecrypt password(TCP) to open my files. so far i can put it in in the "Startup applications" but it needs root rights.. so it prompts for my root password and then again for my TCP. id like it to only ask for my TCP. i tried just putting the command and then also putting the command in a bash script and calling it from there.
View 1 Replies
ADVERTISEMENT
Aug 17, 2010
I have been using truecrypt to mount a partition on my computer for a few months now. Yesterday I tried to access it and it failed, with the following error:" mount: you must specify the filesystem type "
When creating the partition, the filesystem type was set to ext2. Apart from yesterday, I have not accessed this partition for a number of days now, and have done nothing to the operating in system in the ways of changing settings and such for a good week.
View 3 Replies
View Related
Nov 6, 2010
I use truecrypt to encrypt a file containing my sensitive data (credit card numbers, bank account info, etc).
When I mount my encrypted file through truecrypt, I enter the password for my file. That's OK - I want to keep it that way. But when it gets mounted as a file system, ubuntu also requires that I enter the 'su' password.
How do I get around this?
I run ubuntu 10.04 (Lucid)
View 4 Replies
View Related
Oct 29, 2009
using Debian Testing and installed Truecrypt using the deb package from truecrypt website meant for ubuntu. The installation is okay.
Started Truecrypt
-> selected the file to mount,
-> entered the correct password
then Truecrypt asked for the USER or ADMIN password. Enter either password brings me back to the same input screen asking for USER or ADMIN for password.
View 1 Replies
View Related
Feb 9, 2010
I have a 2nd hard drive that I have encrypted using true crypt. Is it possible to set this up with key files (or some other way) to auto mount when linux boots. I need it in true crypt because there are some work programs I dual boot to use in windows, and need to have access to the drive in XP from time to time, and true crypt can mount there as well. But 90+% of my time is in linux and I would like to have it auto mount through fstab (or whatever way it needs to be). My entire linux setup has been set up with encryption through dm crypt and LUKS (except for /boot). So I would think having a key file stored on the computer and an auto mount fstab would be just as secure as however secure my LUKS setup is. So any way to auto mount a true crypt 2nd drive volume?
View 3 Replies
View Related
Jul 16, 2011
I have a dd image of a full drive (as a file) that was using Truecrypt system encryption under windows. I want to mount the main partition from that image using Linux's Truecrypt. I am familiar with dd loopback devices and have the partition offset, but I don't know how I can mount it like this because I need to use the truecrypt command.
Is there perhaps some way to create a fake device file for the disk image that I can mount from within Truecrypt?
View 1 Replies
View Related
May 17, 2010
I found a way some times ago to mount a truecrypt volume when opening the session by insertion of the login password in the mounting script instead of putting it in clear in the script. I don't remember to command to read/transfer the password.
View 2 Replies
View Related
Dec 15, 2010
I have two questions regarding auto mount function of Truecrypt. First question:
I want to automatically mount my flash drive encrypted by Truecrypt using a keyfile whenever I plug the drive. How can I do this? I use Ubuntu 10.10.
Second question:
As I do not know the answer of my first question, I currently use following command in a startup script to mount my encrypted flash drive automatically at every system start-up.
Quote:
/usr/bin/truecrypt -k ~/keyfile --auto-mount=favorites
My problem with this method is, Truecrypt always search for the drive in the same path saved in favorite drives list, e.g. /dev/sdb1. However sometimes there are more than one flash drive plugged to my computer and my encrypted drive's path changes. In such cases Truecrypt cannot mount my encrypted drive because it cannot find the drive in its path.
As a workaround I tried "auto-mount=devices" parameter. It is slow because it checks every mounted drive, and some of them external hard disk big in size. Moreover it does not recognize any mount point parameter. I'd like to mount the drive to the same mount point every time.
Quote:
/usr/bin/truecrypt -t --auto-mount=devices -p "" -k ~/keyfile /media/MyMountPoint
The command above mounts the drive however it is slow and to the destination of "/media/treucrypt1".
View 3 Replies
View Related
Feb 28, 2011
I have created a TrueCrypt volume, mounted it in Windows, and created an image file for my OS partition using Macrium Reflect (free version). I made a Rescue CD for Macrium, and the setup works great on unencrypted files, but I have no way to mount the TrueCrypt volume, while booted to the Macruim rescue CD. I have Puppy Linux 4.3.1 on a CD, and can boot to it. I'm a beginner's beginner, however, and I haven't figured out how to install TrueCrypt with Puppy Linux running. Getting the Macrium recovery program to run with the TrueCrypt volume mounted looks even more complicated, and I don't know if it's even possible. I want to be able to recover my laptop from a drive failure, as well as protect my OS from bad programs or malware. Macrium reflect does this job well, because it:
1. is free
2. only writes the used space of the system partition to the image file, and also compresses the data, resulting in a relatively small file. (~ 50 percent of the used space on the OS partition)
3. retains drive alignment for a pre-aligned partition.
However, I wish to keep my backup partitions encrypted to protect my privacy. TrueCrypt does an excellent job of this because it:
1. is free
2. encrypts the OS and all data on the computer.
3. protects all backup data.
I like the fact that Puppy Linux can be loaded into memory, so I only need to boot from removable media to work on my OS partition. I understand there is a portable Ubuntu OS, and perhaps this would be a better platform for my goal? Is there a way to combine Linux on removable media, with Macrium Reflect, and recover an image from a TrueCrypt volume?
View 5 Replies
View Related
Jan 14, 2011
I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?
View 2 Replies
View Related
Apr 1, 2011
I have an Ubuntu 10.04 machine at home and apache setup on it (files are located in a Truecrypt volume). The reason for the web server being that I wanted to access my files wherever I'm at (i.e. hotel, work, hotspots, etc...). So far, it's worked out great for me seeing as a I can http download my files (or stream media files). However, I am often on a public hotspot and I know it's a matter of time before someone finds the webserver on my computer. I have the machine firewalled and password protected (via .htaccess), but either way I don't want people looking in on my computer.
The problem: I have used Truecrypt for a long time and completely trust using the program to encrypt/unencrypt a volume container to store my files. Usually, I would remote desktop into my computer and mount/unmount the volume when I needed it. However, after time it get's really annoying to do this. So I eventually figured out how to setup a bash script to automatically do this for me (which I put on the usb part of my phone). What I wanted to do was to be able send the bash script to my Ubuntu machine (via ftp from my phone) and have Ubuntu automatically run the script. Is this possible? What programs do I need on Ubuntu?
I was thinking about using something like cron, but that is for scheduled times. I don't really have a set time in which I need my files, it's pretty sporadic depending on how much I travel. Thus the need for being able to remotely mount the volume when I need it.
Summary: I need a way for Ubuntu to read a folder every minute or so to check for bash scripts to run. I want to be able to send the bash script via ftp from my phone, have Ubuntu run the script, then delete itself (so as to not store the password). I already know the script in which to mount the Truecrypt volume and how to send the file via ftp from my phone. It's really a matter of what program to use in Ubuntu to find and run the script.
View 8 Replies
View Related
Aug 10, 2010
Installed Truecrypt onto openSUSE 11.3 (KDE) and noticed that Truecrypt needed to be started as root.Modified visudo using YAST asusername ALL = NOPASSWD: /usr/bin/truecryptHowever, when copying files from my backup drive into the Truecrypt partition, there is an access problem (couldn't remember actual error message)In Konsole , updated visudo to username ALL = (ALL) NOPASSWD: /usr/bin/truecrypt Copying is allowed and working fine.Question:1. What is the difference between the above two visudo setting?2. How to updated visudo to the second setting in YAST?3. How to change the editor for visudo in konsole using nano instead of vi?
View 1 Replies
View Related
Mar 18, 2011
I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.
View 4 Replies
View Related
Feb 25, 2010
I just bought a DLink 323. I have fun_plug installed and ssh enabled, and it works great.I am having trouble mounting the NAS to an actual location (i.e. /mnt/dlink) I've added the following line to /etc/fstab.
View 4 Replies
View Related
Feb 3, 2011
I want to have a secondary hard drive mount at boot, mainly because it happens to be the home drive. But I have to manually mount it after I boot.
Any way to get "places" to mount on startup under 10.10?
View 2 Replies
View Related
Jan 13, 2011
how to set auto mount at startup. I have 3 partition how can i auto mount this partition at startup.
View 7 Replies
View Related
Feb 21, 2011
After reformatting a usb drive with gparted, no usb stick will automount when I plug it in anymore. If the usb is in place at startup, however, it is recognized and mounted.The media will show up in fdisk and disk utility, but there is no link to it in Places > Computer. I have no trouble manually mounting, but I would rather not have to go through the hassle each time I plug in my flash stick. I am running Ubuntu 10.10 64bit
View 1 Replies
View Related
May 18, 2010
Just installed my first ever linux distro in my life and sad that i did not come here before. Anyways i have a WD Green 1TB External HDD. I have Ubuntu 10.04 Lucid Lynx Installed and i want it to mount my HDD as soon as my PC starts up.Quick Q: How much time does it take for any USB device to get recognized on ubuntu. Takes me more than 2 minutes compared to a few seconds on my windows i had before (same machine)
View 9 Replies
View Related
Jun 6, 2010
i would like to have all my ntfs drives mount @ start up here is the command im currently useing sudo mount -t ntfs-3g /dev/sdc1 /media/D -o forcei have made the folders D E F etc now i know that the command for starting restarting and stoping samba changed in 10.04 so did something change with mounting ntfs drives
View 1 Replies
View Related
Jun 17, 2010
I use this command to mount sshfs:sshfs -o idmap=user user@ip:/home/user/public_html ~/FolderThen I enter my password. I do this every time I start my computer
View 3 Replies
View Related
Jun 17, 2010
how would i mount mapped linux (ntfs drives) when ubuntu starts
View 2 Replies
View Related
Jul 18, 2010
I am running 64bit ubuntu 10.04. I have an nvidia software raid formatted with ntfs. The raid only mounts about every 10-15 boots. It is completely random on when it will mount. I even have included "force" in the ntfs-3g mount options.
Also, possibly related, many times ubuntu will not even load unless I load windows first and then restart. I run Ubuntu on its own partition using ext3, so this makes no sense.... It makes me scared to run a computer with only Ubuntu because it seems Ubuntu cannot load unless window loads before it! I could understand this if Ubuntu was formatted as NTFS, but the only NTFS drive Ubuntu sees is the raid, which is not mounting anyways, so why is it dropping to the command prompt?
View 5 Replies
View Related
Jul 20, 2010
i did it to mount my hd in the startup but id didnt work, so i want to undo it, and if somebody can tell how to make my hd to be mounted since the startup
[Code]...
View 5 Replies
View Related
Nov 8, 2010
I work at a school where we are experimenting with Ubuntu 10.10. On our Windows machines, when the users sign in, their "U:" drive automatically mounts up so that can access their network shared storage. Is there a way to set this up in Linux so it automounts, rather than them have to go and find it out on the network every time?
View 2 Replies
View Related
Dec 28, 2010
I've been trying to unsuccessfully auto-mount my drives when starting up. I've made a script that sets me to the root using "sudo -s" and then mounts the drives. The commands to mount the drives work properly when entered into the command line, but when I try running them from an executable, they don't work. What might I be missing?
View 2 Replies
View Related
Jul 28, 2011
I was trying to automount a few NTFS partitions last night. Upon reboot, I got the following error messages.
/device/sda2 ... is not ready or present
/device/sdc2 ... is not ready or present
Then Ubuntu just freezes. I am using Ubuntu Natty, if that helps. I am currently unable to get into Ubuntu without a LiveCD.
View 1 Replies
View Related
Jan 14, 2010
Recently installed some minor software, some games and Ubuntu Tweak, I am not sure if that's what caused this issue or not. I shutdown after the installations, then when I tried to start back up the small, white ubuntu logo appears just like it normally does, then it just goes to a black screen. I turned off the computer and restarted in (Recovery Mode). It goes about its thing then it says it is waiting for root file system, then after about 30 seconds it says "Gave up waiting for Root File System" how to fix this without reinstalling?
View 2 Replies
View Related
Jun 2, 2010
I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.
View 2 Replies
View Related
Aug 1, 2011
my "places menu" references folders on a second partion, where I store all my personal files (ntfs, as I use it also from Windows). After boot those folders wouldn't show in Thunar. Some other programs, as Fontmatrix, wouldn't find databases stored there, what messes them up. Thunderbird has problems to recognize profiles etc.What is strange, the partition seems to be mounted at startup as I can see and select it from Thunar. Also, it appears on Desktop. After selecting the partition, closing and reopening Thunar everything works fine, places would show correctly and Fontmatrix database is ok
View 2 Replies
View Related
Jan 14, 2010
Last night there was a rather large thunderstorm, and my computer was on at the time. The power went out while my computer was on, and now it won't boot up. After the GRUB screen, a white message at the bottom of the normal loading screen says somthing along the lines of "a partition listed in /etc/fstab cannot be mounted /dev/disk/by-uuid/6835blahblahblah". I chose recovery mode from the grub menu, which gave me a similar message.
Quote:
One or more mounts listed in /etc/fstab cannot yet be mounted: (ESC for recovery shell) /home waiting for /dev/disk/by-uuid/8bl I've googled around a fair bit, but people who got the same message were mainly those upgrading to Karmic, so a different problem. I think my problem was the fact that my computer was turned off possibly while writing and definitely without being unmounted.
So far I have tried changing /etc/fstab to refer to /etc/sda5 instead of UUID=68blahblah, but that came up with the same error. I have looked inside the /dev/disk/by-uuid and the disk that is trying to be mounted is there (so it's not a problem with that).
View 2 Replies
View Related