LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-15-2005, 09:28 PM   #1
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
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
 
Old 03-15-2005, 09:33 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 03-15-2005, 09:33 PM   #3
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
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
 
Old 03-15-2005, 09:34 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
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.
 
Old 03-15-2005, 09:35 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
Dang, you guys where fast.
 
Old 03-15-2005, 09:41 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 03-15-2005, 10:22 PM   #7
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 03-15-2005, 10:27 PM   #8
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
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
 
Old 03-16-2005, 08:32 AM   #9
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
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.
 
Old 03-16-2005, 09:46 AM   #10
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
There is an RPM for NTFS access in RH/FC here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
mount: unknown filesystem type 'NTFS' jnorcal Slackware 8 09-07-2005 07:18 PM
Can't boot XP, can only mount ntfs filesystem as vfat bsm80 Linux - Hardware 4 05-06-2005 06:56 PM
How do I mount a HDD with a NTFS filesystem? orange400 Linux - General 15 03-04-2003 11:51 PM
How to Mount NTFS filesystem in RH7.2 salman Linux - General 4 12-01-2001 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration