LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2001, 11:51 AM   #1
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Rep: Reputation: 15
fstab trouble


i just did a clean install of Red Hat 7.2 and i edited the fstab file to be able to mount my windows partition but...the mount point is not being created.

/dev/hda1 /C vfat noauto 0 0

that's the line i entered, it worked with Red HAt 7.1 but no such luck with 7.2, it keeps telling me that the mount point doesn't exist. what should i attemp next?
 
Old 12-29-2001, 12:25 PM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Ummm... create the mount point?

Code:
mkdir /C
nb: /C is not the same as /c
 
Old 12-29-2001, 01:19 PM   #3
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
Try this

/dev/hda1....../mnt/Dos_1......vfat.......user,umask=000...0..0

Forget the dots

You'll have to make the Dos_1 dir on your linux system

cd /mnt
mkdir Dos_1
or mkdir C in your case

Leaving all the mounts in the /mnt dir will keep your system clean and you'll know where it is later
.

the user option will allow users to see the mount and the umask option will give normal user write access to the Dos partition else only root will have write permissions to the Dos partition


Succes

Last edited by Sylhouette; 12-29-2001 at 01:21 PM.
 
Old 12-29-2001, 09:08 PM   #4
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
It was a pretty weird thing but when i created the /C directory before editing the fstab file everything went smoothly. i guess i was doing it in the wrong order.

i just did

cd /mnt
mkdir

cd ..
cd /etc
vi fstab
/dev/hda1 /C vfat noauto 0 0

and i was able to mount that drive immediately.

and believe it or not i finally got my machine to connect to my network and the internet. now i just have to figure out all the productivity programs.

just two small questions what happened to the commands netcfg and linuxconf in Red Hat 7.2??
 
Old 12-29-2001, 11:30 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I guess netcfg is replaced with netconf (at least it is in Mandrake8.1 now which is based on RedHat) and linuxconf is linuxconf but both of them in /sbin directory, just make sure /sbin is in you $PATH, or type /sbin/netconf in the prompt.
Happy New Year!!!
 
Old 12-30-2001, 02:42 AM   #6
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
linuxconf has been removed from the default install, becuase of its tendancy to trash people's systems.

Try webmin, its a lot more reliable.
 
Old 12-30-2001, 05:18 AM   #7
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
A lot of people do a su to become root .
But the envirement of root is not set that way.
If you do a su - root then you'll get the root envirement.

Forgive me my poor english

then all the PATH'S are set for root

So you can type
service httpd start and so on: if you do this after a su then you'll get the error service not found or something like that
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
The trouble with fstab/auto/user/s Rudibot Mandriva 1 11-26-2004 08:02 AM
trouble mounting my dvd-rw - can someone check my fstab? sasquatch Linux - Hardware 21 09-27-2004 07:50 AM
Trouble with fstab NickC Mandriva 10 07-01-2004 09:48 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 06:55 PM


All times are GMT -5. The time now is 01:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration