How to Mount Internal Hard Disk Drives Using Terminal in Linux Distros

You can easily mount internal hard disk drives using any GUI file manager in Linux distros. But using terminal emulators as a file manager is fun and it gets the work done without fuss. So, here’s the procedure:

  • See which drive you have to mount using lsblk command in terminal:

lsblk

  • This would show you theavailable storage devices. Find your drive from here. Find the exact name e.g. sda4.
  • Now, create a directory in /media with any name.

mkdir /media/any_name

  • Now mount this disk drive in this any_name directory.

mount /dev/sda4 /media/any_name

  • Alternatively, you can create temporary directory in /mnt, e.g.

mkdir /mnt/any_name

And then,

mount /dev/sda4 /mnt/any_name

  • Here I’ve given example with the sda4 disk drive. You can use any, or to be precise, the disk drive you want.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s