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

learn more… | top users | synonyms

47
votes
7answers
54k views

How to automount NTFS partitions ?

I have two NTFS partitions, and I don't want to mount them everytime I start Ubuntu. How can I do this ? Is there a tool or a code to use? If so, is it safe to automount? specially when they are ...
25
votes
3answers
21k views

How to disable automount in nautilus's preferences

I am using Ubuntu 11.10 (64 bits) and I do not want to mount automatically USB thumb drives in my system. I tried the command dconf-editor and gconf-editor but there isn't the icon to disable it in ...
24
votes
2answers
8k views

Disable auto-opening nautilus window after auto-mount

Every time I plug a USB stick in, nautilus opens a new window with the contents of the drive. I would like to disable this auto-opening of the nautilus window, but I would like the actual auto-mount ...
24
votes
6answers
21k views

Automatically mount NTFS drive when I login

I use Ubuntu 11.10 and Windows7 dual boot with Ubuntu as my primary OS. Every time I need to access a document I need to mount the respective drive, though this is not at all tiresome, still, is ...
22
votes
1answer
1k views

Is Ubuntu vulnerable to recent exploits using USB sticks and automount?

I read recently that someone demonstrated a security attack on a PC via the use of automount and a USB stick. How vulnerable am I to this attack and what steps are developers doing to be proactive ...
19
votes
4answers
2k views

CLI mounting vs. GUI mounting

On Ubuntu 12.10, when I want to mount a hard drive, I can just click on the unmounted drive and everything works fine (by mounting to /media/username/partitionlabel). Basically, I would like to do ...
17
votes
9answers
52k views

How to auto mount my external hard drive?

On login, ubuntu 10.10 would not mount external hard drives automatically, While ubuntu 10.04 mount them on login. I've tried Storage Device Manager but it give error when external hard is not ...
15
votes
3answers
15k views

How to configure the default automount location?

I recently upgraded from Mint 12 to Ubuntu 12.10 + Cinnamon. I have an external usb drive that when I plug it in, automatically mounts to /media/[username]/Backup/. Thing is, under Mint, it didn't ...
15
votes
3answers
89k views

How do I correctly mount a NTFS partition in /etc/fstab?

After a nasty episode (my second, you'd think I'd learn) caused by unsupervised automated podcast downloads filling my entire partition, I've finally moved just ~/Music to its own partition. The ...
12
votes
5answers
61k views

How to make hdd's mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
11
votes
1answer
2k views

How to understand the flow of USB detection?

I would like to understand the flow of the USB events form the Kernel space to the User space (just out of my curiosity, in knowing how things are implemented). To be more clear, I would like to ...
11
votes
3answers
2k views

Audio CDs will not Auto-mount Correctly

When I try to play any audio CD in Ubuntu 10.10 the following message appears. What is causing this problem with mounting an audio CD in the Ubuntu environment ? I need to resolve this issue ...
10
votes
2answers
1k views

What happens under the hood when an USB drive is inserted?

Some systems use udev / pmount to automatically mount thumbdrives. How is that solved in Ubuntu (specifically, Ubuntu 12.04)? Apparently, neither the pmount package nor the corresponding udev rules ...
10
votes
2answers
7k views

Virtualbox shared folder mount from fstab fails; works once bootup is complete

I've got Ubuntu 13.10 installed in Virtualbox 4.3. The host machine is Windows. I have a couple of Virtualbox shared folders being mounted by /etc/fstab. Until recently this setup worked just fine, ...
10
votes
0answers
5k views

How to mount NTFS drive at startup [duplicate]

Possible Duplicate: How to automount NTFS partitions? I'm not even sure if this is the right question, but basically I have a partition with Windows 7 on it (named Acer in my Ubuntu places ...
9
votes
2answers
1k views

automatic mount any external drive under /media with read/write access to everyone

Here is my issue: My computer has 4 USB ports and is running Ubuntu 12.10. I receive different USBs every day, plug to my computer, read/write data to them, and then send them away. What I want is ...
9
votes
3answers
5k views

How can I get rid of the motd message “*** /dev/sdb1 will be checked for errors at next reboot ***”? [duplicate]

