Mounting internal disks


List disks/partitions:

sudo fdisk -l

List UUIDs

sudo blkid

Automatically mounting a drive on startup

Open fstab:

sudo gedit /etc/fstab

To mount my ext2 drive I pulled from my other computer, I added:

UUID=UUID_FROM_blkid /MOUNTPOINT ext2 relatime 0 2

Where UUID_FROM_blkid is the UUID retrieved using sudo blkid and MOUNTPOINT is the directory where you want the drive mounted.

Tags: ,

Leave a Reply