Topic: Problems with Grub
bl4cks4bb4th's photo
Tue 08/25/09 02:40 PM
I installed Ubuntu Jaunty on my computer, but I had so many problems I wanted to get rid of it. I was dual-booting that and Vista. So instead of finding a way to uninstall it properly, I decided it would be faster to just format the partition. Grub won't load right now. I was getting an error 22, and then I did something else with my partitions and now I'm getting a 17. Do I just need to reinstall Grub? And if so, how do I go about doing that?

no photo
Wed 08/26/09 01:12 AM
If you wiped the linux partitions, then it would probably be easier to use a Vista CD/DVD and reinstall the vista loader.
You can always reinstall Linux afterwards.

Boot off the Vista CD, follow the prompts till you get a choice to
"Repair your computer"
Select the Vista installation, next, then choose command prompt.

Now, type in:
cd \boot
bootrec /FixMbr

Reboot and you should be good.

If not, go through the same routine, but type in:
cd \boot
bootsec /nt60 c:

Reboot and check it. If you're still not booting, well, a repair install of vista is probably needed.

In case you're wondering, a code 22 means grub couldn't find it's config file, which is stored in under the boot directory of your root linux partition...which you nuked. :) A code 17 means (among other things), "I can't even find the partition I want to try to load my config from. Ack!"


bl4cks4bb4th's photo
Fri 08/28/09 01:31 PM
Thanks. I was able to boot properly after that. Unfortunately, I did something else after I repaired it and had to wipe my hard drive.