Make Windows partitions automatically available

Windows partitions should be automatically available from Ubuntu. If they are not, the following procedure will make them automatically available:

  1. Read the section called “Check disk space usage and view the partition table”

  2. First make a directory where the partition can be made available ("mounted"):

    sudo mkdir /media/windows
  3. Next, back up your disk configuration file and open the file in a text editor with administrative privileges:

    sudo cp /etc/fstab /etc/fstab_backup
    sudo gedit /etc/fstab
  4. Append the following line at the end of file:

    /dev/hda1 /media/windows ntfs umask=0222 0 0


    Replace /dev/hda1 with the correct device name for your partition.

    If your Windows partition uses the FAT32 filesystem, replace ntfs with vfat in the above command.

    If you have a FAT32 filesystem, it is also safe to allow read-write access. To do this, change the value of umask to 0000.

  5. Save the edited file (an example).

  6. The changes will take effect when the computer is restarted.