Wednesday, August 15, 2007

Mounting Windows NTFS partition under Fedora 7

I have a dual boot Fedora 7 + Windows 2000 Pro

When I tried mounting the NTFS Partition


# mount /dev/hda1 /mnt/win
mount: unknown filesystem type 'ntfs'

I got the above message.

Then this is what I did to Mount windows NTFS partition
Under Fedora Release 7(Moonshine):

Install the below packages from Fedora core 7 DVD

rpm -ivh fuse-2.6.5-1.fc7.i386.rpm
rpm -ivh fuse-libs-2.6.5-1.fc7.i386.rpm
rpm -ivh ntfs-3g-1.516-1.fc7.i386.rpm

[root@linuxbox tmp]# fdisk -lu

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders,
total 78140160 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 63 51199154 25599546 7 HPFS/NTFS
/dev/sda2 51199155 51407999 104422+ 83 Linux
/dev/sda3 51408000 78140159 13366080 8e Linux LVM


My Windows NTFS partition is /dev/sda1

I create a directory
#mkdir /mnt/win_c/

Then Mount it:
[root@linuxbox tmp]# mount -t ntfs-3g /dev/sda1 /mnt/win_c/

[root@linuxbox win_c]# pwd
/mnt/win_c

[root@linuxbox win_c]# ls
arcldr.exe hawkz.exe RECYCLER
arcsetup.exe hiberfil.sys S4uDi.exe
AUTOEXEC.BAT IO.SYS Songs
boot.ini MSDOS.SYS Sriram
citianywhere.log My Music swsetup
citrix.log NTDETECT.COM System Volume Information
CONFIG.SYS ntldr WINNT
Documents and Settings pagefile.sys YServer.txt
Ebooks Program Files

No comments: