My ubuntu 8.10 was installed from winXP, and it doesn’t automatically mount ntfs drive,so I mount manually when a ntfs drive with something I need

Someone may have the same problem,and I will show you how to deal with it.

1.Open a terminal window and type

Code:

sudo fdisk -l

you need to remember location of the drive you want to auto-mount,and in my case it is /dev/sda6

2.Create a file as the mount point by typing

Code:

sudo mkdir /media/mpoint

3.Type following code in terminal window

Code:

sudo gedit /etc/fstab

you will be presented with the fstab file,it lists where to mount the drive

snapshot29

4.At the end of the fstab file add following:

/dev/sda6      /media/mpoint ntfs-3g    default  0   0

snapshot32

then save and close it.

Now you can test by typing:

Code:

sudo mount -a

Tips:

you can change the drive name by typing following code,and the drive must be unmount first

Code:

sudo apt-get install ntfsprogs
sudo ntfslabel /dev/sda6 jmk

restart,and you will see disk “jmk” on the desktop

snapshot31