Slackware :: Xfce Automount Luks Lvm External Drive
Apr 5, 2011
I have a luks-encrypted external drive with lvm on top. When I plug it in xfce prompts me (twice as usual) for the encryption phrase. Then, unlike when I have a regular file system on top and it automounts, I need to activate the volumes and manually mount. Is there a way to make these steps happen automatically?
View 7 Replies
ADVERTISEMENT
Jan 2, 2010
I've googled this many times but have not found a solution yet. Can you get external usb hard drives to automount at xfce startup? They automount if I plug them in once xfce is started. I have them connected at boot I get an icon for the drive which I can then mount. But I wonder if I can get them to automount at startup
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
May 24, 2010
Anyone else experiencing the random LUKS fails? Anyone know of a solution?I filed a bugBasically I have a USB hard drive with two LUKS partitions on it (sdb2, sdb3). When plugged in, it asks for the password in Xfce (like it did in Slackware 13.0), but instead of the previous "asks twice for password" bug, now it asks once, but nothing pops up on the desktop. It's rare to see either of them put an icon on the desktop (usually nothing results).
I see /dev/mapper/luks_crypto_{UUID} get populated, so they are successfully being unlocked (LUKS), but no icon appears, and no mount point for the volume label (i.e. /media/BACKUP /media/ASUS) is populated.Does anyone know how I could produce a more useful bug report? I'm wondering if "strace startxfce" would produce anything useful or if I should alias Thunar to "strace -o /tmp/thunar-`date`.txt" would be in order.
View 14 Replies
View Related
Jan 17, 2010
Everyone seems to what to know how to automount an external USB drive. I'm trying to stop 9.10 from automounting it. Normally I use fstab to mount an external drive where I prefer it to be mounted. But after the last software update karmic (9.10) is now automounting my drive and screwing up the fstab mount. Some how the drive is showing up as /dev/hdd1 and /dev/hde1. I could just shutoff automount but I like it for USB sticks and cameras and MP3 players. How do you stop automount from mounting just an exteral USB drive??
View 3 Replies
View Related
May 28, 2010
I'm trying to setup my media streaming server, and everytying is going quite well, but there's one thing I don't understand. Can you have ubuntu automatically pick up and mount your external USB drive when you switch it on? I don't like leaving the hard drive running, and I only need to have it on when I want to stream something, but it seems to lose the mount when I switch it off and on again. Anyway to make it automatically detect that it's on and mount it back onto my mount point?
View 9 Replies
View Related
Aug 2, 2011
I have an external harddisk (actually removed from a laptop) and I want do some analysis and data recovery on it. I bought a sata-to-usb adapter. Now the problem is: if I deselect media_automount "media_automount_open" and I select "media_autorun_never", the external sata driver is not recognised and I have no /dev/sdb1 to manually mount. Not a hint of a newly plugged drive in dmesg.
Then I re-enabled automount and then I remounted the drives as read-only. Afterward I starter cloning the hd with dd.After some three hours, the f*ck*ng laptop remounted the partition rw and the dd process went into io error. So the question is: how can I safely work with a usb device with manual operations?
View 5 Replies
View Related
Feb 14, 2011
When I plug my USB drive in, the kernel sees it and I can mount it manually. However, it won't automount. I've done plenty of google searches but nothing I've tried has worked for 'GNOME, SUSE 11.3.' I am not sure if it is a permissions problem, configuration problem, a kernel automount, HID, or USB problem.
uname -a (stock SUSE desktop kernel):
Code:
Linux linux-hez9 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux
Here is the output from /var/log/messages:
Code:
Feb 14 15:47:09 linux-hez9 kernel: [16258.620213] usb 1-1: new high speed USB device using ehci_hcd and address 6
Feb 14 15:47:09 linux-hez9 kernel: [16258.749549] usb 1-1: New USB device found, idVendor=1058, idProduct=1023
Feb 14 15:47:09 linux-hez9 kernel: [16258.749553] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 .....
View 9 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
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
Jun 15, 2011
I'm running Debian sid and currently have xfce 4.8.0 installed. I have the thunar-volman package and it is configured to automount everything (cdrom & usb). I have hal, udev, gamin and autofs installed as well.For some reason though, automount just isn't working. It's starting to annoy me.I can mount the devices manually.I looked around already but most posts just advise you to install hal or something.
View 4 Replies
View Related
Mar 8, 2011
I have squeeze with xfce4 installed. How to disable automount of usb devices under xfce?
View 2 Replies
View Related
Mar 5, 2010
With the GNOME desktop environment, when I plug in my iPhone, Nautilus automatically mounts it and I can browse and download my photos from it, as though the iPhone were a digital camera. Also the F-Spot auto-run dialog pops up asking if I want to import photos from the iPhone.In XFCE though, plugging in the iPhone doesn't do anything at all, except begin charging the phone. No auto-mounting is done in XFCE, no auto-run dialogs, nothing.
What is different here? Is it possible to get XFCE to auto-mount them? I thought XFCE uses GVFS like GNOME does? This is Fedora 12, by the way, with XFCE 4.6.To be sure it isn't just that XFCE doesn't mount digital camera type devices, I tested it with an actual digital camera that plugs in via USB. Once I connect it to the computer, it auto-mounts, I get a run dialog to import photos and I can browse the photos in Thunar just like I could with Nautilus.So it seems as though the iPhone sort of looks like a digital camera enough that GNOME mounts it as one, but it's just different enough that XFCE doesn't mount it at all.---------- Post added at 01:25 PM CST ---------- Previous post was at 12:03 PM CST ----------Apparently if I run F-Spot manually and go to import photos, it lets me select "Apple iPhone" or something from a source menu and then can import the photos that wa
View 3 Replies
View Related
Jan 9, 2010
I put a larger drive in my netbook and stuck the old in an external USB enclosure so I could use it for backups. It had three partitions on it, ntfs and linux so I deleted all the partitions and created one big linux partition. Every time I write and exit fdisk the removable disk utility in KDE pops up and says ntfs drive. If I ignore it and try to formatit wants to use ntfs, if I fsck.ext3 it saysThe superblock could not be read or does not describe a correct ext2filesystem. If the deviceis valid and it really contains an ext2filesystem (and not swap or ufs or something else), then the superblockis corrupt, and you might try running e2fsck with an alternate superblock:e2fsck -b 8193 <device>2fsck -b 8193 doesn't work either.It seems like its caching something, I can print the partition table and see the one linux partition I created.
Code:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
[code]...
View 3 Replies
View Related
Oct 21, 2010
I recently had a laptop die on me. I, of course, then to recover the hard drive. I wanted to install slackware to a partition on my drive, so I can have a linux distro with me( also I have a FAT32 partition for shared space) I have a Slackware 13.1 disk one (which i need, since I don't need a graphical environment or anything), and proceedd to follow setup program. I have a 5GB '/' partition, a 10GB '/home' partition, and a 2GB swap partition. My ROOT partition is bootable. The setup program seemed to complete succesfully, but it won't boot. When I choose to boot from my hard drive (in the bios), it reverts to the slackware disk, if present, or the standard windows drive.
I installed LILO to the superblock of my external, because according to the setup the MBR option installs to "The MBR of your first hard drive", and I wasn't sure if that was right, since my first hard drive is my windows one. Since i'm not even seeing LILO, I think it has to do with installing to the superblock. I want to be able to boot a basic linux distro if needed from whatever computer I want. I'm not sure if slackware was the right choice, but it was one that I had worked with installing before, and knewthat you didn't necasarraly have to instal all the graphics stuff. I just want a shell. Sorry if my question sounds retarted, I'm new to the whole "Multiple drives, and operating systems" thing
View 3 Replies
View Related
Aug 22, 2010
kde 4.3.4 kernel 2.6.32.7-smp Have Seagate 500GB (fuseblk) external usb drive that gets listed in the "Devices recently plugged in, pop-up panel" but a Verbatim 1.5TB does not. I have to mount it manually as ntfs volume.
eg bash-3.1# mount /dev/sdd1 /verbatim
/dev/sdc1 fuseblk 4.0G 598M 3.5G 15% /media/Free-4GB
/dev/sdd1 ntfs 1.4T 401G 997G 29% /verbatim
/dev/sdc2 fuseblk 462G 409G 54G 89% /media/FreeAgentDrive
When I boot using the Mint distro on same PC both ext usb drives are automounted. Looking for pointers as to why the 1.5TB verbatim disk does not automount.
View 8 Replies
View Related
Jun 12, 2010
I inserted a disc and tried to access it through Dolphin. It shows up in the directory explorer thing as a disc and with the disc name, but it has a little / thing in the bottom corner of the icon, and when I try to access it, it gives me this long error on the bottom of the file area (can't remember what all it said, something about 'harvey' and being unable to find the directory in /etc/fstab). The same thing happened with an external drive, which seemed to work fine before but now has the same problem.
View 5 Replies
View Related
Nov 29, 2009
Just installed Slackware 13 this morning. It's been a long time since I last tried Linux, but Slack works (a lot easier than Slack 8 did back when I last used it!) quite well. I'm using the XFCE desktop and it's smooth as silk except for one odd problem-I cannot get any of my USB drives to mount. I just plugged in my Lexar 4GB USB flash drive and received an error message. Here's from /var/log/messages from when I initally plugged in the drive (I have a 500GB WD MyBook USB external drive that is always plugged in):
Any ideas or suggestions of what to look at? I'm not familiar with HAL in Linux although I've seen plenty of discussion about it and have an idea of what it's supposed to (or break! ).
View 1 Replies
View Related
Oct 1, 2010
I just lost over 300gb of files due to my external hard drive crashing.There was an error with the files system.I tried formatting on Slackware but cfdisk didn't work for me.I'm looking for something much easier with a GUI or something similar to the Disk Utility that you get in Ubuntu.And also which format do I format my external harddrive to?Something even more stable than ext4 or ntfs? Cause I do not want my external hard drive to crash again.
View 7 Replies
View Related
Jun 2, 2010
After some weeks of use and occasional unplugging-when-busy, my 500GB external USB hard drive no longer will automatically mount when I plug it in. The blue light lights up when I plug it in, but there is no automounting behavior. Also, when I type
Code:
tom@zeppelin:~$ sudo mount -a
nothing happens. The result of fdisk:
Code:
tom@zeppelin:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xed1f86f7 .....
View 6 Replies
View Related
Jan 23, 2011
I have a problem copying my udev rules from other distro to another pc running debian. My box is running debian without any DE and I want my USB disks to be automounted based on the label; I believe udev is the nicest way to do this task.
Anyways : my rules are (copied from archlinux wiki btw)
cat /etc/udev/rules.d/92-my-media-automount.rules
# vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=udevrules:
# /etc/udev/rules.d/92-my-media-automount.rules
# Only work on sd*
KERNEL!="sd[a-z]*", GOTO="my_media_automount_end"
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end" .....
I notice the directory is made successfully up inserting the usb HD, but the mount doesn't succeed. If I manually execute above command, the mount goes ok.
View 7 Replies
View Related
Sep 18, 2010
My external HD where everything I backed up from my previous install will not mount. It shows up in lsusb, but when I do dmesg:
Code:
[20801.408614] usb 1-3: USB disconnect, address 36
[20804.190095] usb 1-3: new high speed USB device using ehci_hcd and address 38
[20804.343675] usb 1-3: string descriptor 0 malformed (err = -61), defaulting to 0x0409
[20804.345100] usb 1-3: configuration #1 chosen from 1 choice
Also of note, my main filesystem is reiserfs, so there isn't a problem of not having reiser installed.
View 2 Replies
View Related
Jan 20, 2010
i have two centos systems one automounts the external usb hard drive and other doesn't what do you think could be missing in the system that is not automounting the external usb drive.
View 4 Replies
View Related
Mar 24, 2009
Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?
View 3 Replies
View Related
Nov 2, 2010
11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:
Code:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-removable
auth_admin_keep_always <-- (action, result)
but the device is shown in dolphin as a removable device and
Code:
# lsusb
Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.
View 9 Replies
View Related
Mar 21, 2010
I have been following Alien Bob's README_CRYPT.TXT on the install disk and playing around with LUKS and LVM as highlighted in the section Combining LUKS and LVM. I got this working following the examples in the readme however I now wish to add another volume to the volume group. I have got this working and extended the group with an encrypted volume so it's now bigger. I want the two included physical volumes in the volume group (which are both encrypted) to be opened on bootup.
As it is now I am prompted for a password for the first physical volume (the passwords are set to be the same) and that opens and boots the volume. It has a problem with the second PV I have added and doesn't open this. There are errors on boot up about this and pvdisplay give this:
Code:
Couldn't find device with uuid 'JVirxL-lmqH-SUym-3lXG-MnXx-Qjk8-JZRha8'.
Couldn't find device with uuid 'JVirxL-lmqH-SUym-3lXG-MnXx-Qjk8-JZRha8'.
Couldn't find device with uuid 'JVirxL-lmqH-SUym-3lXG-MnXx-Qjk8-JZRha8'.
--- Physical volume ---
PV Name /dev/block/253:0
[Code]....
View 6 Replies
View Related
Nov 25, 2010
I've just did a fresh Slackware 13.1 install on a 32-bit box for friends of mine. It's an older machine with an AMD Athlon XP 2500. Generally everything works just fine, with one exception, however.Connecting a LUKS encrypted USB harddisk is notified by KDE. Clicking on the device icon in Dolphin opens the dialog asking for the LUKS passphrase. No error message appears, but the file system is not opened and mounted, anyway.However, before another attempt I have to "remove" the device in Dolphin.Output of dmesg:
Code:
# Nov 25 23:58:24 mycomputer kernel: device-mapper: ioctl: unable to remove open device temporary-cryptsetup-3023
[code]....
View 12 Replies
View Related
Mar 9, 2011
Basic Problem: I have been trying to install 13.1 (64-bit) and have not been able to get lilo to install.
Procedure:
1) partitioned drive /dev/sdc 1GB (Linux RAID) and 499GB (Linux Raid)
2) copied partitioning scheme to /dev/sdd
3) set up RAID-1 arrays md0 (sdc1-sdd1) and md1 (sdc2-sdd2)
4) write random data to partitions
5) set up LUKS on md1 (swluks)
6) set up LVM on swluks (80GB /, 375GB /home, 20GB swap)
7) ran setup, chose partitions, installed software
8) setup lilo (mbr, selected /)
9) TRIED to install lilo
[Code]..
View 4 Replies
View Related
Dec 17, 2008
I am trying to get Slackware 12.2 running on a system with two identical harddiscs using RAID-1, LVM and LUKS.
Here is what I get:
Code:
The system is still the same, however, the results of upgrading or installing 12.2 are different. The system refuses to boot. The screen messages during boot seem to suggest, that the RAID system is "seen" by the system, but the encrypted filesystem is not.
I can boot with the installation DVD, however, and
Code:
View 14 Replies
View Related
May 9, 2011
I just installed slackware 13.37 64 using luks and lvm by following this. However, when its time to enter the password, my usb keyboard won't work. I included the uhci-hcd, and usbhid modules when running mkinitrd,
View 3 Replies
View Related