Bug#416836: grub-install fails on EM64T (AMD64 testing build)

Markus Petzsch markus at petzsch.eu
Fri Mar 30 17:17:08 CET 2007


Package: grub
Version: 0.97-26

When running "grub-install /dev/sda" I only get the following output:
/usr/sbin/grub-install: line 394: /usr/sbin/grub: cannot execute binary file
sed: can't read /boot/grub/device.map: No such file or directory
grep: /boot/grub/device.map: No such file or directory
/dev/sda does not have any corresponding BIOS drive.

I'm trying to use grub to make a manually debootraped Debian etch 
bootable. The System runs on an Intel P D930 with EM64T as suggested by 
the ports page, I'm using the AMD64 debian packages for this platform.

Trying to manually compile grub by using "apt-get source grub" and 
"dpkg-buildpackage" fails at this point:

checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-stamp] Error 1

Even after installing ia32-libs nothing changes. I'm not 100% sure if 
the problem is grub related, as the 64-Bit rescue system kernel provided 
by my Server Hoster via PXE includes also a possible trap line:

# CONFIG_IA32_EMULATION is not set

Kind Regards

Markus Petzsch




More information about the Pkg-grub-devel mailing list