Access NTFS file-system from Linux
There are some method of accessing windows system from a Linux system one of them I use to prefer is ntfs-3g driver.
First of all, we must have “ntfs-3g” package for accessing windows NTFS file system through Linux file system which can be download through this link http://www.ntfs-3g.org/
Package Recuired:
1. fuse-2.6.0
2. ntfs-3g-1.913.tgz
Check to see if you have the required package, FUSE 2.6.0 or later. We assume our system already has one, follow the given process as…
# yum list installed | grep fuse
# tar xvzf ntfs-3g-1.913.tgz (Extract the ntfs-3g driver package)
Install ntfs-3g driver as…
# cd ntfs-3g-1.913
# ./configure
# make
# make install
Try to mount NTFS hard disk in /mnt or we can make another mount point (Folder) for access it.
# mkdir /mnt/windows
# mount -t ntfs-3g /dev/sdb1 /mnt/windows
If it had already been mounted somehow, unmount it first.
# umount /meia/My\ Book/
# mount -t ntfs-3g /dev/sdb1 /mnt/windows
Sometimes, you may need to enforce mounting like
# mount -t ntfs-3g /dev/sdb1 /mnt/windows -o force
To unmount the volume, type
# umount /mnt/windows
To view the all mount file-system information, type
# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /mnt/windows type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Note: Sometimes we need “fuse” to access it. So Installing FUSE (File-system in User space). Download the latest stable release from http://fuse.sourceforge.net
Extract the fuse package for installing.
# tar xvzf fuse-2.7.0.tar.gz
Install FUSE by using these steps.
# cd fuse-2.7.0
# ./configure
# make
# make install
No comments:
Post a Comment