Gangmax Blog

Update fstab to Mount Secondary Disk

From here, here and .

  • Use the following command to get the UUID of the secondary disk:
1
2
# Assume your secondary disk is "/dev/sdb" and has only one partation.
sudo blkid /dev/sdb1
  • Add the following line into the “/etc/fstab” file:
1
2
3
# Assume mount the partation to the "/home/user/mount" directory.
UUID=8eec26f6-7fea-46d6-b385-f5ba13c24f5e /home/user/mount ext4 defaults 0 2
# About the meaning of the columns you can read the reference links.

Done.

Comments