Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-28-2004, 07:30 AM   #1
LQ Newbie
Registered: Mar 2004
Location: IITKanpur,India
Posts: 24

Rep: Reputation: 15
How to mount windows drives (NTFS formatted) to linux?

i have recently installed Mandrake 10.0 alongwith Windows XP. I want to use the windows drives to access my mp3's etc. on linux. My drives are formatted in NTFS.So I am finding difficulty to do so. I want to mount all the partitions( not only C: ).
Old 03-28-2004, 08:15 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Linux doesn't see them as C or D, to linux they would be hda or hdb and the different partitions on the disks are numbered. Windows is on the first partition of my only hard disk so it is hda1 and this line in /etc/fstab mounts it in /mnt/windows

/dev/hda1 /mnt/windows ntfs ,ro,umask=0 0 0
Old 03-28-2004, 08:23 AM   #3
LQ Newbie
Registered: Mar 2004
Location: IITKanpur,India
Posts: 24

Original Poster
Rep: Reputation: 15
its giving the following error:
bash: /dev/hda1: Permission denied
Old 03-28-2004, 09:09 AM   #4
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
are you sure your windows partition is /dev/hda1 or did you just type
that because that is what was mentioned in the above post !?

whats the output of :
fdisk -l

if that above statement is true ?!
Old 03-28-2004, 09:22 AM   #5
Registered: Feb 2004
Distribution: Debian
Posts: 113

Rep: Reputation: 16
you have to create individual directorys in Linux for each partition type to mount to.

example, mnt/windows/cdrive

creating as many individual mount points for as many partitions that you need to mount.
you also need to have kernel support for ntfs, i think the package is ntfs i686 or something like that. As Andrew stated, you must also allow for the proper syntax if the file system types are different, eg; for win 95 or win 98, you would set "fat 16" or "fat32", instead of "ntfs" respectively.
once you can mount each partition into it's respective mount point, then you can set the init to auto mount them at boot.
Old 03-28-2004, 12:23 PM   #6
Registered: Sep 2003
Location: Nova Scotia
Distribution: Mandrake
Posts: 122

Rep: Reputation: 15
paste the contents of your /etc/fstab.conf please


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 The Windows Drives In Linux at Startup KnowledgeSeeker Linux - Software 2 09-24-2004 07:13 PM
How To Mount NTFS Drives in Linux 9 KnowledgeSeeker Linux - Software 3 09-23-2004 05:37 PM
Mount windows xp (ntfs) in linux Mordeth_0 Linux - Newbie 6 07-17-2004 06:26 PM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 12:49 PM
How to permenantly mount NTFS drives in Linux? raid517 Linux - Hardware 1 10-23-2003 01:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:50 PM.

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