I've been getting strange errors when I make changes to my boot setup in pcc. This is on my 64-bit install. Here's the error.
Installation of bootloader failed. The following error occurred:
:/boot/grub/install.sh: line 1:/sbin/grub: cannot execute binary file
When I google this error, it is usually associated with trying to run a 32-bit app in a 64-bit environment or vice-versa. So, I enter this code
file `which grub`
and to my surprise grub is 32-bit! The command gave this message.
[galen@localhost ~]$ file `which grub`
/sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
It is possible that I've messed something up, but this is a very recent install and I haven't built or re-installed grub before. I tested some other programs to see if the file command was working and they were all 64-bit programs. I re-installed grub, no change. I've tried to build grub, but there are multiple errors. Any clues?