LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-07-2003, 11:58 AM   #1
esv5454
LQ Newbie
 
Registered: Oct 2003
Location: Roseburg, OR
Posts: 2

Rep: Reputation: 0
How do I mount an NTFS drive?


I am having trouble reading the files on my secondary hard drive which is formatted using NTFS. It took me a while but I figured out how to mount the drive using the GUI in HardDrake and I successfully mounted it to /mnt/windows but when I go into that directory it shows up as the correct size HD (60 GB) but it says that it is empty when in fact it has about 30 GB worth of data on it. I thought that maybe the data had been deleted somehow so I hooked it up to another computer with Windows XP on it and sure enough, everything was still there. I don't know why I can't read the information on it but it's annoying me and I would greatly appreciate any help you can give me. Thanks in advance!
 
Old 10-07-2003, 12:47 PM   #2
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
create the directory /windows in /
Go to /etc/fstab

->Add the line

/dev/hdXY /windows ntfs defaults 0 0

where x is the drive, most likely a, and Y is the partition number.

After that you can mount it by either typing:

mount /dev/hdaXY /windows

or restarting the computer.
 
Old 10-07-2003, 03:53 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Here's a typical line for /etc/fstab - substitute in your partition and mount point as appropriate.

/dev/hda1 /mnt/windows ntfs umask=0222,auto,ro 0 0
 
Old 10-07-2003, 07:55 PM   #4
esv5454
LQ Newbie
 
Registered: Oct 2003
Location: Roseburg, OR
Posts: 2

Original Poster
Rep: Reputation: 0
I tried adding those lines to fstab and it still didn't work. It mounts the drive (at least it shows up as being mounted under windows) but it still doesn't show any of the files or directories on that hardrive. I'm not sure what the problem is but it's getting the best of me.. I'm pretty new to linux so any help you guys can give is greatly appreciated
 
Old 10-07-2003, 08:25 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Can you post the output of : (as root user on a command line)

cat /etc/fstab ; fdisk -l
 
  


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 07:29 PM
Mount Imaged NTFS Drive quentusrex Linux - General 1 05-25-2005 05:05 PM
mount ntfs hard drive daffyduke Mandriva 5 01-18-2005 11:38 PM
Can't Seem to Mount Secondary NTFS Drive Shoal Linux - Hardware 4 08-08-2004 07:55 PM
mount ym NTFS Drive kbhadsten Linux - General 2 09-11-2002 01:24 PM


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