Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 413 Bytes

006_auto-mount_hard_drive_on_ubuntu.md

File metadata and controls

28 lines (18 loc) · 413 Bytes

How to automatically mount second hard drive on Ubuntu

1. Edit fstab

sudo nano /etc/fstab

Add a line to describe your drive

UUID=17c16659-0f69-4fb7-9d2c-05c6853e8241 /media/florian/hdd2 ext4 defaults

To find the UUID of the hard drive, you can use the command

sudo blkid

2. Apply changes

To apply changes, you can use the command

sudo mount -a