Posts Tagged ‘mounting’

Mounting internal disks

Tuesday, June 7th, 2011


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.