Here’s Two Methods to Mount Automatically NTFS Drive in Ubuntu 12.04
If you are using dual booting (windows 7 and ubuntu 12.04) on your PC/Laptop and want to mount automatically Windows NTFS partitions in Ubuntu. this tutorial is going to show you how Mount Automatically NTFS Drive in Ubuntu 12.04. Now Ubuntu comes with support for NTFS partitions right out of the box. No need to install third party apps to make this work as you would previously.
It can be partitions on internal/external IDE, SCSI drives, or thumb USB drives. Wherever the partition lives, you should be able to auto mount it in Ubuntu. This will allow you access to data on the drive from Ubuntu without re-partitioning it.
Need to Know your Ubuntu does not automount the NTFS partition by default. Everytime you need to access the NTFS partition, you have to first go to your Nautilus and click on the NTFS drive (and enter your password) to mount it before you can access it.
Two Methods That Allow Ubuntu User to Mount Automatically NTFS Drive in Ubuntu 12.04
Method 1: Mount Automatically NTFS Drive in Ubuntu 12.04
Open terminal by pressing Ctrl+Alt+T or via untiy by typing “terminal” run the commands below to view all partitions on your system. At this point, the drive should already be attached to your Ubuntu Computer
you’ll be able to see the device id (UUID) and the file system types. Record the device ID as we’re going to be using it.
make directory to mount windows partition at directory /mnt with command below, in this case I’ll be make directory with name ntfs1
sudo mkdir /mnt/ntfs1
/dev/sda1: UUID="1ED2BF7ED2BF58AB" TYPE="ntfs" /dev/sda3: UUID="389c1b4e-1337-4e28-8284-d3dc0d974e2c" TYPE="ext4" /dev/sda6: LABEL="data" UUID="01CB374CDA516280" TYPE="ntfs" /dev/sda7: UUID="f5a2bd44-18b4-44f0-9f3c-7adc07fe9f6d" TYPE="ext4" /dev/mapper/cryptswap1: UUID="5dd3b356-d232-48cc-bee1-2f8361382be4" TYPE="swap"
Make yourself owner of the mount point with commands below
sudo chown <username> /mnt/ntfs
Open the fstab file, it require root permision
sudo -i nano /etc/fstab
add the line below at the bottom
UUID=xxxxxxxxxxx /mnt/ntfs1 ntfs users,defaults 0 0Example file /etc/fstab:
UUID=389c1b4e-1337-4e28-8284-d3dc0d974e2c / ext4 defaults 01 UUID=f5a2bd44-18b4-44f0-9f3c-7adc07fe9f6d /home ext4 defaults 02 UUID=d5842ffd-7113-47d9-8135-44b5fe23b792 none swap sw 0 0 UUID=01CB374CDA516280 /mnt/ntfs1 ntfs users,defaults 0 0
Save then Restart your Ubuntu computer and now your windows partition will be Mount Automatically when startup.
Method 2: Mount Automatically NTFS Drive in Ubuntu 12.04
In method 2 about Mount Automatically NTFS Drive in Ubuntu 12.04, If you want the Windows partition permanently mounted at start up, there’s a graphical program for that called NTFS Configuration Tool or ntfs-config
First install NTFS Configuration Tool in ubuntu 12.04 with command below:
sudo apt-get install ntfs-config
After installation NTFS Configuration Tool it will not work, Now you can fix with Enter the following commands below:
sudo mkdir -p /etc/hal/fdi/policy