Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 01-13-2005, 07:25 PM   #1
LQ Newbie
Registered: Dec 2003
Location: Canada
Distribution: Mandrake
Posts: 9

Rep: Reputation: 0
mount ntfs hard drive


I am using Mandrake 10.1 Official dual boot with Win2k. When I installed Mandrake it saw the NTFS drive and it is mounted in the directory /mnt/windows.

I have just added a new NTFS hard drive with my MP3 collection on it and want to start listening to some tunes while using Mandrake.

However, I had hoped that Mandrake would see this new drive and mount it in /mnt/windows directory but it has not. I am still a newbie and am wondering if there is a "idiot proof" way for me to do it and if so, could someone be kind enough to tell me how.

Thanks a lot.

Old 01-13-2005, 08:03 PM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
read "man mount"
basically... mount -t ntfs /dev/hda1 /mnt/windows

replace hda1 with the drive and partiton number.

hda = primary master
hdb = primary slave
hdc = secondry master
hdd = secondry slave

the number directly after is the partiton number, where 1 is the first partiton.

you will need to be root.

to allow un-privilaged users to use the disk, add it to /etc/fstab

and use the search function on this site.
Old 01-13-2005, 08:05 PM   #3
Registered: Oct 2002
Location: Utah
Distribution: Gentoo(2.6.23-r3)
Posts: 181

Rep: Reputation: 30
ok, hard drives are listed in /dev as hdCX where C is a character starting at 'a' for primary master and 'b' for whatever hard drive is next and so on, and 'X' is a partition number. The mount options are stored in /etc/fstab so... pop open a root console and take a look.
Now, I can help you, but to make it idiot-proof I need more info. Specifically, I need to know how many drives you have and how your new NTFS drive is partitioned.
I'm going to assume, for now, that your Win2k isn't actually on another hard drive but on a partition on your primary hard drive and that the new NTFS drive has only one partition and is the second hard drive in your computer.

If this is the case then you need to add a line similar to the one below to /etc/fstab:
/dev/hdb1        /mnt/mp3s        ntfs        defaults,noatime,ro        0 0
The above line will mount your second hard drive's first partition at /mnt/mp3s (please note that you have to 'mkdir /mnt/mp3s' first or the mount will fail.) The fstab will mount the directory wherever you want it, so, if it so pleases you, you can mount it on your desktop or in your home folder. the /mnt directory is just a standard place to mount things to.
Also, please note the 'ro' in the options(fourth) section up there. That mounts the drive read-only. You can take your chances trying to write to an NTFS drive in Linux, but every time I've done it it corrupts the NTFS filesystem so...

If you need more help then please post back here with your hard-drive set up(how they're layed out) and the contents of your fstab file.

edit: Oh, yeah, and once you're done editing you need to reboot... There's probably a way to reload the mount table without rebooting but I don't know it so... reboot...(sorry but I HAVE actually had someone assume that saving the file automatically makes all the changes take effect)
edit2: And i'm a slow typer so half of what I said was already said by the time I said it...

Last edited by kierl; 01-13-2005 at 08:10 PM.
Old 01-14-2005, 06:05 PM   #4
LQ Newbie
Registered: Dec 2003
Location: Canada
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Hey Kierl, that worked perfectly so I guess I must be an idiot :-) Thanks for taking the time to explain in detail what the commands and switches do. You made a good assumption....I have windows installed on a partition and the drive with the MP3s is on a separate drive.

I am listening to my MP3s with Xmms as we speak. I have an Audigy 2 ZS sound card and it sounds pretty darn good with Mandrake and Xmms pumping out the tunes.

Once again, thanks a lot for the help.


Old 01-14-2005, 06:38 PM   #5
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
For newbies reading this thread who use Mandrake Linux, I want to point out that the graphical program 'diskdrake' could also be used to mount a new NTFS partition. This could have the benefit of picking up details you may miss when doing it manually, such as analysing which font encoding option should be used.

Last edited by jschiwal; 01-15-2005 at 03:55 AM.
Old 01-18-2005, 11:38 PM   #6
Registered: Oct 2002
Location: Utah
Distribution: Gentoo(2.6.23-r3)
Posts: 181

Rep: Reputation: 30
Sorry, for the heinous delay, but anyhoo, glad to be of service.


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
How To Mount An NTFS Hard Drive TheHateCrew Linux - Hardware 4 09-14-2004 09:11 AM
USB2 NTFS Hard Drive Mount Permission UberMousE Linux - Hardware 10 05-14-2004 05:27 AM
Cant mount NTFS Hard drive monkeymartin Linux - General 5 08-10-2003 09:35 PM
Can't mount ntfs hard drives? justin9 Linux - Newbie 8 07-14-2003 11:02 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:06 AM.

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