engineering:computer_science:linux:linux_mount_drive

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.txt
  • Last modified: 2024/08/16 13:56
  • by carlossousa