Questions about mounting filesystems automatically, either at boot time or when plugging in

learn more… | top users | synonyms

1
vote
3answers
3k views

How to mount a USB device in read only mode?

I wish to securely copy files from a USB external drive such that no files on that drive may be modified spuriously. Would someone tell me in relatively simple wording how to accomplish this please? ...
1
vote
5answers
3k views

CIFS shares do not mount after upgrade to 12.10 from 12.04

I have seen issues close to my problem but no one seems to have a definitive answer as to what is going on and why the failure occurs. I have a number of NAS devices on my home network and on a ...
1
vote
2answers
21k views

Ubuntu 12.04 LTS. What is the best and most reliable method to mount a NTFS partition? [duplicate]

Possible Duplicate: How to automount NTFS partitions? ... and having full access on it plus auto mount option on Ubuntu startup? Thanks, Dave
1
vote
1answer
533 views

secondary hard drive sometimes mounted to wrong location?

So i edited the /etc/fstab file, and added this line /dev/sdb1 /media/additionaldrive1 ext4 defaults 0 2 and most times, my hard drive is there waiting for me in the right location. ...
1
vote
2answers
9k views

How can I automatically mount eSATA drives when plugged in?

What can I do to make Ubuntu automatically mount an external drive when it is connected to an eSATA port? Currently I must go to Home Folder ▸ Go ▸ Computer and click on the disk to mount it.
1
vote
1answer
3k views

How to detect insertion of DVD disc?

In particular, how to catch it for the purposes of automounting the DVD filesystem? Update in response to Oli's answer: udev seems to be able to detect the insertion of DVD, as demonstrated by ...
1
vote
2answers
1k views

To mount NAS on a Laptop?

So, I bought a NAS, which I configured successfully in /etc/fstab, on mu Kubuntu 10.10 Thinkpad x40. It works just fine when I am at home. A few days I went out with my laptop and the problem is, that ...
1
vote
1answer
679 views

Two identical USB drives auto-mount with different owner group permissons, but why?

UPDATE: (solved- sort of} See my answer below I have 2 identical USB drives which I've both formatted to identical specs using Gparted. Both have two identical primary partitions (ext4 and ...
1
vote
1answer
953 views

Why isn't my Upstart script running on 14.04?

I have the following Upstart script saved as /etc/init/automount.conf: description "SOME DESCRIPTION" start on startup task exec mount -t vboxsf WebApps -o rw,dmode=777,gid=GROUP_ID,uid=USER_ID ...
1
vote
3answers
41 views

Can an infected DVD+RW affect a Linux PC?

Yesterday I started my laptop (using a sudoer user because I wanted to install one program) with an infected DVD + RW inside my laptop (it was recorded using aother computer that is infected and I ...
1
vote
1answer
5k views

USB drive are not mounted automatically

My USB Drive is not mounted automatically but it has detected through lsusb. I also used dconf-Editor but it is not working. Every time I have to mount manually through Disk Utility.
1
vote
1answer
722 views

Automount with async option

I have a 1 TB Western Digital External Harddisk. The read/write speed was very low, I read on askubuntu that using the async mount option helps. Then I started using it as follows: mount -o async,rw ...
1
vote
1answer
792 views

An error occurred while mounting static

So you've edited /etc/fstab, rebooted and get some error message about mounting static. What's static? Turns out there's an easy answer to this.
1
vote
2answers
779 views

How to disable automount for internal partitions?

how can I disable automount for NTFS/FAT partitions from internal diskdrives in Ubuntu 12.10?
1
vote
2answers
1k views

Disable mount for internal HDDs

I'm fairly new to Ubuntu (I'm using 12.04) and I am looking for a way to make it so that when I boot from my USB stick the internal HDDs of the computer I'm using dont mount. I would also like to know ...
1
vote
3answers
923 views

Bad fstab, can't seem to fix

edit: Another thing that compounded/compounds the problem is that pysdm lets you add spaces in drive mount points, which I am pretty sure are not supported. edit: So. I downloaded a program that ...
1
vote
1answer
961 views

Partitions and cdrom are not automounted [closed]

