Tuesday, January 30, 2007

Linux Tips - 1

I am referring to Fedora Core 6.

1. How to mount windows NTFS partitions in read/write mode?

This tip tells you how to make your linux system capable of mounting NTFS partitions in read/write mode. After this you are no longer constrained to the linux partitions. You can use windows partitions to read and even to write the data.

Change to root.

Make sure that Livna repository is set up.

# rpm -ivh http://rpm.livna.org/livna-release-6.rpm

# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

Now install fuse and ntfs modules.

# yum install fuse fuse-libs ntfs-3g ntfsprogs ntfsprogs-gnomevfs

Once these modules get installed successfully, you can mount the windows ntfs partitions as

# mount -t ntfs-3g /dev/hda1 /mnt/windows

Note: This assumes that a directory named 'windows' is present under /mnt. You can alternatively mount it under any directory but it is always a good idea to mount it under /mnt.

No comments: