Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Yes, I very stupidly ran fsck on a mounted parition. Immediate regret.

What's happening now is I see grub, it starts booting centos 5, then it says:

bin/sh: ro: no such file or directory   kernel panic

I've booted with a clonezilla livecd and noticed that it detected all 5 partitions on the HDD. Could that mean that the partitions are okay but the OS files are corrupted?

Anybody know how I might fix this situation?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Sorry no quick answer.

The broken partition will be the one you did the fsck on. The other non-fsck'd partitions should be fine.

Looks like you might have killed the root partition containing critical system files.

You can reboot from a Linux Rescue CD and check the other partitions to see if they are ok. I'd back up any data from them. Then reinstall the OS, preserve the data partitions if you are allowed but the data in needed systems partitions will likely be overwritten. Restore necessary from the backups you made using both your own and the ones made with the rescue CD.

share|improve this answer
    
thanks for the quick reply mdpc –  Fidel Jan 4 '13 at 20:53
    
just for curiousity, what is the downgrade for? –  mdpc Jan 4 '13 at 23:22
    
who did the downgrade? –  Fidel Jan 4 '13 at 23:28
    
Ended up reverting to a backup –  Fidel Jan 7 '13 at 10:24
    
GREAT.....too many people forget to backup things so when disasters happen they are unprepared. –  mdpc Jun 28 '13 at 19:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.