Mount NTFS / FAT32 Windows Drive In Ubuntu

December 26, 200815 Comments
Advertisement

Recently I got my ubuntu Cd’s shipped to my home place, I was so curious to try ubuntu desktop edition which can be easily installed and configured with dual boot on my hp tx1000 laptop which had vista previously installed. After installation Ubuntu easily integrated and add a new entry with in the vista bootloader.

But the most disappointing thing I noticed in ubuntu is that I was not able to access the songs and other files which were there in the windows drive from ubuntu.

So, if you are facing the same problem don’t worry as I have the solution for you, Lets see how I solved the problem and mounted the windows ntfs and fat32 drive in ubuntu.

1. Open terminal in ubuntu

2. Type the following command

sudo /bin/bash

Note: Now type the password of the root user in ubuntu

3. Now, type the following command

mkdir /media/windisk

4.  Now, you need to force mount the ntfs drive of windows by typing the following command

For Mounting NTFS Drive, type the following command

Advertisement

mount -t ntfs-3g /dev/sda1 /media/windisk -o force

For Mounting FAT32 Drive, type the following command

mount -t vfat -o umask=000 /dev/sda1 /media/disk

You can change the parameter in the above command /dev/sda1 to change the windows drive to mount, In order to get the listing of the windows drives type the following command

fdisk -l

5. Now, to access all the windows files browse to computer and open file system

Open Filesystem, browse to media/windisk to see all the contents of the drive you mounted.

Note: Make sure to close the terminal after you are done with mounting your windows partitions as the terminal is running as super user so may accidently run some commands which may harm you.

Filed in: ubuntu tips
Tagged with:

About the Author ()

Author + Admin: Abhishek Bhatnagar - Professional blogger by passion, Software Enggineer. I love to write about useful computer tips & tricks. Connect with me at twitter or on google+ profile or mail me at abhishek@technixmedia.com or know me more on www.abhishekbhatnagar.com

Comments (15)

Trackback URL | Comments RSS Feed

  1. Shantanu Goel says:

    Why do run “sudo /bin/bash” in the beginning? Its better to use sudo with each of ur rest of the commands than this method otherwise u run the risk of running any other commands as super user as well unintentionally if you keep that terminal window open. And it is not advised to use the -force option while mounting the NTFS drives. The drives should mount just fine without it. If they don’t then just log into windows and shut down properly and then try again.

  2. abhishek says:

    @Shantanu Goel – Well sudo/bin/bash is required to run the force command to mount ntfs or fat32 partition. normally windows drive get mounted automatically but trying many times and with proper shutdown of windows i was not able to access my windows drives so I used this option. but i got your point that we should close that terminal after doing all this so that one cannot run into any trouble. :) updated the post about the same.

  3. Sathya says:

    Err, I’d advise you to do some research before hand. /bin/bash invokes the bash shell which in this case is not needed as the terminal itself is a bash shell :roll: just prefix sudo to each of the commands, they’ll do fine. As Shantanu said, there’s no need to use the force option – it just might corrupt the data and people would come runnin saying Ubuntu corrupted the data. If your Windows drives are not being mounted out of the box then either you Hibernated your Windows login, or the drive has some errors in which it doesn’t get mounted to prevent data from getting corrupted

  4. abhishek says:

    @Sathya – Well you are right i could have used the sudo as prefix with all the commands to do the same. :) As far as the automatic mount is concerned i m using hp tx1000 hp laptop with FUJITSU MHV2120BH PL SCSI Disk, and what ever i do the one of my ntfs drive does not mount when I boot in ubuntu even if I do a clean shutdown in windows so i have to use the force command to access the contents, This command does not corrupt any data on the windows drive, This command tells Ubuntu to use the ntfs-3g driver, and force mount even if there is a problem. I m just a newbie linux user not an expert so used the way that worked fine, it does not harm me so shared with others.

  5. ALZAIN says:

    HI MAN YOU ROCK..THANK YOU.

  6. DJ says:

    This did the trick for me when all else failed. Thanks dude, I appreciate it.

  7. Thiagu says:

    any mounting tool ? [ like in puppy linux ]

  8. Per says:

    THANK YOU! Been searching everywhere, I can’t believe the solution was that simple! Thanks a lot!

  9. digambar says:

    Thanks alot

  10. Dhruv K says:

    You saved my data!! Thank you, thank you, thank you!!!

  11. JP says:

    Mine is still not working, my ext hdd works in windows but nothing in ubuntu, thanks i’m a total newbie to linux. any ideas?

  12. Manoj says:

    it gives an error: unknown filesystem type ‘ntfs-3g’ I have checked, my system type of the drive is HPFS/NTFS. Please help.

  13. santy says:

    dude this is not working……….. this is given in ubuntu also………..

  14. Alex says:

    Thank you!

Leave a Reply

Back to Top