Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Sep 8 '12 at 10:00

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

I think this should be over on serverfault. – diverscuba23 Aug 14 '12 at 20:34
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

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 The folks over there are more experienced in this sort of thing.

share|improve this answer

Your Answer


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.