Monday, March 2, 2009

Mount NTFS / FAT32 Windows Drive In Ubuntu

Mount NTFS / FAT32 Windows 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.

For permenantly mount add the following line in /etc/fstab

/dev/sda1 /media/disk ntfs rw,umask=0222 0 0



No comments: