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

learn more… | top users | synonyms

1
vote
1answer
2k 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
667 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
158 views

Lubuntu - Disable “Removable media is inserted” window

I installed Lubuntu 14.04 on my Intel Nuc, together with XBMC to create a home theater PC and encountered a small problem while I inserted a USB stick into the HTPC. It seems that the default "a ...
1
vote
1answer
680 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
36 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
596 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
709 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
760 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
876 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
957 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
271 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
60 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
146 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
563 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
1k 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
285 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
685 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
98 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
253 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
1k 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
500 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
845 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
344 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
883 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
897 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
2answers
22 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
0answers
278 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
104 views

Xubuntu 14.04 Automount ext4 USB Stick as root

I recently formatted my new Sandisk USB Stick with linux from the default FAT32 to ext4. Unfortunatelly, when Thunar Automounts the stick, it is mounted as root and not as the current user, so if I ...
1
vote
0answers
13 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
13 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 ...
1
vote
0answers
75 views

getting rid of dialog box when android phone connected

Since upgrading from 12.04 to 14.04, whenever I connect my Android Galaxy SII to my laptop via USB to charge, I get a dialog box that says Unable to mount SAMSUNG Android Unable to open MTP ...
1
vote
0answers
17 views

virtualbox doesnt recognize automonted partition

I have image of virtual win7_64 on a DATA partition which doesn't mount automatically, so.. not to open it manually every time before I run VirtualBox I did: http://askubuntu.com/a/165462/258828 ...
1
vote
0answers
2k views

Ubuntu 14.04 Virtualbox Guest USB Drive Mounting Works For Some Devices but Not Others

I have a VirtualBox ubuntu guest running on a osx host. I've searched the web and implemented the solution for similar problems, but nothing has helped me resolve my issue. When I connect my phone, ...
1
vote
0answers
2k views

Fails to auto-mount device & Error mounting system managed device(Ubuntu 14.04)

I used auto-mount option in Ubuntu 14.04 for mounting my all drives at startup. All drives mounts automatically on startup except /dev/sda3. (Let me clarify that /dev/sda3 is ext4 file-system and ...
1
vote
0answers
116 views

The disk drive for /mnt/sdc is not ready yet or not present

After adding a new hard disk to my computer I always get this error on startup: I tried to disable automount options with disks and kcmshell4 but the problem persists. How can I solve it? edit: ...
1
vote
2answers
98 views

Prevent mounting a partition in fstab

So I feel really bad for asking this question because it looks like it has been asked a million times on the internet. I am even finding a very consistent answer, and I am not getting any errors when ...
1
vote
1answer
90 views

“MOUNT AT STARTUP” HDD ERROR

Primary my disk is ssd (OS, home) and secondary is HDD for data. When I'm trying to made my HDD "MOUNT AT STARTUP", I'm getting error on startup (see it) when option is "AUTOMATIC MOUNT OPTION" all is ...
1
vote
0answers
104 views

13.10 problems with automount

I have recently updated to 13.10 and there is No automount for usb devices, Unable to shutdown/reboot from the menu, etc. I know about the Thread:(Upgrade to 13.10 - Cannot auto-mount drives) but ...
1
vote
1answer
54 views

How to automatically run a specific command on Live USB on boot?

I can mount my Live Ubuntu partition with this sudo mount -o remount,rw /cdrom what i'm asking is simple.How to make that command running automatically on every Live USB boot ? Thankyou
1
vote
1answer
2k views

Auto Mount USB Drives in Ubuntu 12.04 LTS server

I have a media server that is made from an AllWell STB-6086 box. I have Ubuntu 12.04 LTS server "non PAE Kernel" installed on the box. As of right now my storage media is composed of 4 1TB external ...
1
vote
0answers
86 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...