LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-30-2003, 09:50 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Mounting Ntfs In Fstab


Okay, so I got the NTFS kernel module loaded.... what should i add in fstab entries?
 
Old 08-30-2003, 11:20 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well you'll just write it the same as any other but replace the filesystem with ntfs: (quick example)
/dev/hda1 /mnt/ntfsdrive ntfs defaults 0 0
 
Old 08-30-2003, 11:37 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
.............or another example

/dev/hda1 /mnt/windows ntfs auto,ro,umask=0222 0 0

(make sure you substitute your partition for the example one above - and make sure you create a mount point first.)
 
Old 08-30-2003, 11:40 PM   #4
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
How do I create a mount point?
 
Old 08-30-2003, 11:42 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Open a shell :

type

su

then type your root password

then type

mkdir /mnt/windows
 
Old 08-30-2003, 11:47 PM   #6
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Okay after editing /etc/fstab do you have to do anything to execute the changes...

After i went to /etc/windows using my user account.... 0 items - 0 files - 0 directorys...

doing something wrong here?
 
Old 08-30-2003, 11:49 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Save the file - and reboot your computer - (if the mount point is /mnt/windows you should check /mnt/windows after the reboot)
 
Old 08-30-2003, 11:50 PM   #8
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
BTW heres my setup

root@linux-01-uberterm:/home/knoppix# fdisk -l

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 155061 78150712+ 5 Extended
/dev/hdc5 1 496 249921 82 Linux swap
/dev/hdc6 * 497 155061 77900728+ 83 Linux

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4864 39070048+ 7 HPFS/NTFS
root@linux-01-uberterm:/home/knoppix#
 
Old 08-30-2003, 11:51 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
mount /dev/hda1 /mnt/windows
 
Old 08-30-2003, 11:55 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Jon - Were posting so fast - did you get this one? - I think yours cut in straight after.

Save the file - and reboot your computer - (if the mount point is /mnt/windows you should check /mnt/windows after the reboot)
 
  


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
Auto-mounting ntfs partition in fstab Mithrilhall Linux - Newbie 3 09-22-2009 01:03 AM
fstab help, ntfs. aje Slackware 13 12-19-2004 07:56 PM
fstab ntfs mounting in Ubuntu claudius753 Linux - Newbie 1 12-18-2004 03:13 PM
NTFS FSTAB Entry Campy19 Mandriva 2 11-02-2004 07:37 PM
Mounting ntfs in fstab calimer Mandriva 2 11-28-2003 08:35 AM

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

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