Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Lost fstab file

Lost fstab file

2007-10-05       - By Bob McClure Jr

 Back
On Fri, Oct 05, 2007 at 10:06:20AM -0400, Bill Jones wrote:
>  
> Help please...
>
> I somehow managed to forget to restore my fstab file before shutting
> down my server. Now it won't boot (of course).
> Is there a way to recover a missing fstab file? I moved it to fstab.orig
> prior to the shutdown. I have RHEL 4.
> I tried linux rescue but it doesn't seem to work.

Well, it won't find and mount your filesystems for the same reason it
won't boot.  You'll have to do it manually.

Boot to rescue mode, but don't let it try to find and mount the
filesystems.  Note that at this point, I assume you know what your
root partition is.  If not, try to boot normally and stop things at
the grub screen to see what is the root partition.

Meanwhile, back at rescue mode, you may need to make a mount point.
Do an

 ls /mnt

to see what's available.  If you don't see anything you trust, make
one and mount your root filesystem.

 mkdir /mnt/hd
 # assumes root partition is /dev/hda5
 mount /dev/hda5 /mnt/hd
 cd /mnt/hd/etc
 mv fstab.orig fstab
 cd
 exit

If if over-assumed what you know about your system, let us know what
I missed.

> Thanks,
> Bill Jones

Cheers,
--
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@(protected)             http://www.bobcatos.com
"Salvation is found in no one else, for there is no other name under
heaven given to men by which we must be saved."  Acts 4:12 (NIV)

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe