Slackware :: Automount Encrypted Windows Partition - Truecrypt
Jan 12, 2010
I'm trying to automount my encrypted Windows partition in Slackware-Current.
With help from the Gentoo wiki, I came up with this script:
Code:
Then I added this to my fstab:
Code:
I get this error when I try to mount my partition (as root):
Code:
Error: Unable to initialize gtk, is DISPLAY set properly?
But if I run my script like this (exactly how mount runs it), it works fine:
Code:
New script
Code:
View 2 Replies
ADVERTISEMENT
Jan 12, 2010
My Windows partition is using system encryption (preboot authentication) and I'm trying to access it in Linux.I run this command:
Code:
sudo truecrypt --mount --password="MYPASSWORD" --mount-options="system" --fs-options="umask=000" /dev/sda4 /mnt/windows
[code]...
View 2 Replies
View Related
Aug 30, 2010
I have encrypted a partition while installing Fedora 13, and I need to disable its automount - I will mount those manually.
But even though I commented out the corresponding line in /etc/fstab, I am still asked for the passphrase for the partition at startup.
How to completely disable this behaviour - and how to mount the partition manually afterwards?
View 5 Replies
View Related
Jul 24, 2011
First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.
View 4 Replies
View Related
Oct 29, 2009
How can I get a LUKS encrypted partition on an external USB device automounted with r/w access for non-privileged users?
Background:
I just reformatted an external USB device with ext4. The only partition is LUKS encrypted. Now, when I plug the device to my computer, KDE notifies me and asks me to enter the LUKS passphrase. Then it mounts the device. Little snag here: Non-privileged users have read-only access.
My user is a member of group plugdev, but not of group disk, as this was discouraged several times, e. g. by Robby Workman. With non-encrypted disks regular users have read/write access, or can change the filemodes accordingly, as far as I recall (currently I have no more non-encrypted disks left to verify it...)
View 11 Replies
View Related
Feb 8, 2010
I installed Storage Device Manager and can't automount my Windows 7 partition. It doesn't show up in Storage Device Manager. When I mount the partition, it comes up as /media/286CC2A6397A0F2A instead of sda# like normal drives.
View 9 Replies
View Related
Dec 29, 2010
How do I create a Truecrypt volume that will automount on bootup?
View 3 Replies
View Related
May 9, 2011
I'm using Debian Squeeze XFCE along with Windows 7 as dual boot on my notebook. I want to access my Windows 7 partitions from Debian for both reading and writing. I was a Ubuntu user in which the Windows partitions were visible by default. I want to know how to mount the drives used by Windows 7 automatically on startup.
View 4 Replies
View Related
May 11, 2015
There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)
I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.
Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.
To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount
The name of the file must match the mount point -- in this case, /media/windows
My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:
[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target
The file ownership must be root.root. Apparently it doesn't need to be executable.
After creating, enable with:
sudo systemctl enable media-windows.mount
and it will mount on the next boot.
I read elsewhere that the before running the enable command you should run a start command:
sudo systemctl start media-windows.mount
but that didn't work for me.
View 2 Replies
View Related
Feb 18, 2010
After a new Fedora 12 installation, i cannot automount my Windows partition. My system is setup originally at windows XP ,partitioned, then change to Fedora 10. Change to Fedora 11 through update.System very slow.
I decided to upgrade to fedora 12 by DVD installer, then i have to mount manually to access my back-up, when typing su -c '/sbin/fdisk -l' at terminal, this is the code:
View 6 Replies
View Related
May 31, 2011
is it possible to mount a truecrypt file container as a home directory before login, if so how to do that?
View 3 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
Oct 22, 2010
I have searched google but cannot find exactly what I need. I have an external usb stick that is encrypted and always plugged in. On boot i want to it automatically be mounted (so I don't have to go to places and click on it and enter the decryption phrase)
View 3 Replies
View Related
Dec 23, 2009
I have an external 300GB (Toshiba) disk which I encrypted (using cryptsetup luksFormat) and then installed an NTFS filesystem on (need to be able to use it in both Linux and Windows - using FreeOTFE). The disk mounts fine in windows and on my Fedora 10 system it automounts.
I can manually mount it on the RHEL5.3 system, and gnome-mount gets as far as recognising that it is encrypted and asking for the key, but it doesn't then mount it - I then have to manually mount the /dev/mapper/luks... device.
Does anyone know how to do this - if it works in Fedora 10 it ought to be possible to get it to work in EL5.3 I'd have thought.
View 4 Replies
View Related
Feb 16, 2010
my /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.
View 7 Replies
View Related
May 15, 2011
I mount truecrypt ntfs hidden volume in Slackware, i can read but i can't write to it. It shows "Operation not permitted". I can read and write from other distro without any problem.
View 12 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
Oct 7, 2010
Right now I only have Windows 7 64bit installed. I'd like to keep it installed and have a hidden Truecrypt system partition that holds Ubuntu. I've installed Ubuntu once before, but it was a while ago so I don't remember the details. Also, I'm not entirely sure how to work Truecrypt as I've never used it before. Do I install Ubuntu first and then run Truecrypt, if so, how do I deal with the fact that installing Ubuntu involves many partitions. Does Truecrypt recognize this automatically or do I have to somehow encrypt them all?
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
Mar 5, 2010
I got a new laptop today (yay) with windows 7 on it. I want to keep a small windows partition, just in case I need it for something. Anyway, I know how to use fdisk, and am comfortable installing on a disk without data I need to maintain.. but this new computer came with 5 (!) windows partitions. I don't know where to start.
I don't mind reinstalling windows after partitioning if I have to, but I really don't want to screw up the recovery partition. Any clues on where to start or what to look for? Or what NOT to do?
It looks like "my computer" has two partitions listed (c: and d: ). I guess I could just take note of the size of these two partitions, free up the partitions that match in fdisk, then repartition that space and install everything.
I need to reboot to do that, so I'll edit with the information when I have it.
fdisk output:
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8e0eee9e
[Code]....
View 11 Replies
View Related
Sep 4, 2010
On my computer for the last couple of years I have been running Ubuntu and Windows XP in a dual boot system. Due to some unsolvable problems in Ubuntu, I decided to try out Fedora. I created a third partition on my computer and into this partition I installed Fedora. Now when I boot my computer I can either run Fedora or Windows XP. Eventually, I plan to get rid of Ubuntu completely. But for now the Ubuntu partition is still on my hard disk; I can't boot up with Ubuntu anymore, and that's OK. I don't need to run Ubuntu, but I would like to be able to access the Ubuntu partition, since there are files there that I want to keep.
At least I want to be able to read and write to the files in Ubuntu. How can I automatically mount the Ubuntu partition so that I can work with its files from Fedora?
I'm pretty sure that to get the Ubuntu partition to mount, I need to enter some lines into the etc/fstab file. Does anyone know what I should enter into Fedora's etc/fstab file so that the Ubuntu partition will be mounted?
In my Ubuntu installation the partition is named DiskF, it is partitioned in the ext3 file system. In Fedora when I look at /media/DiskF, it is empty.
When I run [code] blkid in a terminal here is the output:
What are the commands that I need to put in /etc/fstab so that when I boot my computer in Fedora DiskF will be mounted?
View 1 Replies
View Related
Jan 22, 2010
I know how to automount ntfs, what I don't know is how to automount a 2nd ext4 partition. I know I can use code...
What am I doing wrong? Also how can I read and write to and form the root of the partition with out opening it as root?
This is not the partition I have ubuntu installed on, this is a 2nd partition.
View 3 Replies
View Related
Jun 30, 2010
I am having trouble getting my laptop set up the way I want it. I want to install Fedora 13, using Ext4 encryption, and I also want to install Windows 7 encrypted using TrueCrypt.
On boot, I would like to have Fedora 13s GRUB, offering me the two OS choices. If I select Fedora, then Ill get the cool graphical decryption screen, and if I select Windows 7 Ill get the TrueCrypt boot loader prompting me for the decryption key for the Windows 7 partition. Can anyone give me instructions on how to get this set up?
View 5 Replies
View Related
Dec 27, 2010
right now I have windows 7 encrypted with truecrypt and I want to dual boot Ubuntu 10.04(not encrypted). I'm going to shrink my windows partition to install Ubuntu. Is there a way to add ubuntu to truecrypts bootloader?
View 1 Replies
View Related
Jun 15, 2010
I recently installed Fedora 13 (the KDE spin). It detects correctly my other NTFS partitions and will mount them perfectly if I click on it using Dolphin.
I would like to mount one of them automatically after booting (or logging in, doesn't matter). My first idea - and supported by a coulple of Google searches and previous threads - was to put them on on /etc/fstab.
But to my complete surprise they aren't there. Where does Dolphin (or KDE) keeps information about partitions? How to set them to automount? Also, fstab refers to my linux partitions as UUIDs not the device names - how does this work?
What should I do to set a NTFS partition to automount on Fedora 13?
View 5 Replies
View Related
May 14, 2010
i recently deleted a NTFS partition while ubuntu was running and didnt disable the automount and when i tried to restart from what i can see it is trying to mount the partition which does not exist. When booting it says something to the effect of mounting dev/sda5 (which is now ubuntu) NTFS signature incorrect, what file must i change to allow ubuntu to boot because i kind of dont want to reinstall ubuntu and reconfigure it.
View 1 Replies
View Related
Jun 21, 2010
For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.
In YaST's expert partitioner it says that:
Quote:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
Quote:
I don't see a noauto option. Is it hiding somewhere?
Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Quote:
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?
View 2 Replies
View Related
May 16, 2011
I would love to be able to use TrueCrypt consistently across all my machines, be they Windows or Linux. As it stands, I can do full-disk encryption with pre-boot authentication only on Windows.
I don't really understand why this is. Are there technical challenges specific to Linux/Mac that make full disk encryption harder? Does anyone know whether TrueCrypt will support this in the near future.
PS. yes, I'm aware that there are other options. My goal is to simplify my life here and use the one tool across all machines.
View 1 Replies
View Related
Apr 29, 2011
I've been trying to get a dual-boot system with a truecrypted Windows partition and grub 2 in combination to work successfully and to date, I haven't had much luck. I'm using the grub 2 version from Ubuntu 10.04.2 LTS.I understand from searching through Google that there is presently no easy way to chainload the Truecrypt boot loader from Grub 2 in a similiar way that was done with Grub 1. This is because the Grub 2 payload is much larger and actually overwrites some of the Truecrypt boot loader, preventing it from starting.Does anybody know what might be going wrong here? I've been looking for ages now and can't seem to find any solution to this problem apart from restoring the Truecrypt loader to the hard disk and trying to chainload Grub 2 from Truecrypt. I'd rather use Grub 2 as the main loader though as Ubuntu Linux will be the main operating system in use.
View 7 Replies
View Related
Apr 15, 2011
My Lucid LTS Ubuntu Studio 64 (amd) won't boot anymore; / and /home each are software raid 0 partitions.
I have a Multimedia partition (also ext 4) which I attempted to chmod with a GUI program (I forget what its called now) to enable all users read/write access. Looks like I inadvertantly fstabed that partition to be mounted at boot-time (normally my password was required in order to mount it).
I tried to logging out and back into my OS to see if the partition was now writable but it wasen't; instead a filesystem error was noted. I realised then that my partition was IMPROPERLY labelled and I was in a tired state and didn't remember how to rename it & rebooted to make sure all was ok. But it was not:
An error occured when mounting /media/Ubuntu unknown filesystem type "Multimedia"
mountall: mount /media/Ubuntu [1334] terminated with status 32
mountall: filesystem could not be mounted /media/Ubuntu
Boot: recovering journal
From my generic Ubuntu system on a non raid partition, I finally removed the space in the 'offending' partition: Ubuntu Multimedia to UbuntuMultimedia. And I changed the permissions for it. But if I try to boot Ubuntu Studio via recovery; booting in low res is unusable, and it gets stuck if I SKIP mounting. So I am left with manual boot or drop to a shell. I will have to use an editor like vi or nano and the command prompt. I know that I likely only have to comment out a line in /etc/fstab but I am only familiar with nautilus or gedit for this type of operation. And since this OS is on a raid partition its not 'seen' on the live CD..I would need someone to offer me clear steps to follow with the non gui editors otherwise I'm in trouble... I just wanted to use that partition for video editing and now I am locked out of my system!
View 3 Replies
View Related