On Thu, 2002-04-11 at 11:36, Trevor wrote:
> When a system doesn't boot, what commands are useful to boot it back up?
> I'm thinking fsck, etc.
> 
> It is a RH7 box (ext2).  The system loads the kernel, then when it tries to
> mount the drives it goes into a system check.  The system check can't fix
> the inode/bad blocks on the HDD.  Regardless of what drive I boot, the same
> thing happens.
> 
> So it dumps me into the manual mode and tells me to run fsck on the drives.
> Can anyone give me some basic troubleshooting tips to see if I can get the
> box to boot?  It just drops me at the repair-fs prompt.

look at the message that says which partition is having problems
probably /dev/hdax where x is the partition number.  At the prompt you
are dumped to (single user mode BTW) type fsck /dev/hdax (x is the
partition identified above)

THen anser all the questions it asks you.  I always say yes so I started
using the command 
fsck -y /dev/hdax 
it will automatically anwer all questions with a yes.  THen hope that
there is nothing corrupted that matters.  If something is really bad
after the fsck you are looking at restoring the box.  You do have
backups, right?

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to