LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-03-2004, 03:23 AM   #1
hackman__007
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Posts: 5

Rep: Reputation: 0
how do i mount a ntfs file system with fedora core 1 redhat linux


Im new and only been using linux for 2 days. Im running Fedora Core1 redhat 10. I hate windows but all my stuff is still on my other partion. How do i mount my NTFS partition. Remember im new so i need you to walk me threw slowly. Thanks
 
Old 09-03-2004, 05:42 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 66
Log in as root.
Run the command
Code:
mkdir /media; mount /dev/hda1 /media/ -t ntfs
The first part (before the semicolon) creates a directory called /media if it doesn't exist. The second part mounts /dev/hda1 onto that directory.

/dev/hda1 corresponds to the first partition on the primary master IDE or ATAPI hard-disk. This is usually where you can find Windows installed but it's just a guess. You may need to try other devices.

Code:
cat /proc/partitions
will list all the partitions you have mounted.

The basic format for a device name is:
hd for IDE/ATAPI disks, or sd for SCSI disks, followed by
a letter corresponding to the disk (IDE: a for the primary master, b for the primary slave, c for the secondary master or d for the secondary slave. If you only have one hard disk then it'll probably be a)
a number corresponding to the partition number on the disk (IDE: this usually skips over the numbers 2, 3 and 4)

You can also list the partitions on your disk using
Code:
fdisk /dev/hda
I know that's rather bitty but I hope it helps,

Robert J. Lee
 
Old 09-03-2004, 09:57 AM   #3
brunnopessoa
Member
 
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
Is it simple like that?!

If I mount the Windows NTFS partition using the command mentioned above, than I can read and write files from the partition?! Simple like that?!

Tks!
 
Old 09-03-2004, 10:01 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 66
You can read files on an NTFS filesystem if it's mounted. You'll find it in /media/
You can also write to the filesystem if you've got write support configured into the kernel. But please note that write support is experimental; you could theoretically damage files on the filesystem if you're unlucky; I've never heard of that happening though.
 
Old 09-03-2004, 10:48 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,803

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
FC does not install NTFS (i.e. read only) support.
http://linux-ntfs.sourceforge.net/
http://www.jankratochvil.net/project/captive/

Redhat uses the /mnt directory for removable media. In the /mnt directory you will find directories for cdrom and floppy. These are used as mount points. SuSE uses /media instead of /mnt.
 
Old 09-04-2004, 03:10 AM   #6
hackman__007
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Posts: 5

Original Poster
Rep: Reputation: 0
When i do what you say about how to mount my NTFS partition it gives me this message.
mount: fs type ntfs not supported by kernel
what should i do?
 
Old 09-04-2004, 02:29 PM   #7
paul_e_t
Member
 
Registered: Sep 2003
Location: Orlinda TN USA
Distribution: SuSE 8.2, 9.0,.1,.2,.3,W98, Win ME, XP, Centos 4.2,4.3, VM DSL3.3 appliance
Posts: 123

Rep: Reputation: 17
You need to load the NTFS module so as to hook into reading NTFS. I forget the command, it's something like /proc NTFS and if you have the module it will be loaded. Someone else needs to help with the correct command.
Sorry
 
Old 09-06-2004, 02:29 AM   #8
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 66
Code:
modprobe ntfs
 
  


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
Can Fedora Core 3 mount and read vmfs file system smkamene Linux - Software 2 01-24-2005 09:24 PM
NTFS file system mount problems Fedora 2.4 jjisnow Linux - Newbie 2 03-23-2004 05:42 PM
Can We Mount NTFS Windows file System from linux gautam_iiith Linux - General 6 10-23-2003 06:47 PM
How can I nfs mount an NTFS file system on my linux server jj4broder Linux - Networking 4 09-30-2003 02:03 PM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration