Automount Windows partitions in Ubuntu (Linux)

Ubuntu, Fedora and other flavors of Linux provide a simple way of just clicking on the available partitions and it will mount them for you as soon as you click them.

But what if you need to automount them so that whenever you boot the system, they are already mounted. Follow the below instructions:

Get a list of the UUIDs of the drives

sudo blkid

In my case I have C: and D: drives that I like to mount to Ubuntu.

Open the fstab file for automounting

sudo vim /etc/fstab

Add the following lines (Change in your case):

UUID=	/media/Windows	ntfs	default	 0	0
UUID=	/media/Data	ntfs	default	 0	0

Create the folder for mount point

sudo mkdir /media/Windows
sudo mkdir /media/Data

Finally, reload the new settings:

sudo mount -a
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