LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2003, 04:58 PM   #1
tommytom02
LQ Newbie
 
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
edit /etc/fstab redhat 9


I have downloaded and installed the rpm for NTFS and i can mount the volume successfully, but i would like to be able to mount the volume automatically on startup. i read at linux-ntfs.sourceforge.net, the place i got the rpm from, that i need to edit /etc/fstab, but i do not know how to do this. could somebody please give me a step-by-step walkthrough on doing this, starting from being logged in as root and assuming that the rpm is installed. thanks
 
Old 12-20-2003, 05:19 PM   #2
killer_bunny
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
Think you should add something like this to your /etc/fstab:

/dev/hdb1 /mnt/win ntfs defaults 1 2

/dev/hdb1 should be windows partition... in my case that is first partition on slave disk.
/mnt/win is directory where it should partition be mounted (my case /mnt/win)
ntfs is kind of volume windows partition uses... i guess it is ntfs...
defaults now i am not quite sure about this... it could be some other commands for read-only maybe... (really don't know)

1 2 i think this has something to do with checking the partition (but i think u should use these two #)

But still, this may not be correct.. so you can wait for more answers and instructions...



if you whant details:

in terminal...

su root password
vim /etc/fstab
(hope you know how to use vim, use another editor if not)
press "a" in vim to enter text
enter the above example (of course the above example is just a guide you should set it up as it is on your configuration)
press Esc
press Shift+z

And i think think that would be all...

(man i am boring... )

Last edited by killer_bunny; 12-20-2003 at 05:24 PM.
 
  


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
fstab not edit-able? lefty.crupps MEPIS 1 06-06-2005 05:36 PM
How do I edit /etc/fstab? linusownsme Linux - Software 9 03-05-2005 11:30 AM
fstab edit craigers Linux - Software 15 12-03-2004 06:02 AM
Help me edit my fstab Slovak Slackware 3 11-26-2004 10:12 AM
edit fstab - what i ve to do ? thinkdifferent Linux - Newbie 4 12-23-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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