LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2003, 08:59 PM   #1
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
Mount NTFS


I want to know how to mount my NTFS partition so I can access it on Linux.

XPediTioN
 
Old 07-13-2003, 09:07 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Search the forums.
 
Old 07-14-2003, 12:25 AM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
mount -t ntfs /dev/hdXX /mnt/my_windows_xp
if it complain about unsupported FS, recompile your kernel.
 
Old 07-14-2003, 05:25 AM   #4
sanghar
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Thumbs up

NO NEED to recompile the kernel.
download the NTFS read-only patch from http://linux-ntfs.sourceforge.net
enjoy!!
 
Old 07-14-2003, 01:27 PM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Slackware 9.0 comes prepatched. Just mount the partition.
 
Old 07-14-2003, 02:01 PM   #6
Moltag
Member
 
Registered: Jul 2003
Location: 'Flori-duh,' US
Distribution: Slackware 9, RH 9
Posts: 33

Rep: Reputation: 15
Assuming you haven't compiled your own kernel, you can simply use the mount command as follows:

su (to root)
mount -rt ntfs -o uid=YourUserName /dev/hda? /Mount_Point

Setting the -o uid= to your username will allow your user account read-only access to the partition once its filesystem has been mounted. Replace hda? with the number of the partition you want to mount (eg. hda1). And lastly, replace /Mount_Point with the name of a folder you want to mount the FS to (eg. /mnt/hd, /c-drive). This folder can be put anywhere on your Linux filesystem.

Good luck.
 
Old 07-14-2003, 07:18 PM   #7
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
Do I have to create a directory such as cdrom or floppy?
 
Old 07-14-2003, 07:18 PM   #8
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
When I do ls in /mnt/ it appears cdrom/ floppy/ hd/. Is that right?
 
Old 07-14-2003, 08:48 PM   #9
Moltag
Member
 
Registered: Jul 2003
Location: 'Flori-duh,' US
Distribution: Slackware 9, RH 9
Posts: 33

Rep: Reputation: 15
>>"When I do ls in /mnt/ it appears cdrom/ floppy/ hd/. Is that right?"

That's fine. Those are the default three folders, where CD-ROMs and floppies are mounted respectively. It's safe to use hd/ to mount disk partitions, since I've never really seen that folder used elsewhere.

Of course, if you so desire, nothing stops you from creating your own folder. It's not required, but it makes finding things a bit easier. For instance, I mount my NTFS partition to a folder I made called /mnt/ntfs.
 
  


Reply



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
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
Can I Mount An Ntfs??? Longinus Linux - Newbie 2 09-14-2003 08:55 PM
Mount NTFS gary8744 Linux - General 5 12-01-2002 06:22 PM
mount ntfs nautilus_1987 Slackware 2 08-28-2002 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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