Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-15-2005, 08:28 PM
|
#1
|
Member
Registered: Dec 2004
Location: hong kong
Posts: 44
Rep:
|
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
|
|
|
03-15-2005, 08:33 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
To find out which partitions you have, run as root though I'm surprised that Redhat didn't autodetect your windows partitions, and set up /etc/fstab accordingly.
Cheers,
mj
|
|
|
03-15-2005, 08:33 PM
|
#3
|
Member
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438
Rep:
|
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
|
|
|
03-15-2005, 08:34 PM
|
#4
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
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.
|
|
|
03-15-2005, 08:35 PM
|
#5
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
Dang, you guys where fast.
|
|
|
03-15-2005, 08:41 PM
|
#6
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
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
|
|
|
03-15-2005, 09:22 PM
|
#7
|
Member
Registered: Dec 2004
Location: hong kong
Posts: 44
Original Poster
Rep:
|
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
|
|
|
03-15-2005, 09:27 PM
|
#8
|
Member
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438
Rep:
|
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
|
|
|
03-16-2005, 07:32 AM
|
#9
|
Member
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410
Rep:
|
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.
|
|
|
03-16-2005, 08:46 AM
|
#10
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
There is an RPM for NTFS access in RH/FC here.
|
|
|
All times are GMT -5. The time now is 04:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|