Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I stupidly did sudo strip * in /usr/bin. Now my computer can't boot (X fails to load).

What should I do?

share|improve this question
    
X not loading and failing to boot are very different, can you Ctrl+Alt+F2 to TTY? –  Slowki Feb 26 at 1:55
    
nope. I wound up reinstalling the box (/home is on separate partition, so lost no data). –  Demetri Feb 26 at 2:15
1  
This question should be closed because the OP has solved the issue by reinstalling (probably the only solution anyway) and so the question is unlikely to help future visitors. –  terdon Feb 26 at 2:51
1  
Others may want to know that reinstalling is the only answer. –  Demetri Feb 26 at 3:48
    
What's wrong with stripped binaries? Why it does not work? –  andrej Mar 13 at 12:42

1 Answer 1

up vote 4 down vote accepted

The best way for you to recover would be to reinstall. Although you could copy the rest of your data (excluding /usr/bin/) by booting onto a rescue disk like System Rescue CD, and mounting your drive to copy the data.

Good Luck!

share|improve this answer
    
Did just that. Reinstalling programs now. –  Demetri Feb 26 at 3:47

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.