Showing posts with label ntfs. Show all posts
Showing posts with label ntfs. Show all posts

Monday, July 20, 2009

mounting NTFS in RHEL4



RHEL4 in Gujarat Board School Std XII (standard 12)

:::: Loading NTFS drives in RHEL4 ::::
--------------------------------------------------------
1. Copy kernel-module-ntfs-2.6.9-5.ELsmp-2.1.
20-0.rr.4.10.i686.rpm to /root/Desktop
(or any where in this case)

2. Open Terminal Window (right click desktop
- first option)

3. type following command (# is prompt so do
not type #)
# rpm -ivh /root/Desktop/kernel-module-ntfs
-2.6.9-5.ELsmp-2.1.20-0.rr.4.10.i686.rpm

# modprobe ntfs

Note : Now you can mount any NTFS partition connected
to your RHEL4 system
Note : NTFS partition do not have write facility

Write facility can be provided but it is a lengthy process
and not very useful in our case

:::: Mounting NTFS Partitions ::::
--------------------------------------------------------
Open Terminal window
use following command to find NTFS Partition on Hard
Drive
# fdisk -l

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3888 31230328+ 7 HPFS/NTFS
/dev/hdb2 3889 19457 125057992+ 5 Extended
/dev/hdb5 14977 14988 96358+ 83 Linux
/dev/hdb6 14989 16204 9767488+ 83 Linux
/dev/hdb7 16205 18028 14651248+ 83 Linux
/dev/hdb8 18029 19244 9767488+ 83 Linux
/dev/hdb9 19245 19457 1710891 82 Linux swap

Note : in above eg. /dev/hdb1 is NTFS Partition
(try and identify your NTFS partitions
accordingly)
Make a directory to mount this NTFS partition

# mkdir /mnt/win_c_drive

# mount /dev/hdb1 /mnt/win_c_drive

# cd /mnt/win_c_drive (use ls to see the file and folder
list)

# open your file browser and browse to /mnt/win_c_drive
to see in directory listing in GUI

:::: Un-mount partition ::::
--------------------------------------------------------
# cd /

# umount /mnt/win_c_drive