Welcome to FreeSoftwareServers Confluence Wiki

FSTAB is basically a utility that runs mount commands @ boot. You basically take the command line to mount a disk and insert it into FSTAB. But It has a BUNCH of configurable parameters.

Fstab is also used for mounting things like BINDing Directories.

I prefer to mount via label, but you can mount via UUID. UUID's can change if you say move the files to a new disk. So I stick with Labels and use GParted  to Label each drive.

sudo nano /etc/fstab && sudo mount -a


# / was on /dev/sda1 during installation
LABEL="Ubuntu-SE" / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
LABEL="swap" none swap sw 0 0

#NTFS Drives
LABEL="PassP" /exthd/Passp ntfs-3g defaults,locale=en_US.utf8,nofail,nobootwait 0 2
#EXT4 Drives
LABEL="hitachi" /hitachi ext4 defaults,nobootwait,nofail 0 2
#BIND Directories
/hitachi/macrium /srv/samba/macrium none bind 

nofail,nobootwait!! Very Important, if they are not there and the system tries to boot it will fail trying to mount the drives!


  • No labels