Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failed boot after power outage HELP!

Status
Not open for further replies.

tekkid

Technical User
Dec 28, 2001
50
US
Startup fails on reboot, the program makes it to about 95% of the hard disk check and then fails. Asks me to run FSCK without the -a or -p switch. Then allows me to continue to boot in maintanence mode. Try to run FSCK in there, and it doesnt appear to do anything. Reboot again and still does same thing. If anyone can help me I'm greatful in advance. AT my witts end!


kid
 
Notice when it does FSCK what disk it fails on?

usually wll say something like /dev/sda6

To fix:

run fsck -y /dev/sda6

(not just fsck, since just fsck will run on root / filesystem)
 
Hi,





The main filesystem you need to check is the root system but its a bit of a catch-22 for it do determine what that is as nothing is yet mounted so you need to pass fsck the partition id. In case the above is not clear enough you do :





# /sbin/fsck /dev/hda7





where /dev/hda7 is just an example of a partition. Obviously, use the correct partitions for your system. If you're sure its ext2 you can just call e2fsck (ext2 filesystem check) directly :





# /sbin/e2fsck -c -y /dev/hda7





(where -y means automatically answer 'yes' to repair prompts) See -->




Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top