FSTAB

Edit fstab:

nano /etc/fstab

Mount disk:


UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx /mounting_dir ext4 defaults 0 0

Different partitions types: ext4, ext2, ext3, reiserfs, xfs, jfs, smbfs, iso9660, vfat, ntfs, swap, auto

Mount nfs share:

server.ip.address:/server.dir /local.mounting.dir nfs defaults 0 0
Mount samba share:
//server.ip.address/share.name /local.mounting.dir cifs username=user,password=password 0 0

share.name NOT dir.name!

“Reloads” fstab for changes to take effect:

mount -a 

Leave a Comment

Tested on Ubuntu & Pop OS