Mounting Windows Partitions in Ubuntu at Startup

In a multi boot Windows-Linux scenario, there are cases that you may want your NTFS/vFat partitions to be automatically mounted during boot. Specially when you have a shared NTFS data partition.

There are several ways to accomplish this ..

.. the most definite solution is to edit `/etc/fstab`. The fstab file contains filesystem entries which is necessary for the mountall upstart init process to mount partitions during boot time.

But in my case, I’ll use hassle free ‘NTFS Configuration Tool‘ which will automate things for us. `ntfs-3g` driver is required to provide full read-write support for the NTFS partition and `gksu` to run NTFS Configuration GUI with root privileges.

sudo apt-get install ntfs-3g ntfs-config
sudo apt-get install gksu

Search for and open ‘NTFS Configuration Tool’ from the Unity Dash.
In the window that appears select the partitions you want to configure. Here, I would prefer to have only my storage partition mounted. Just tick ‘Enable write support for internal device’.

NTFS Configuration Tool

NTFS-Config Utility will backup the orginal fstab file, so we can easily review the changes that were made by the application. To review the changes,

cat /etc/fstab-ntfs-config-save
cat /etc/fstab

# Sample /etc/fstab for dual boot BTRFS system
[partition] [mount point] [type] [options] [dump] [pass]
# Entry for Linux root :
UUID=909ca35f-###-04e7f2637807 / btrfs defaults,[email protected] 0 0
# Entry for EFI partition :
UUID=4A42-4DF8 /boot/efi vfat defaults 0 2
# Entry for Ubuntu Home :
UUID=36e82093-###-5349230222db /home btrfs defaults,[email protected] 0 0
# Entry for shared storage partition :
UUID=7B96310A07E7125C /media/Storage ntfs-3g defaults,locale=en_US.UTF-8 0 0
  • [DUMP] enables backing up of the device and is usually set to 0.
  • [PASS] entry is used to enable disable fsck checks on the devices during boot time. Root partition is set to 1 for the highest priority, except for BTRFS filesystems which does not require integrity checks (according to, so should set to 0.

Non-Unix filesystem types such as ntfs and ntfs3g are set to 0.

EXT4, NTFS Fstab example:

[mount point] [type] [pass]
/ ext4 1
/home ext4 2
/media/windows ntfs-3g 0

To manually edit the fstab,

# List all your partitions with their corresponding UUIDs
sudo lsblk --fs
# Edit fstab
sudo gedit /etc/fstab

find uuid of disk partition

Once saved, restart for the changes to take effect.

Leave a comment

Your email address will not be published. Required fields are marked *