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.

>    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]        
----------------------------------------------------------------
  • Re: Ray Olszewski
    • Re: Richard Adams

Reply via email to