My motd persistently has: *** /dev/sdb1 will be checked for errors at next reboot *** The problem is that I don't have /dev/sdb1 on my system. I only have /dev/sdb2 (mouted as /) and /dev/sda1 ...
8
votes
2answers
16k views

How to auto mount a flash drive with root and read/write/execute privileges

I have an issue with mounting my Flash drive on Ubuntu 10.04 with write privileges. It's currently partitioned as Fat32 with Label KINGSTON but when I insert it into the Laptop it reads it as usb0, ...
8
votes
4answers
6k views

Automatically mount sshfs on startup?

Is it possible to automatically mount a sshfs filesystem whenever the connection goes up?
8
votes
2answers
23k views

CD/DVD drive not mounted when inserted with Disc of any kind

I just noticed that if a insert a CD or a DVD of any kind, the Drive will start spinning but it will not show the mounted disc. Earlier it used to ask me what to do with the media inserted. Now it ...
8
votes
2answers
6k views

Is setting default mount options for udisks really not possible?

I want to mount usb drives with option flush (or sync). I'm using Kubuntu 10.10 and as far as I understood udisks is responsible for the mount options. I've read various threads and two solutions ...
7
votes
4answers
5k views

Securely automount encrypted drive at user login

An encrypted /home directory gets mounted automatically for me when I log in. I have a second internal hard drive that I've formatted and encrypted with Disk Utility. I want it to be automatically ...
7
votes
2answers
1k views

How to mount an internal HDD on start-up?

I have a 500GB internal HDD where I store all my music and photos but it is annoying to manually mount it after a restart and I was wondering how to mount it automatically and make it available to ...
7
votes
2answers
29k views

Automount ext4 partition with user permission/ownership (fstab?) [duplicate]

I just installed Lubuntu 12.10 "Quantal Quetzal" on my Acer Aspire One D257, creating the partitions: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 15G 2.1G 12G 15% / ...
7
votes
4answers
6k views

Mounting Samba share whenever it's available, unmounting when it's not

I am trying setup permanent samba share mounts. That's not too hard using these instructions. But, I want them to Automatically remount whenever I join the network where these shares are available. ...
7
votes
5answers
988 views

AutoMounting hard disk partions

Dear all, How can I auto-mount all my hard disk partions ??
7
votes
6answers
10k views

Ubuntu Nexus 7 as USB device does not work

I connected USB cable from Nexus 7 running Ubuntu to my Ubuntu laptop but there is no new USB device found when I run lsusb. Is this function supported?
7
votes
2answers
2k views

Trash works on NTFS when mounted by Nautilus, but not when automounted via /etc/fstab

I have 2 "data" drives. One is ntfs, the other is ext4. The Trash works for both drives when I allow Nautilus to handle the mount. I've opted to auto-mount them via entries in /etc/fstab, but ...
7
votes
2answers
2k views

Prevent a specific USB device from auto-mounting

