Automount drives

From MEPIS Documentation Wiki

Jump to: navigation, search

1. Edit /etc/fstab file, start kwrite as root and open the file. (or type kdesu kwrite /etc/fstab in konsole).
2. Change noauto to auto for the drives you want automounted.

For example, change:
/dev/sda5 /mnt/sda5 auto noauto,users,exec 0 0
To:
/dev/sda5 /mnt/sda5 auto auto,users,exec 0 0

Pay attention which auto you change, you might have an auto keyword immediately after the partition name, that's for autodetecting the partition type, if you change that you'll get errors.
3. Move the entry to static portion of the file (upper part of the file). This link explains why you need to do this.
4. Save file.

See also:

Personal tools
In other languages