LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot Access NTFS partition from linux (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-access-ntfs-partition-from-linux-253727/)

farrooda 11-11-2004 02:53 PM

Cannot Access NTFS partition from linux
 
Hello,
I have windows xp installed and I have just installed Fedora Core 2 on an ext3 partition
I have 2 NTFS partition,which I cannot access from linux but I can still boot win xp and access NTFS
how could I access my NTFS partitions from Fedora,please help.

masand 11-11-2004 03:11 PM

hi there

2 options

1. either compile ur kenrle with NTFS support
2. or visit linux-ntfs.sourceforge.net
to install the modules

regards

farrooda 11-12-2004 05:04 AM

I have installed the package,but I still can't see my ntfs partition under Devices
what shall I do?
please help me

perfect_circle 11-12-2004 05:53 AM

what do u mean?

did u try
fdisk -l
from root?

farrooda 11-12-2004 06:18 AM

yes they are listed,but isn't there a GUI in order to access these drives just like other partitions?

perfect_circle 11-12-2004 06:38 AM

send the fdist -l report and i'll tell you what to do

farrooda 11-12-2004 06:53 AM

There you go


Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hdb2 5100 9728 37182442+ f W95 Ext'd (LBA)
/dev/hdb5 5100 8326 25920846 7 HPFS/NTFS
/dev/hdb6 8327 8339 102280+ 83 Linux
/dev/hdb7 8339 9598 10110712+ 83 Linux
/dev/hdb8 9598 9728 1048288+ 82 Linux swap

Junior41180 11-12-2004 07:12 AM

you did load the modules right? and i believe unless you set the to be used on startup, you will have to load them each time you enter linux.

modprobe ntfs will load it iirc. it may even set it to load at startup. i don't really know.

perfect_circle 11-12-2004 07:17 AM

OK lets see:

your 2 NTFS patitions are hdb1 and hdb5

first of all make 2 directories in mnt/ under which you want yr partitions to be mounted.
for example:

mkdir /mnt/win_C
mkdir /mnt/win_D

you may name them how ever you like.

then edit /etc/fstab and put those to lines:

/dev/hdb1 /mnt/win_C ntfs utf8,ro,umask=0222 0 0
/dev/hdb5 /mnt/win_D ntfs utf8,ro,umask=0222 0 0

this tells your system that hdb1,hdb5 should be mounted as ntfs partitions, under /mnt/win_C,mnt/win_D.
ro means read-only (under linux ntfs write is not supported)
utf8 means use unicode. (you may ommit that if you want)
umask=0222 means every file should have read-execute permitions.

then do:

mount -a

and access yr drives,with any browser you like. they should be under /mnt/win_C or D.

Every time you reboot the drives will be automatically mounted. (you won't need the mount command again)
if you don't want that then add the noauto option.

istalling the rpm will load the ntfs-support module. I'm pretty sure about that.

b1gfunn 11-12-2004 08:07 AM

wow.. i wasnt even looking for this info, but this will help when i get home :) Thanks!!

farrooda 11-12-2004 08:35 AM

mount: fs type ntfs not supported by kernel
mount: fs type ntfs not supported by kernel

by the way,installing what rpm?

perfect_circle 11-12-2004 08:55 AM

hAVE YOU visited visit linux-ntfs.sourceforge.net?

go tohttp://linux-ntfs.sourceforge.net/rpm/fedora2.html

go to the instructions,
download the whichrpm script to decide which rpm you need.
and type :

bash whichrpm

then download the suitable rpm
and type

rpm -ihv <the rpms name you just downloaded>

for example

rpm -ihv kernel-ntfs-2.6.5-1.358.i686.rpm

After that try again:

mount -a

perfect_circle 11-12-2004 08:59 AM

maybe after installing the rpm you need to do
/sbin/modprobe ntfs

or just reboot

I was wrong about automatically loading the module with the installation

farrooda 11-12-2004 09:24 AM

Thanks perfect_circle everything works fine, in fact I had the wrong rpm version installed
Thanks very much!


All times are GMT -5. The time now is 04:42 PM.