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 now get a grub error:
error: not a regular 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.