Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Lost A File And Can't Boot, fsck is missing - how do I restore?
lonewolf
post Jan 17 2004, 03:29 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-January 04
Member No.: 2,155



I've been running red-hat for 3+ years without a hitch (but am still a newbie). When I went to boot up today it got as far as "Checking root filesystem" The next line is "/etc/rc.d/rc.sysinit: fsck: command not found", followed by [FAILED], followed by:
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root apassword for maintenance
(or type Control-D for normal startup):
I first tried to do the control-D which brought me back to the same point again. I have logged on as root, but do not know how to restore the fsck file. Any input will be greatly appreciated
Go to the top of the page
 
+Quote Post
hughesjr
post Jan 17 2004, 03:38 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



you will need to run the command:

fsck

allow it to fix any errors that you have ...

If the machine was shutdown improperly, this can happen ... but if the machine was shutdown properly then it might be an indication of a hard drive problem.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
lonewolf
post Jan 17 2004, 04:09 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-January 04
Member No.: 2,155



When I type the command fsck it returns the following line:

bash: fsck: command not found
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2017 - 09:54 AM