I want to stop a USB device from automounting in Ubuntu 13.04. For example, when I connect my iPhone 5 to my desktop I am consistently prompted for what I want to do (whether or not I want to erase ...
7
votes
1answer
312 views

How to auto-mount a copied encrypted home

How can I auto-mount and use my encrypted home that I copied to another partition on the same hard disk? I'm running Ubuntu 11.10. My encrypted home is on sda1. There I've 2 users: userA and userB. ...
6
votes
4answers
2k views

Loading Dropbox on start-up when my Dropbox folder is on separate partition

My Dropbox folder is on another partition on my harddrive and Dropbox loads on start up. But since the separate partition has't been opened yet, Dropbox complains that my Dropbox folder is missing. So ...
6
votes
7answers
13k views

How can I get a USB floppy drive to work?

I have a Toshiba USB floppy drive that I need to use under Ubuntu. When I connect it, and insert a floppy disk in it, I do not see anything mounted under Ubuntu 10.10. I was suspecting the hardware ...
6
votes
1answer
7k views

How to mount partition permanently?

I am using Ubuntu Minimal + LXDE. I am wondering how can I auto-mount a partition (internal) on boot automatically. Currently I do something like mount /dev/sda3 /works But I want it to be ...
6
votes
1answer
936 views

How to get permissions to compile a C program from NTFS hard drive?

I have this problem: I'm used to compile and run .c files with codeblocks. If I do that from my Desktop (ext partition) it works without problems, but doing this from my secondary hard drive (NTFS ...
6
votes
1answer
986 views

Auto-mounting an encrypted USB hard drive

How can you configure a headless Ubuntu server to auto-mount an encrypted USB hard drive? I found this similar question, which explains how to mount the drive from the command line, but the author is ...
6
votes
1answer
148 views

How do we use mounted DVDs with multiple accounts without ejecting the disk?

I'm sharing my PC with my wife and my sister on regular basis. There are several issues when we switch from one user to another, such as the NetworkManager icon being present only on the first account ...
5
votes
2answers
2k views

Don't automatically open the folder of mounted devices [duplicate]

I usually charge my phone through a USB connection. Due to Ubuntu 13.04 detecting and mounting it, Nautlius automatically opens the mounted folder. Can I stop Nautlius from automatically opening the ...
5
votes
4answers
2k views

How to automount a partition on login?

I have my musics in another partition of the HD, and I would like that, on login, the partition to be auto-mounted, so I can just open the media player and listen to my music. Is there a way?
5
votes
2answers
2k views

How to mount all partitions at system startup

Hello I searched for this query(mounting all partitions on system startup) and found answer near to it. I added this command to startup applications "/usr/bin/udisks --mount ...
5
votes
2answers
5k views

How do I change the automount point?

In Ubuntu 12.10 automount point has changed from /media/xyz (like was in 12.04) into /media/"username"/xyz. This is a problem for me because I've my photos into an external usb HDD and Shotwell ...
5
votes
1answer
1k views

How to automount removable devices with options?

I'd like to automount (using the XFCE desktop) USB devices with Btrfs. This works as with any other filesystem just by plugging it in and waiting for two or three seconds for it to appear under ...
5
votes
1answer
544 views

“Documents on XXXX's iPhone ” folder opens up when I plug in my iPhone

Everytime I plug my iPhone into my computer (Ubuntu 11.10) a folder pops up titled "Documens on Jamie's iPhone." How do I stop this? Initially it asked me what I wanted to do,but I must have hit ...
5
votes
3answers
5k views

Default mount options on auto-mounted NTFS partitions (how to add `noexec` and `fmask=0111`?) [closed]

I use auto-mounting of external USB devices, and it works as expected, except that NTFS partitions are mounted with executability flag on. For example: /dev/sdb1 on /media/Elements type fuseblk ...
4
votes
5answers
5k views

How to automount my Windows partition at boot?

I have a dual boot Windows 7, Ubuntu 11.10 system. Ubuntu was pretty much a vanilla installation and it was able to automount my two Win partitions. I used to see them in Nautilus. To recover this ...
4
votes
3answers
9k views

Where is VirtualBox shared folders mounted in a virtual guest?

When running Ubuntu as a VirtualBox, where is the automount of the shared folders? It's not in /etc/fstab so where else could it be?
4
votes
4answers
420 views

How can I prevent a standard account to mount a specific partition?

I have a root account from which I do all of my tasks. I set up my partitions to mount at startup. I have also created an account for my younger brother. I do not want him to access specific ...
4
votes
2answers
921 views

Nautilus uses different permissions for mounted drives

I've written two bash scripts to give read-only or read/write access to my NTFS partition: read-only access: sudo umount /media/Data_Drive/ sudo mount -t ntfs-3g -o ...
4
votes
2answers
10k views

How do I auto mount my partition?

I've a partition on /dev/sda2 of 279 GB Ext4 filesystem, but I'm not able to auto mount it on login. I've added the partition entry /dev/sda /home ext4 defaults 0 0 in /etc/fstabt still it ...
4
votes
2answers
3k views

How to Automount folder as C: in Dosbox

I have had a look at the community documentation here and there doesn't seem to be any information about how to "Automount" a folder as the C: drive in Dosbox. Also as a bonus is it possible to ...
4
votes
1answer
7k views

Which usb_modeswitch.d file do I need to use?

How do I configure usb_modeswitch on Ubuntu 10.04? When the device is pluged in lsusb gives: oshirowanen@laptop:~$ lsusb Bus 001 Device 004: ID 19d2:0103 ONDA Communication S.p.A. When I eject ...