LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   NTFS - Mounting Hard Drive (https://www.linuxquestions.org/questions/linux-general-1/ntfs-mounting-hard-drive-266454/)

DarkD45 12-14-2004 06:45 PM

NTFS - Mounting Hard Drive
 
Ok, i have used red hat 9 a but i'm having some trouble.

I have these current settings:
------------------------------------------------
hda (hda1 only)
Windows 2003
20 GB hard drive format NTFS
------------------------------------------------
hdb
RedHat Linux 9
12.5 GB Hard Drive
------------------------------------------------

I really just want to get to my website folders/files and my music and stuff, but i have tried and it says that it isn't in the right format and i can't quite figure out what is wrong...

So, if you know something about this, please help out a newbie =)

Thanks in advance!

egag 12-14-2004 07:10 PM

how do you try to mount it ?

i think this works ( when you are in linux , " su " to root )
- #mkdir /mnt/windows ( first make a mountpoint )
- #mount -t ntfs -o umask=022 /dev/hda1 /mnt/windows ( mount the hda1 )

now your win is readable at /mnt/windows.

egag

DarkD45 12-14-2004 07:13 PM

I have the kernel that automaticly comes with redhat 9 and its not updated yet, that might be the problem but it said this

mount: fs type ntfs not supported by kernel

(i am installing the new one and re-starting atm)

egag 12-14-2004 07:25 PM

maybe the module is there, but not loaded.
you could try :

#modprobe ntfs

if it's not there, you'll get an error .

egag

DarkD45 12-14-2004 07:25 PM

nope, its not there and i do have trhe latest kernel too

DarkD45 12-14-2004 07:36 PM

anyone know how to get it to actually use ntfs or am i stuck without it??

egag 12-14-2004 07:48 PM

maybe redhat has packages with those modules suiting your kernel.
otherwise i think you need to compile another kernel......
( there are " howtos " on this site for that )

egag

patkalolo 12-15-2004 12:34 AM

I had the same problem. You need to recompile your kernel to support your windows partition. After you are done with that make sure you edit your "/etc/fstab" accordingly. Here is what mine looks like:

Code:

/dev/hda5        /ntfs-d          ntfs        ro,user,umask=0222 0 0            1  0
/dev/hda2        /ntfs-c          ntfs        ro,user,umask=0222 0 0            1  0

This should load the partition automatically. Just dont plan on writing to it. I f you want that make yourself a FAT32 partition.

michaelk 12-15-2004 06:29 AM

Redhat by default does not include NTFS support.
http://linux-ntfs.sourceforge.net/
or
http://www.jankratochvil.net/project/captive/

I have not personally used captive.

BTW have you tried searching the website yet?

DarkD45 12-15-2004 11:12 AM

thanks guys, i did finally get it to work!

i apretiate the help!!

btw i spell bad...

michaelk 12-15-2004 11:33 AM

Quote:

Originally posted by DarkD45
thanks guys, i did finally get it to work!

i apretiate the help!!

btw i spell bad...

Well done... BTW there is a spell check function right next to the preview and submit reply buttons :)

egag 12-15-2004 11:33 AM

eh...use the "spell check " button, very easy :)

egag

DarkD45 12-15-2004 12:58 PM

lol will do next time!


All times are GMT -5. The time now is 03:50 PM.