Provide my spec and sorry for my poor English first. MB: Gigabyte G31M-S2L (bios ver. F9) CPU: intel E5200 2G RAM HD1: WD 160G with 2 partitions (partition 1:60G, NTFS, win xp; partition 2:100G, ...
1
vote
1answer
2k views

How can I share a folder with Samba on a NTFS drive on startup?

On startup, I want a certain folder on an automounted NTFS drive (mounted on /media/Data), of which I've got ownership, to be shared with Samba. It should grant access to guests, but they shouldn't be ...
1
vote
1answer
2k views

Automounting Partitions Xubuntu

I'm new to this Linux stuff and installed ubuntu but didn't really like the Unity setup and had some issues so switched to Xubuntu. However, I want my partitions to automount on boot. I tried using ...
1
vote
1answer
1k views

Auto-mount USB after reboot

what should I do if I want that my USB key is auto-mounted after reboot? I mounted it on /media/corsair, but after reboot it is gone...
1
vote
1answer
272 views

Auto starting a program before any other program and preventing it to run the other programs until a directory is mounted

Well the title says it all, how can I auto-start a program before anything else and prevent any other program from running until a certain directory is mounted? I am building a front-end program for ...
1
vote
1answer
26 views

Is it possible to automount a partition on a dummy location?

There's a partition on my drive that I don't use, called /dev/sda8. This partition is not listed in /etc/fstab so it will pop up in the Unity launcher when I boot my system. I don't want this to ...
1
vote
1answer
95 views

My external hard drive keeps unmounting and remounting itself

I have a Seagate 500 GB desktop external drive. When I plug the drive in through USB 2.0, it immediately auto-mounts and functions for about 1 minute before unmounting itself. After a few more minutes ...
1
vote
1answer
102 views

Can't mount moto e(android phone) on usb 2.0 as media device

can't mount moto e(android phone) on usb 2.0 as media device but works with usb 3.0. Even with usb 3.0, only files can be copied but not the directories.
1
vote
1answer
136 views

How to access a Windows share via Linux?

I've a windows shared folder which I can access by typing \\share\files\ in "run". I need to use that in Ubuntu. So I added \\share\files\ /mnt/share/ cifs guest,uid=0,iocharset=utf8 0 0 in ...
1
vote
2answers
105 views

How can I automount cd in Ubuntu 14.04?

The problem is that my music CDs, and also try with virgin-CDs, do not mount automatically when I insert them. I have to mount them from nautilus and after that I'm ready to listen to it in rhythmbox. ...
1
vote
1answer
75 views

automount thumb drive own by root

I am able to automount my thumb drive on Ubuntu 12.04.4 Server as ordinary user (non-root). However after mounting the owner was root. drwxr-xr-x 4 root root 2048 Jan 1 1970 PP How can change ...
1
vote
1answer
173 views

xrdp mount cd manually

I am running ubuntu 12.04.4 LTS 64 bit I work through remote connection using xrdp. The problem is when I connect remotely I cannot access CD/DVD drive but I can see the icon in nautilus. When I ...
1
vote
1answer
638 views

default mount point changed for external HD [duplicate]

The default mount point for my external HD changed when upgrading from 13.04 to 13.10. Now the username is added as an extra level before the hd label. So it used to be /media/nameofhd and now ...
1
vote
1answer
2k views

mount: unknown filesystem type 'cifs'

For some reason, I can mount my NAS using cifs as follows: sudo mount -t cifs //10.0.0.210/data -o username=xxxxxxxxxxxxx,password=xxxxxxxxxxx,rw,nounix,iocharset=utf8,file_mode=0644,dir_mode=0755 ...
1
vote
1answer
289 views

deja-dup backups through a virtualbox Ubuntu 12.04 with Windows 7 host?

I would like to use a tool like deja-dup or similar to have backups of certain directories in a virtualbox Ubuntu 12.04 machine that runs on a Windows 7 host laptop. I am plugging and unplugging this ...
1
vote
2answers
740 views

Hard drive mounted at / , duplicate mounted hard drive after using MountManager

possible duplicate post I'm running 12.04 64bit. My system is a dual boot for both Ubuntu and Windows7. Both operating systems are sharing the drive named "Elements". My volume named "Elements" is ...
1
vote
1answer
105 views

How would I mount a remote server so it persists after a reboot?

On Ubuntu server 12.04 I can run the following command to mount a remote directory: sshfs root@192.168.1.1:/w/common/Rotas/Nurses /home/danny/nurserotas/ I am then prompted for the password for the ...
1
vote
1answer
267 views

Most suitable permissions for mounted internal disk shared with Windows?

I've been using Ubuntu/Linux for a few years now but I'm still learning.. I've just updated to 12.10 after installing a Samsung 830 128GB SSD which has Windows and Ubuntu OS's dualboot on it. My old ...
1
vote
1answer
6k views

Problems auto-mounting samba/cifs share with fstab

I have been following the same tutorial that everyone else is referencing. My fstab entry is exactly like in the tutorial with changes to actual location. I keep getting the error mount: only root ...
1
vote
1answer
2k views

Configure Autofs to access windows domain server

I want to configure autofs to access my windows domain server say my server in win2003 and want to access e$ I am able to access it graphical way But every time I restart the system I have to ...
1
vote
1answer
532 views

Mounting Samba Shares at boot/login and using script

I have a Server running on desktop, since my aunt that lives with me is taking classes for MS office it is currently booting XP, so i have setup sharing of all my drives so i can access my files but ...
1
vote
3answers
930 views

ecryptfs and ssh pubkey login - How automount and other stuff?

I have moved my ssh authorized_keys to an /etc/ssh/ subfolder, so I can login with pubkeys and have root in control of ssh access, but there are 2 problems left. It does not automount my users ...
1
vote
1answer
349 views

Automounting partitions on 1TB external hard disk

I am on Kubuntu 12.04. I have five labelled ext4 partitions on an external removable 1 TB external USB hard drive. When the drive is plugged in, a box pops up, asking me what I want to do for each ...
1
vote
1answer
1k views

Using autofs with sshfs: “no such file or directory” error

After following instructions on https://help.ubuntu.com/community/Autofs, I am able to mount directory via sshfs as root, however, autofs doesn't work for me. My auto.master contains /media/sshfs ...
1
vote
2answers
7k views

Gnome Nautilus - USB automount not working

Nautilus does not show my USB devices in its Devices pane. Nor does it mount them automatically. Looking at the syslog, I can see that kernel registers the event when I mount a device. Obviously, ...
1
vote
1answer
901 views

my LaCie 500 Gb not mounted on 11.10

My external USB drive was recognized with 10.x versions of Ubuntu but since 11.x I am getting stuck, I had tried everything I read in forums but still the same error: 4956.401052] usb 2-1.4: new ...
1
vote
1answer
927 views

