Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I cannot boot into grub, I can see this

Alloc magic is broken at XXXXXX Press any key

but when I do nothing happens. Holding shift doesn't do anything also.

The last time I could use my machine I changed stuff in the /etc/grub.d but I chroot into the system, reverted everything and successfully ran update-grub.

Any help appreciated.

If anyone wondering: Ubuntu 12.04.1, Installation media was (I guess) 11.10, it's an i5-first generation kernel, 4GB RAM, memtest was okay.

share|improve this question

2 Answers 2

A Boot-Repair Live USB can be used to repair Grub. You can download the ISO from the Ubuntu Wiki. Then, use Unetbootin to create a Live USB from the ISO file you downloaded. After you boot from the USB, the Boot Repair utility will pop up. Just click on the Recommended Repair button, and Boot-Repair will repair Grub for you.

share|improve this answer
    
I did that. Changed nothing. It did give come "advice", but nothing which should prevent GRUB from starting, and nothing which wouldn't be the same since the original installation. –  mrs_sheep Sep 3 '12 at 15:01

I have solved this.

After all, i used Rescatux and mainly SG2D to chainboot into my regular system. I then ran update-grub again and was wondering again why it would list everything twice when it occured to me to check the "grub.cfg" (just read, not write!).

I then found out that the supposingly "reverted" changes to the GRUB-config were super-happily alive preventing grub from starting. (I had named the not-working ones with ".n" for "new" assuming they would be ignored (like ".bak"))

SO: is it a valid bug to be posted, that reinstallation of grub does not clear the config dir?

share|improve this answer

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.