I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?
I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
I would like a USB thumb drive to be automatically mounted whenever I insert the drive into my PC (previously I had been mounting it manually with the 'mount' command). I gave the USB drive a unique label with e2label. I added an entry for it in /etc/fstab. This works in the sense that if I run "mount -a", the drive will be mounted. However, it still isn't completely automatic. Am I missing something? What else do I need to do?
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! ).
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question: I would like to add acl option to a device whenever it is mounted. I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code: sudo mount -o remount,acl /media/data and auto execute it any time data is mounted.
i am using ubuntu 8.04 and i am facing a problem of mounting external pen drive, exernal harddisk or even other /dev/ partitions in my login mount is not working so i manually mount the partition by mount command .. but i dont know how i can resolve this problem ...
fdisk -l currently returns as Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders
Every time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.
I am using Fedora and trying to auto run a script soon after the unit boots to desktop. I found many suggestions and finally decided to use the Sessions->Startup Programs option (under System->Preferences->Personal->Sessions menu). I added my script in the Startup Programs with the command 'sh myscript.sh'. Now I have two questions here:1. When I use the command 'gnome-terminal -e myscript.sh', I get 'There was an error creating the child process for this terminal' message after logging into the desktop. Can any one tell if I am missing something here?2. Even if I use sh instead of gnome-terminal, I still want to see the script executing. In other words, my script has certain echo statements indicating the flow of the script. But I don't see any shell opening up with these echo statements showing up, after the unit boots to desktop. But the script was still executed with no problem
I had windows vista on one partition, xp on another documents on another and programs on another.When I installed ubuntu on a new partition it very kindly let me see all the other partitions and mount them as necessary. I would like all my ubuntu files, documents music downloads to go right on to the documents partition so when I back up that drive to an external I have it backs up the documents drive it has all the files I have created in vista or ubuntu. Eventually I want to leave windows completely but I would still want to store all the ubuntu files on the documents drive.
I can go to "places" and mount the documents drive but what I would like to do is when I fire up ubuntu that the documents drive mounts automatically.
i'm working with x86 small computer having 128 ram and 233MHz speed in processor nd i'm going to do a project which need auto mounting of a pen drive if you can post a url that I can download those OS.
I recently installed Damn Small Linux using unetbootin. Booting Linux from unetbootin seems a lot like booting from a liveCD, so I'd like to mount my hard drive and see what I can do. Unfortunately it looks like Damn Small Linux has not mounted it automatically, and I'm having trouble finding my drive and mounting it from the /dev directory. There are several devices named /dev/*da* and I don't know which is my hard drive. My computer is an HP Mini netbook, so the drive is probably one of the new "solid state" drives if that affects anything.What can I do to find and mount my hard drive from unetbootin?
After inserting the drive into a usb port and run dmesg because the drive is not mounted all, I've the following added to the message log:
usb 5-1: new full speed USB device using uhci_hcd and address 2 usb 5-1: configuration #1 chosen from 1 choice usb 5-1: New USB device found, idVendor=0644, idProduct=0000 usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 5-1: Product: TEACV3.0 code....
I have been running a computer under Windows XP for years, and recently it stopped booting unexpectedly. It tries to load windows, but partway though loading a BSOD flashes and it shuts down. To remedy this and hopefully fix this, my frined lent me some Knoppix CDs that I could boot from. He also lent me some external hard drives. I want to be able to access my files on my old hard drive.
Here's the problem: (in Knoppix 6) When I try to mount my main partition of my hard drive, which shows as sda2 (sda1 is an old recovery partition left over from when I ran vista), the following message pops up: "A job is pending on dev/sda2" A little later another error window pops up: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." I want to be able to mount my hard drive in Knoppix 6.
I have an external Samba network storage drive that I mount using 'mount -t cifs -o username=aaa,password=aaa //myserver /mnt/mountlocation', but I'm finding it to be a pain to enter that whole command every time I turn on that drive and connect it to my computer via the network. I could put that command in a script and run a simple script like 'mntdrive' that would run that command for me, but is there a way to have the drive 'pre-mounted' so that if it's available on the network it's mounted?
If I put the mount command in one of the startup scripts or in fstab, would it be available at the mount location when the drive is connected if it wasn't connected when the computer was first turned on? Or is mounting the drive manually, even if by running a script that does it for me, something I'll have to do every time I turn on that drive? Any creative ways around this? Would make things easier if it is possible.
I am trying to install a harddisk, which is already formatted as ext3, into my Qnap NAS box. The web interface of the NAS box shows, that the harddrive has been detected, but I am not able to mount any of its partitions.This is the output from fdisk -l:
Does anyone else have this problem. Came just after recent update and is highly annoying. Plug usb device in and it is recognized on lsusb but not mounting and appearing in media folder. How do I solve this. Searched the forum but nothing useful
I have a 500 GB ext4 formatted HHD which i have to manualy mount when ubuntu starts. I have read much on the topic but am still unsure what i should add to fstabmy output when entering "sudo fdisk -l" is
I have one of those lovely Western Digital external hard drives and it seems to have an UDF "partition" on the hard drive itself. I cannot format it, remove it from the hard drive itself, or disabling the UDF seems to be a no go once its popped into a Linux distribution of any kind.
So my question is, is it possible to stop the UDF from even auto mounting at all?
When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.
Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?