LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can i mount NTFS filesystem? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-mount-ntfs-filesystem-302082/)

alice95089 03-15-2005 08:28 PM

How can i mount NTFS filesystem?
 
Hi all,
I would like to ask:

I am using IBM t23 notebook with C and D partition in windows and with two OS, Window XP and redhat 9.

I would like to ask how can i mount NTFS filesytem in Window XIP when i am under Linux OS?

I try to modify the /etc/fstab as follow but fails:

/dev/hda1 /mnt/hda1 ntfs defaults 00

I don't know actually which disk should i mount as i don't know the disk name of my C and D drive in Window when mapping in linux..


Thanks

Best Regards,
Alice

mjrich 03-15-2005 08:33 PM

To find out which partitions you have, run as root
Code:

fdisk -l /dev/hd*
though I'm surprised that Redhat didn't autodetect your windows partitions, and set up /etc/fstab accordingly.

Cheers,

mj

TheRealDeal 03-15-2005 08:33 PM

Hi.

You need to enable NTFS support in the kernel. Once you do that you should be able to mount the partition with (as root) mount -t ntfs /dev/hda1 /mnt/hda1

It needs to be enabled in the kernel though.

>Craig

tangle 03-15-2005 08:34 PM

This is strait from my /etc/fstab.
/dev/hda1 /mnt/winxp ntfs ro,umask=000,user 1 0

You have to bee root to write to the /etc/fstab. Also check your /mnt/hda1 permissions. Make sure you can enter the directory.

tangle 03-15-2005 08:35 PM

Dang, you guys where fast.

mjrich 03-15-2005 08:41 PM

As a rough guess, it's quite likely to be /dev/hda2 on a laptop, as the manufacturers often seem to think that it's "useful" to put a small (e.g. 40 Mb) oem utility partition at the beginning.

Cheers,

mj

alice95089 03-15-2005 09:22 PM

It seems that NTFS was not supported by my kernel,

Is that recompile the kernel is the only method i can use?



Thank you very much for help =D

i have idea on how to do it now...

Regards,

Alice

TheRealDeal 03-15-2005 09:27 PM

Hi again.

Yep that's correct. It does need to be compiled into the kernel. I compile it into the kernel for all my machines and it works great.

>Craig

enemorales 03-16-2005 07:32 AM

You don't need to compile it into the kernel. It can be used as a module. Before trying to recompile, try (as root) "modprobe ntfs" and then try to mount your unit.

mjjzf 03-16-2005 08:46 AM

There is an RPM for NTFS access in RH/FC here.


All times are GMT -5. The time now is 06:20 PM.