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 accidentally installed debian on the wrong partition and now my GRUB bootloader is bricked. I tried installing other operating systems but I get the same error at the end: cannot install grub (whether grub 2 or LILO) Any idea how to fix it?

share|improve this question
3  
I think this should be over on serverfault. –  diverscuba23 Aug 14 '12 at 20:34
add comment

migrated from stackoverflow.com Sep 8 '12 at 10:00

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

Solution: I fixed the problem by installing Windows. Windows fixed the whole issue by itself. Then I had to remove windows and install Linux.

share|improve this answer
add comment

Try booting from a Live CD (you can do this from the Ubuntu install CD, among others) and re-configure grub via the command line. You'll probably have a difficult time restoring your previous Grub, but you should at least be able to get your system back in a usable state.

For a more detailed answer, ask on superuser.com. The folks over there are more experienced in this sort of thing.

share|improve this answer
add comment

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.