OpenSUSE Install :: Auto-mount Truecrypt Partitions From Fstab?
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?
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?
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
I'm using Kubuntu 9.10. Partitions get listed in the sidebar when I open the File Manager, but they don't get mounted under /media until I click on the entries. I do not want to use /etc/mtab and mount them under folders I create in /mnt; would prefer if there was a way to mount the partitions without Kubuntu waiting for me to click on the names.
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?
Is there any way to specify what partitions of my USB Hard drive automount? There's really only one I want mounted automatically, and I've made three partitions. I'd like it so the one mounts, but the other 2 don't. Possible?
After installing 11.4 my fstab entries for CD and DVD drives as well as floppy generate errors when I try to mount them automatically or via Nautilus when inserting CD or DVD. The icons and CD/DVD name show up ok but will not mount. Manually mounting via terminal command works. Here are the relevant lines from fstab
In /dev scd0 and scd1 are symlinks pointing to sr0 and sr1 respectively. The above error message was generated after attempting to load a CD in scd0 i.e. my laptop internal CD/DVD drive. Lines 10,11 and 12 are the fstab lines quoted above.
I just installed kubuntu 9.10 and noticed that several partitions (fat32 and ntfs) are mounted automatically after I login. I searched /etc/fstab but found no entries for those partitions. So I guess there may be something like start-up scripts that automatically detect and mount all partitions on the hard disk at boot/login. Does anybody know the location of those scripts (if any)? I want to disable that auto mount.
I have 9.10 and notice that when I look in Places none of my volumes/partitions are mounted - if I click on them I have to enter my user password to authenticate to gain access. My problem is that (with some help) I have set up rsync so it runs when I shut down my PC and backs up my Home folder from a partition on sda to a partition on sdb - this is great but sometimes it works and sometimes it doesn't.
I have done some tests and discovered that if I use my PC and never manually mount my backup sdb partition the rsync does not work (I also have GAdmin-rysnc so I can run manually backup but this also will not run if I do no mount the sdb volume). However, if I do mount the sdb backup partition and close down/restart then the backup works. What I need is my sdb backup partition to be automatically mounted every time I switch on - can this be done? I'm sure I had this working in 9.04 (auto mounting) but 9.10 seems not to like it.
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
Nautilus mounts NTFS partitions when I acces them, and before mounting, it asks for root password. Is there a method to auto-mount ntfs partitions on Debian startup, without requiring root password each time they are automatically mounted ? And without installing additional packages.
I include a description and several outputs below, throwing some light on the problem.Does anybody have an idea ?dvanceMikeDescriptionI'm running openSUSE 11.2.The partitions are on a seperate SCSI disk.The partitioner (under YAST) finds them and lists themas Reiser partitions.The disk isn't just some old errorneous drive:it was a spare disk not used very even after putting it in use,and smartctl gives
I Just Recently Installed OpenSUSE with GNOME Desktop and was surprised to know that none of my NTFS Partiitions were mounted to the Linux File System. Earlier I had Installed Open SUSE with KDE Desktop and there were no problems, everything was readily mounted and i could access the NTFS Partitions. I am a Total Newbie To Linux. Give Me The Syntax To Mount The NTFS Partitions in Following Partition Table Acquired with fdisk :
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I have a mounting rack in which I try to plug in various HDDs. Now, all of them have vfat. Blkid returns something like:
/dev/sda7: UUID="4B16-F1E8" TYPE="vfat" The UUID looks abnormally short to me. I found no way to obtain a longer, typical UUID, and when I set Yast2 partitioner to mount by UUID, it sees and it successfully uses the short UUID. Yast2 even adds it to /etc/fstab like this: UUID=4B16-F1E8 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 However, this short UUID is useless in /etc/fstab. It doesn't work at boot time and it doesn't work when I try to mount manually. xxxxx:~ # mount /windows/C mount: special device UUID=4B16-F1E8 does not exist. Also, one cannot find these short UUIDs in /dev/disk/by-id/.
For a billion reasons, I really want to mount these FAT32 partitions by UUID. Do I have any way to do it?
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?
i reinstalled opensuse yesterday.when i turn on my system every time i need to enter my root password to mount my partitons.please see the following image.i want to automount all partitions on startup without giving root password(before reinstalling opensuse it didn't ask root password to mount my partitions)
I'd like to manage a nfs-mount via etc/fstab. The simplest solution (or lets say, I forgot _netdev) went wrong - but in bash I could mount - showing the entry in the fstab is fine. (nfsvers=3, soft). So I added _netdev. I expected from the system, that mount would be called twice in the init scripts: The first without those _netdev (s) and after bringing up the network then mounting all _netdev (s). But it seems, it is not working this way. Is anyone here, who can explain the (may OpenSUSE special) behaviour? I found in [URL] the information that _netdev is especially for nfs - so should work, shouldn't it?
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.
i want to mount NTFS by normal users so i used the following entry in fstab /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0 however when i try to mount the partition i get the following error Unable to mount Mostafa
Error mounting: mount exited with exit code 1: helper failed with: Error opening '/dev/sda6': Permission denied Failed to mount '/dev/sda6': Permission denied Please check '/dev/sda6' and the ntfs-3g binary permissions, and the mounting user ID. More explanation is provided at NTFS-3G Questions at Tuxera
I have just tried to mount my floppy with: mount -t auto -o uid=1000,gid=100 /dev/fd0 /media/floppy and get for response : cannot execute command '' mount -t auto -o uid=1000,gid=100 /dev/fd0 /media/floppy error 127 What is supposed to be done to get my floppy mounted?