Powered By Blogger

Friday, February 29, 2008

How to mount FAT & NTFS file system on UBUNTU (Gutsy)

Mounting windows file systems on Ubuntu is very simple task to do. First, open your terminal and execute as root. To do this follow the below commands.

1. su - (this if you're not going to use sudo command)

You will be prompted for your password. Just enter your root password.

2. Go to /media and create a directory for your device. Execute this command

cd /media
sudo mkdir "your directory name"
(ex. sudo mkdir usb)

3. Then it's time to mount your device. Be sure that you know its device node(sdc, sdb, sda are the examples of this).

sudo mount -t "type of file system"-3g /dev/"device node" /media/"directory name you've been created"

ex. sudo mount -t ntfs /dev/sdb1 /media/harddisk1
sudo mount -t vfat /dev/sdb2 /media/harddisk2

Just provide your root password if asked.

NOTE! 3g is only applicable in ntfs file system.

That's all!

No comments: