How do I recover from a grub renaming issue?

Posted by Justin Ardini on Super User See other posts from Super User or by Justin Ardini
Published on 2010-06-17T02:59:12Z Indexed on 2010/06/17 3:03 UTC
Read the original article Hit count: 364

I am currently dual-booting Ubuntu 10.04 and Windows 7 with grub 1.98 as the bootloader.

I recently decided to edit the grub menu to remove the old Ubuntu kernels, so I followed the instructions of this guide and added the line list='version_find_latest $list' to the 10_linux file, then ran sudo update-grub. Apparently I made a mistake, because upon restart I had these bootloader entries:

Ubuntu, with Linux $list
Ubuntu, with Linux $list (recovery mode) 
Ubuntu, with Linux version_find_latest
Ubuntu, with Linux version_find_latest (recovery mode)

When I try to load any of these, I get a grub error along the lines of,

Error: not a normal file

Now I can't start any version of Ubuntu to remove the line I added. What's the best course of action to be able to use Ubuntu again? Thanks.

© Super User or respective owner

Related posts about ubuntu

Related posts about ubuntu-10.04-lts