NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Other Tips, Tricks and Tutorials

Other Tips, Tricks and Tutorials


Installing NTFS Write Support on Fedora/Ubuntu

Mounting your NTFS partitions and making them readable/writable.

By Mihai Marinof, Linux Editor

30th of November 2006, 09:00 GMT

Adjust text size:


Some of the new Linux users are running their machines as dual boot with Windows. Mounting NTFS partitions in Linux as read-only has always been a rather challenging task. Mounting them as with read-write permissions is even harder, not to mention that this feature has been made available since a little while ago. Keep in mind that the support for mounting NTFS partitions with write permissions is still in the early stages and therefore, not perfectly secure. If you decide to give it a try, don't hold me responsible for any damage occurred to your hard-drive and/or to the files on it. You have been warned.

For mounting NTFS partitions we're going to use a small tool called NTFS-3G, which is very powerful but yet, so simple.

Install NTFS write support for Fedora Core 6

- You'll need to be root for this guide. If you're already logged-in as root, skip typing su -
- First, install ntfs-3g:
CODE
# su -
# yum -y install ntfs-3g
This will install ntfs-3g, fuse and fuse-libs

- Create a folder to be used as mounting point for NTFS partition:
CODE
# mkdir /mnt/ntfs

- Find out what's the NTFS partition. Type this command (the fdisk option is a small L):
CODE
# fdisk -l

- Look for a line like this
CODE
/dev/hda3 * 14925 17218 18426555 c HTFS/NTFS
/dev/hda3 is your NTFS partition. It could be /dev/sdaX if you have a S-ATA drive.

- Edit /etc/fstab and add this line at the end so that the partition will be mounted at startup:
- Remember to use your /device, /dev/hda3 is just an example.
CODE
/dev/hda3 /mnt/ntfs_p ntfs-3g defaults,umask=0 0 0

- Disable SELinux. Edit /etc/selinux/config and change the line:
CODE
SELINUX=restrictive

to

CODE
SELINUX=disabled

or if you're a security paranoid and don't want to fully disable SELinux, change the line to:
CODE
SELINUX=permissive
otherwise, mounting the partitions will fail.

- Reboot and enjoy your NTFS partition in /mnt/ntfs_p


Install NTFS write support for Ubuntu

- Edit /etc/apt/sources.list and add the following repositories, which are suitable for you:

If you're running Dapper, add:

CODE
deb http://givre.cabspace.com/ubuntu/ dapper main main-all
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ dapper main main-all
deb http://flomertens.keo.in/ubuntu/ dapper main main-all

If you're running Edgy, add:

CODE
deb http://givre.cabspace.com/ubuntu/ edgy main
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main
deb http://flomertens.keo.in/ubuntu/ edgy main

- Import the GPG key for these repositories:
CODE
# wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add -
# wget http://givre.cabspace.com/ubuntu/givre_key.asc -O- | sudo apt-key add -

- Update the source list:
CODE
# sudo apt-get update

- Install ntfs-3g:
CODE
# sudo apt-get install ntfs-3g

- Determine which is the NTFS partition. Type this command and look for the line ending with HTFS/NTFS. The fdisk option is a small L.
CODE
# fdisk -l

- Create a directory where the NTFS partition will be mounted on:
CODE
# mkdir /media/ntfs_p

- Add the following line to /etc/fstab file:
CODE
/dev/hda3 /media/ntfs_p ntfs-3g defaults,locale=en_US.utf8 0 0

- If you want to change the locale option, type this command to find out which are supported by your system and pick the appropriate one:
CODE
# locale -a

- Save the file and reboot.
Read by 18,053 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Fair (2.7/5) 12 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Setting Up a SHOUTcast Server + DSP Plug-In

Apache VirtualHosting Guide

Building Your Own IRC Server with Services

Resetting a Forgotten Root Password

How to Setup a Free Backup Solution for MySQL

How to Get Connected to the IPv6 Internet

How to Install Java in Fedora Core 6

User opinions:

No user comments yet.
Be the first to express your opinion using the form below!

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM