I have had Ubuntu 12.04 x86 (32-bit) for a while now and decided to erase it and reinstall it just to clear some memory and start over.
I have performed this operation before and it worked fine, but after restarting this time, I got an ELF header smaller than expected error and a grub rescue prompt. I am not so concerned about the error this time because I know that the operating systems and all my files are still there (at least I think they are after running the
ls command at the prompt - example drive: (hd1, msdos6)?).
I would boot from the Live CD and make changes inside, but the optical drive does not work, and my Dell Optiplex GX260 does not have the BIOS capability to boot from the USB drive I installed. I have done some research, and it sounds like GRUB is corrupted and/or did not install right. Maybe this had something to do with the fact that it was already installed, or where it was installed.
Do I have to set the path and root drive for GRUB, or what can I do to get the operating system up and working again?