LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2004, 12:22 PM   #1
r_squared
Member
 
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Rep: Reputation: 15
Post Can I mount an ntfs partition or read one using linux?


I was wondering if I can mount my windows ntfs partition with linux; and if there is no way then is there a program that can read ntfs partitions using linux? any responce is appreciated.
 
Old 11-19-2004, 12:53 PM   #2
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Yeah, Linux has support for reading NTFS built into the kernel. Just type (IIRC)

mount -t ntfs /dev/hda1 /mnt/mountpoint

where /dev/hda1 is the device node (first drive is hda, second is hdb, first partition on hda would be hda1, second hda2, etc) and /mnt/mountpoint is the folder where you want to mount the filesystem.

Your fstab file may already have an entry for it. To find out, type this.

grep /etc/fstab ntfs

It'll say what device it is, and it's mountpoint. If it's already there, it'll probably automatically be mounted on boot (if it says noauto, then it won't). Just CD to the directory of the mountpoint, if it's already mounted.

If it isn't mounted, then you can type mount (mountpoint) and you should be fine (eg: mount /mnt/ntfs-d is from mine)

If you still need help, feel free to ask.

*edit* also, you may need root permissions to mount the file system.

Last edited by SocialEngineer; 11-19-2004 at 12:54 PM.
 
Old 11-19-2004, 01:23 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
your kernel may not have ntfs support built in, and you may have to build a new kernel to do it..
 
Old 11-19-2004, 02:01 PM   #4
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Quote:
Originally posted by whansard
your kernel may not have ntfs support built in, and you may have to build a new kernel to do it..
His Avvy says he's running FC2, and I'm pretty sure it has NTFS support already compiled into the kernel.
 
Old 11-19-2004, 04:40 PM   #5
Dunkitt
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
hi there... I've got red-hat 9 and as I input the "mount -t ntfs /dev/hda1 /mnt/mountpoint" code the system replies that mount: fs type ntfs not supported by the kernel....

so waht know... do i need to recompile the kernel...
is there any patch to solve this problem?...

i'm still new to linux.. but very eager to learn more and more and be independent from other non-open source Operative systems...

thank you
 
Old 11-19-2004, 04:49 PM   #6
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
It appears RH9 doesn't have support built in for NTFS, and you'll have to recompile the kernel for it.

Do some googling for guides on recompiling the kernel for your distro, and if yah can't find one let me know. I've gotta go get ready for a performance
 
Old 11-19-2004, 06:38 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
i've seen a precompiled ntfs module for redhat 9 somewhere. do a search on google.
 
Old 11-20-2004, 11:15 AM   #8
r_squared
Member
 
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Original Poster
Rep: Reputation: 15
thanks for the help. I did need to grab an rpm off the internet to mount it thou, from this site: http://linux-ntfs.sourceforge.net/rpm/fedora2.html
and I was wondering if (using this rpm) can I write to the partition with out screwing up the file system?
Thanks again
r^2

Last edited by r_squared; 11-20-2004 at 11:16 AM.
 
Old 11-20-2004, 12:18 PM   #9
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Not without something else, such as Captive. It requires a windows DLL, but supposedly it works pretty well. I'd be a little iffy about using it myself, but if it works, go for it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to mount and read my NTFS paritions :( mcrexx Linux - Newbie 5 08-30-2005 02:54 AM
Mount Corrupted NTFS Partition Under Linux omega71122 Linux - General 3 05-22-2005 08:55 PM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 11:49 AM
How do I mount my NTFS WinXP partition on Linux? adam88 Linux - Software 6 04-18-2003 10:11 AM
Compiled RH7.3 to read WinXP NTFS partition, mounts in Console, but can't mount fstab BlackDogg Linux - Newbie 20 08-05-2002 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:09 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