How to Access Windows Files in Ubuntu

Install gparted (System → Administration → Synaptics Package Manager → search for gparted, mark it for installation and, when it installs, run it from System → Partition Editor)., Having located the partition, write down the name – it will look...

13 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Install gparted (System → Administration → Synaptics Package Manager → search for gparted

    Look for an NTFS partition – it is likely to be the one windows is on.
  2. Step 2: mark it for installation and

    Do this carefully – Now check to see if this is the partition by manually mounting it and looking at the files. , You will be prompted for the root password and will then become root.

    Being root assumes that you know what you are doing – you could easily cause disaster if you make a mistake, so concentrate.

    Carefully type this line at the prompt and press enter ,, Now, having created the directory that is going to hold your windows files, type the following command carefully at the prompt and press enter ,, Now access the mounted drive and ensure that you can read the files by going to Places → Computer and navigating to /mnt/windows.

    If you can see your files, you are all set.

    If not, you've mounted the wrong drive, unmount it using umount /dev/sda2, making sure that you use the correct name for your drive.
  3. Step 3: when it installs

  4. Step 4: run it from System → Partition Editor).

  5. Step 5: Having located the partition

  6. Step 6: write down the name – it will look something like /dev/hda2 or /dev/sda2

  7. Step 7: depending if your drives are PATA

  8. Step 8: SCSI or SATA.

  9. Step 9: Open a terminal (Application → Accessories → Terminal) and make yourself root by typing sudo -s and pressing enter.

  10. Step 10: mkdir /mnt/windows

  11. Step 11: You may replace /mnt/windows with /mnt/windrv or any other name you prefer.

  12. Step 12: mount -t ntfs /dev/sda2 /mnt/windows -o "umask=022"

  13. Step 13: Make sure you replace /dev/sda2 with the name of the windows partition you wrote down.

Detailed Guide

Look for an NTFS partition – it is likely to be the one windows is on.

Do this carefully – Now check to see if this is the partition by manually mounting it and looking at the files. , You will be prompted for the root password and will then become root.

Being root assumes that you know what you are doing – you could easily cause disaster if you make a mistake, so concentrate.

Carefully type this line at the prompt and press enter ,, Now, having created the directory that is going to hold your windows files, type the following command carefully at the prompt and press enter ,, Now access the mounted drive and ensure that you can read the files by going to Places → Computer and navigating to /mnt/windows.

If you can see your files, you are all set.

If not, you've mounted the wrong drive, unmount it using umount /dev/sda2, making sure that you use the correct name for your drive.

About the Author

A

Ann Roberts

With a background in science and research, Ann Roberts brings 2 years of hands-on experience to every article. Ann believes in making complex topics accessible to everyone.

62 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: