All for Joomla All for Webmasters

Access Windows NTFS Partitions From Linux


NTFS Partitions From Linux

Reading or accessing NTFS partitions in Linux is important for many reasons. NTFS-3G is an open source cross-platform implementation of the Microsoft Windows NTFS file system with read-write support. NTFS-3G often uses the FUSE file system interface, so it can run unmodified on many different operating systems.

Before we start, make sure that you have rpmforge repository configured. If you do not have, download it from here.

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

or

# rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Install required packages from rpmforge to access NTFS partiton from Linux.

# yum install fuse fuse-ntfs-3g dkms dkms-fuse -y

Now identify you windows partition letter using,

# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0×00000080

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS
/dev/sda2 206848 102402047 51097600 7 HPFS/NTFS
/dev/sda3 102402048 409602047 153600000 7 HPFS/NTFS
/dev/sda4 409602048 625141759 107769856 5 Extended
/dev/sda5 409606144 604166143 97280000 83 Linux
/dev/sda6 604168192 608362495 2097152 82 Linux swap / Solaris

If we have identified partition letter – /dev/sda3, mount it to /mnt/data.

# mkdir /mnt/data

# mount -t ntfs-3g /dev/sda3 /mnt/data

Note: To make it persistent across reboot, do entry in /etc/fstab.


Like it? Share with your friends!

1 SHARES
1
1 SHARES, 1 points

Access Windows NTFS Partitions From Linux

log in

Become a part of our community!

reset password

Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image