While I was reading about storage media I learned that there's a file called fstab
which lists the devices that are to be mounted at boot time.
However, the example here is different from my fstab
file.
My file looks like this :
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=b8a822c2-467f-4914-a28a-34f0553926ac / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0e14018c-81db-43d4-9bb3-84074f7e9226 none swap sw 0 0
The normal one (I guess) looks like this :
LABEL=/home /home ext3 defaults 1 1
What is wrong with mine?
/dev/sda1
can change on reboot. There is absolutely nothing wrong with yourfstab
file. – Terrance Jul 15 '16 at 5:24man 5 fstab
. That explains it all. – waltinator Jul 15 '16 at 5:33