Dec 30, 2008

Mount NTFS / FAT32 Windows Drive In Ubuntu

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

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.

1 comment:

Anonymous said...

1) why not just use the file browser to mount? That's what I do and it works for me...
2) what I'd like to do but don't know how, is to have my windows partition mount automatically when the computer starts in linux. do you know how to do this?