engineering:computer_science:linux:linux_mount_drive

This is an old revision of the document!


Mounting a Drive in Linux

Make a folder to mount the drive to:

mkdir -p /mnt/data

Edit the fstab file

nano /etc/fstab

With your information

LABEL=storageprox /mnt/data ext4 defaults 0 2

Mount the new drive. If you get an error, comment out (#) the fstab entry

mount -a
  • engineering/computer_science/linux/linux_mount_drive.1723809388.txt.gz
  • Last modified: 2026/01/11 15:45
  • (external edit)