On Wed, 29 Sep 1999, Ray Olszewski wrote:
> See below.
>
> At 08:12 AM 9/29/99 +0800, Paul Chen wrote:
> >hi all:
> > by mistake, I delete /etc/fstab,then I can not start X windows,Can
> >any tell
> >me how to fix this problem?
>
> Fix it by restoring fstab. I can't tell you exactly how, since its contents
> depend on the specifics of your system ... but basically it provides
> information on what devices are to be mounted at boot and where their mount
> point are (this is a bit simplified; read the man page for full details on
> the other things that fstab does).
>
> You want one entry for each volume (including swap), and their general form is
>
> /dev/hda1 / ext2 defaults 0 1
> /dev/hda2 /usr ext2 defaults 0 1
> /dev/hda3 none swap sw 0 0
> proc /proc proc defaults 0 0
>
> I don't know, though, why this would cause X to fail. If fixing fstab
> doesn't solve the X problem, you may want to post again about it.
Sounds like a Redhat thing, possably the lack of the following in
fstab would cause X starting problems when /etc/X11/XF86Config has;
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Put the following into /etc/fstab.
none /dev/pts devpts gid=5,mode=620 0 0
That all on none line, i say that because the line could possable get
mangeld up.
And of course make sure you have the devices pts in /dev
I hope i'm not out of line on this one Ray.
> > Another question:how to mount floppy?
>
> With the "mount" command. Something like the following (done as root, with a
> disk that has a filesystem on it in the drive):
>
> mount /dev/fd0 /floppy
>
> (assuming, of course, that the mount point /floppy exists).
>
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski -- Han Solo
> Palo Alto, CA [EMAIL PROTECTED]
> ----------------------------------------------------------------
--
Regards Richard
[EMAIL PROTECTED]