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!

Linux will not boot

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
This message appears when attempting to boot redhat:

*** An error occurred during the file system check.
*** Dropping you to a shell: the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D for normal startup):

Typing Control-D just reboots and goes back to this screen.
 
provide the root password and run fsck on your disks to fix any errors. It appears that there might be errors in your / partition and fsck wants to ask you Q's about it to determine how to fix it. once this has been fixed, you can restart and the startup should progress further. AV
tnedor@yahoo.com

Did this post help? Click below to let me know.
 
Hi,

In case the above is not clear enough - once you've entered the root password you'll get a root prompt (#). You then run fsck on each of your ext2 partitions (using example of /dev/hda1) :

#e2fsck /dev/hda1 (interactive)
or
#e2fsck -y /dev/hda1 (assume 'yes' answer to all questions during fs check)

There are other options (e.g. -p does auto repair) but the safest is always to do it interactively. You would need to know the device names of your partitions - the example above refers to the first partition on the first ide drive (/dev/hda2 would be the second primary partition; /dev/hda5 would be the first logical partition on the first drive, etc)

If fsck has problems it will let you know. After its finished enter 'sync' a few times and then 'init 6' to reboot. Hopefully, it will then be OK again..

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top