LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-23-2004, 04:08 PM   #1
KnowledgeSeeker
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
How To Mount NTFS Drives in Linux 9


i want to mount ntfs drives on linux 9. so can sm one tell me how to do it
i mounted fat drives using

mount dev/hda -t vfat mnt/windows

i tried to mount ntfs drives using

mount dev/hda -t ntfs mnt/windows
but its not working. i would love to get sm help
 
Old 09-23-2004, 04:19 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi thre

u do not seemt o have ntfs FS support in ur kernel

either get the ntfs driver from

linux-ntfs.sourceforge.net

or

compile ur kernel fro ntfs support

regards
 
Old 09-23-2004, 04:35 PM   #3
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Distribution: Frustrated Ubuntu 6.10 Edgy User
Posts: 257

Rep: Reputation: 30
First of all, which partition of hda is Windows on? To find this out, at the console type

fdisk -l

(that's an L for list)

You may need to be root to do this, I have to be root on SuSE 9.1

This will give you something like this:
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       46920    23647648+   7  HPFS/NTFS
/dev/hda2           46921       47802      444528   82  Linux swap
/dev/hda3           47803       58140     5210352   83  Linux
As you can see, my NTFS drive (Windows XP) is on /dev/hda1, /dev/hda is too generic to do anything.

If you want to check and see if your current kernel supports NTFS, go into a terminal again and type:
Code:
cat /proc/filesystems
This will give you a list of all currently supported filesystems by your installation - ignore the first column, and look for NTFS listed in the second column. If it's there, you're in luck, if not, go to http://linux-ntfs.sourceforge.net as suggested above.

If it IS there, then at the console again type:
Code:
mount -t ntfs /dev/hda1 /mnt/windows
If you have problems with the console reporting that the options are incorrect for the filesystem type, try "auto" instead of "ntfs" to let the system sort it out.

This will have to be done as root most probably, if you want to mount it automatically at startup, let me know and I'll tell you how I finally got my /etc/fstab to mount it for me as a user as well as root at boot time.

I had this exact same problem for a while until I finally figured it all out.
 
Old 09-23-2004, 04:37 PM   #4
tho_x_tran
Member
 
Registered: Dec 2003
Posts: 71

Rep: Reputation: 15
http://linux-ntfs.sourceforge.net/rpm/

1) go to the web site above to get the right NTFS rpm for your kernel version (use command 'uname -r' to find out kernel version)

If there is no NTFS rpm matching your kenel then you must build your own NTFS rpm. Follow the instructions there, under Info/Build Your Own. It's not that complicated, I did it and the new NTFS rpm works just fine.

2) install it: rpm -Uvh whatever-kernel-ntfs-xxx.rpm
3) Once you have NTFS installed OK, type 'modprobe ntfs' and 'dmesg'' to verify the installation.

3) Assume all is done OK till now, edit /etc/fstab and add:

/dev/hda1 /mnt/windows-disk ntfs auto,user 0 0

Then: 'mount -a' or 'mount /mnt/windows-disk'

On the next boot, the disk will be mounted automatically, though.

Last edited by tho_x_tran; 09-23-2004 at 08:05 PM.
 
  


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 mount NTFS drives on fedora core 2? laiju Linux - General 3 11-21-2004 03:51 PM
how to mount ntfs drives in the boot sequence karimd Slackware 6 08-16-2004 10:40 AM
How to mount windows drives (NTFS formatted) to linux? djadhav Linux - Software 5 03-28-2004 11:23 AM
How to permenantly mount NTFS drives in Linux? raid517 Linux - Hardware 1 10-23-2003 12:40 PM
Can't mount ntfs hard drives? justin9 Linux - Newbie 8 07-14-2003 11:02 PM


All times are GMT -5. The time now is 11:56 AM.

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