LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2004, 06:30 AM   #1
djadhav
LQ Newbie
 
Registered: Mar 2004
Location: IITKanpur,India
Posts: 24

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


hi,
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, 07: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, 07:23 AM   #3
djadhav
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, 08:09 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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, 08:22 AM   #5
upchucky
Member
 
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
mnt/windows/ddrive
mnt/windows/edrive

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, 11:23 AM   #6
randyriver10
Member
 
Registered: Sep 2003
Location: Nova Scotia
Distribution: Mandrake
Posts: 122

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:36 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
Open Source Consulting | Domain Registration