MAIN MENU

Training Media
Click here to visit Spidertools.com.
GP2X Portable
Media Player
GP2X In Stock NOW!! Games, Ebooks, Movies, Photos, Divx, OGG, mp3, Tv out, USB 2.0,
Click and get a GP2X

YaFSUG: Projectz.

Project: THT - Ubuntu 6.06 LTS - NTFS 3G.

Adding NTFS support to my Ubuntu 6.06 LTS operating system:
By Vincent Angus Williams - scribe63

Screenshots: VIEW

As the Chinese proverb says :
"Tell me and I'll forget. Show me and I'll remember. But involve me and I'll understand."

Intro Install Config Usage Conclusion

Configuration:
A menu label and icon for the ntfs-config application was located in for > Applications > System Tools > NTFS Configuration Tool.
To see a little bit more verbose messages, to easily continue with the automatic set up, i did;
$gksu ntfs-config
To my surprise, the ntfs "/dev/sda1" partition was detected and configured, the application also suggested a mount point using the label of the disk "/media/VID-00" The instructions on the dialog were to;
- select the partitions you want to configure
- add a name for the mount point
- Click on apply
Since i agreed the with the detected information i checked the "Add" check box for the partition and mount point and Clicked Apply.
I was then presented with the option of enabling write support for an internal and or external device.
I went along with the already checked option for an internal device, at this point i have no external ntfs devices, so i left that option unchecked and clicked ok.

That was the end of the dialog prompts.

NTFS-3G Config NTFS-3G Config
I then checked "/etc/fstab" to see what was entered, and all the needed parameters were there. My only concern is that i did not want this partition to be automatically mounted upon boot up, so i changed the mount options which included all of the "defaults" parameters except for the mount options "auto,nouser", like so;
# Added 2007-02-12
# Original
#/dev/sda1 /media/VID-00 ntfs-3g defaults,locale=en_US.UTF-8 0 0
# Changed
/dev/sda1 /media/VID-00 ntfs-3g rw,suid,dev,exec,noauto,user,async,locale=en_US.UTF-8 0 0
NTFS-3G Config NTFS-3G Config
Manual Configuration :

When all is install correctly, we need to configure the NTFS partition to be mount by ntfs-3g. External device are automatically configure when plug, so you don't need to do this part for them. To know first the name of your NTFS partition, type in a terminal:

Code:
sudo fdisk -l | grep NTFS
you will see in the first colone, the name of your NTFS partition(s).
Now you need to configure them in /etc/fstab. We will also make a backup of this file. In a terminal, type:
Code:
sudo cp /etc/fstab /etc/fstab.bak
gksu gedit /etc/fstab
locate the line of your NTFS partition. If they are there, just change them so it looks like that:
Code:
/dev/ /media/ ntfs-3g defaults,locale=en_US.utf8 0 0
(of course replace & by your configuration)
If your partition is not there, you'll have to first create a directory where you would like to mount it :

Code:
sudo mkdir /media/
and add a line at the end of the file like the one above.

Tips: You can change your locale option ( for ex locale=fr_FR.utf8 ). Execute 'locale -a' in a terminal to know which one are supported by your system. Tips2: If you want to now more about the option available, have a look at 'man ntfs-3g'
Now remount all your drive

Code:
sudo umount /dev/
sudo mount -a
or simply reboot.


©2006 - 2013 YaFSUG all rights reserved.
All respective © Owners all rights reserved.
------
RESOURCES

Web Site Hosting
Web hosting services
Get $25 off on sign up
Click Button Above
or Enter YAFSUG97PROMO
Get good prices on
Books, ETC,.