Skip to content

Instantly share code, notes, and snippets.

@swyngaard
Last active February 21, 2017 09:17
Show Gist options
  • Save swyngaard/caa26bfbd7ae4f780d802577922a3418 to your computer and use it in GitHub Desktop.
Save swyngaard/caa26bfbd7ae4f780d802577922a3418 to your computer and use it in GitHub Desktop.
Add an EXT4 formatted harddrive to /etc/fstab on Debian
Find the UUID of the partition by running the following command:
$ sudo blkid
Create the mount point under /media as follows:
$ sudo mkdir /media/backup
Add the following line to /etc/fstab to mount the ext4 partition on boot:
UUID=fb72eb53-a418-4152-b63e-d16256e81134 /media/backup ext4 defaults,user 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment