LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Unable to boot the server after executing the "fsck" command (https://www.linuxquestions.org/questions/red-hat-31/unable-to-boot-the-server-after-executing-the-fsck-command-4175429401/)

mahbabu999 09-28-2012 03:36 AM

Unable to boot the server after executing the "fsck" command
 
Hi,

I am unable to boot the Red hat Linux Machine.
“linux rescue” command is working but not the “init 6“ or “init 0”

Unable to find the /boot Partition and /etc/fstab,/etc/initab
Unable to find the “/mnt/sysimage”

Below is the filesystem currently available

Sh3.00# df –h
Filesystem size used Avail use Mounted on
Rootfs 6.0M 3.5M 2.3M 61% /
/dev/root.old 6.0M 3.5M 2.3M 61% /
/tmp/loop0 171M 171M 0 100% /mnt/runtime

Please help me to slove the issue.

With Regards,
Mahesh Babu.

suttiwit 09-28-2012 03:50 AM

If you do "fsck" when the disk is mounted, it will cause severe file system damaged as warned by fsck.

mahbabu999 09-28-2012 07:51 AM

yes.you are rite.how to rectify this withour reinstall.

TobiSGD 09-28-2012 08:11 AM

Restore your backup. If you don't have one then you know now why it is good to have one. Otherwise reinstalling is the only option to get back to a known good system.
By the way, it is not intended to start the system to the runlevels 0 or 6, just because runlevel 0 is the runlevel which shuts down the system and runlevel 6 the one that reboots the system.

suttiwit 09-28-2012 08:29 AM

Or, try inserting a live-cd of another distribution and run "fsck" to fix the hdd again, Make sure it is recursive and verbose. Once, done. Remove the disc and reboot. It *MIGHT* fix it.

Ginola 10-01-2012 07:41 AM

Does it get passed the grub stage? Have you tried re-installing the GRUB anyway?..

also this "might" help.

https://access.redhat.com/knowledge/...escuemode.html

HTH.


All times are GMT -5. The time now is 11:31 AM.