3

Recently, I upgraded from Ubuntu 12.04 to Xubuntu 14.04.

I have 2 partitions on my computer: One for Windows and one for Ubuntu. I keep all my music and junk on the Windows partition, so when I click on Clementine, I have to click on my windows partition for Clementine to find the song.

I remember I installed some program in 12.04 that automatically mounted partitions, but I can't find it again.

It turned the path to the partition from something like this /media/169821DE9821BD5D/ to something like this /media/sda1.

Anybody know what it is? I just spent the last half hour looking up ways to automount, but none of them was woking with xubuntu. Any help?

A.B.
  • 92,125

4 Answers4

7

From Ubuntu 12.10 onwards, the steps in this answer applies for automounting partitions. The Disks utility (formerly palimpsest) (which is already installed on Ubuntu, but perhaps not on Xubuntu) should be enough. If it isn't installed, click here to install it, or use this command:

sudo apt-get install gnome-disk-utility

Open it, select your disk and partition, and click on the gear icon to get to mount options and enable automount. Screenshots are available in the linked answer.

muru
  • 207,228
1

First you need to make the directory to mount to (e.g.) /mnt/2tb and then you can edit /etc/fstab to create the mount. Fstab will then automatically mount your drive/partition to the directory created at boot.

Kinnectus
  • 131
0

All info above is good - but this is the EASIEST

  • Use the "Disks" application. If you don't have it, you can install it with sudo apt install gnome-disk-utility
  • click on the partition you need to auto mount,
  • click on the little cog wheel [Settings Icon] - for Additional partition options.
  • then Edit Mount Options as you need

1- Toggle 'Automatic mount option' 2- Check 'mount at startup' option 3- Change other settings if you need

Disks Application Image

Mount Options Window Image

[copied from this answer]

0

The best option is to use /etc/fstab file to create a mount even after reboots: The syntax to be followed in /etc/fstab is:

from              to          ext      defaults              0      0
/var/www/abc     /home/abc    ext      defaults              0      0

This mounts /var/www/abc to /home/abc.

details of using /etc/fstab file can be found here