Have to mount the “data” partition every time

At my laptop I have one HDD with 2 partitions (OS and DATA). Each time Ubuntu starts I have to mount it firstly so that I have access to it. I want it to be automatically mounted. How can I do that? ...
1
vote
1answer
1k views

Force DVDs to be auto-mounted using “unhide” option by default?

Is there a way to force DVDs to be auto-mounted using the "unhide" option by default? Currently, in order to see hidden files on a DVD that Ubuntu has auto-mounted, I have to unmount it and then ...
1
vote
0answers
24 views

HDD mounts then immediately unmounts

My wife had received a virus on her iMac some time ago. When updating to the new OSX, the update had a critical failure. Several attempts to recover the drive through the Mac failed. I decided to take ...
1
vote
3answers
68 views

13.10 NTFS partition automounted at startup: applications cannot access all files. Manual mount works fine?

I am on UBUNTU 13.10, and use an NTFS partition as storage. Typically, I mount it by clicking on the name of the partition in Nautilus. I wished to mount it automatically at startup, so I tried: ...
1
vote
0answers
29 views

Build mount points from multiple files

I was wondering if anyone has seen a way of specifying mount points in multiple files? My scenario is as follows: I am trying to automate desktop provisioning and setup, using a combination of ...
1
vote
0answers
2k views

mount: wrong fs type, bad option, bad superblock on . .

I am trying to auto mount 2 hard drives on a newly setup desktop. I just installed Ubuntu 14.04 ran the updates and then immediately went to the Disk GUI in Ubuntu and set the auto mount on the ...
1
vote
0answers
25 views

Mounting cifs network shares when logging into user account?

I have a couple of network shares mounted with cifs in fstab and it works fine when the network is up. However, this is a laptop and often my wi-fi connection isn't up when mounting is triggered by ...
1
vote
0answers
14 views

Mounting and dismouting removable volumes changing users

Computer with 2 or 3 users. I put a dvd or plug an usb key in the system and everything is OK ! If I change of user, everything becomes out of order even the user is an administrator. I understand ...