chi ~ # file /sbin/grub /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, stripped Also errors from ebuild: /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 262: ebeep: command not found * Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to //boot/grub /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 278: /sbin/grub: cannot execute binary file * Grub has been installed to //boot successfully. ======= emerge --info Portage 2.2_rc12 (default-linux/amd64/2007.0/no-multilib, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc2 x86_64) ================================================================= System uname: Linux-2.6.28-rc2-x86_64-Intel-R-_Core-TM-2_CPU_L7400_@_1.50GHz-with-glibc2.2.5 Timestamp of tree: Tue, 28 Oct 2008 06:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r4 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -ggdb -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -ggdb -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" LINGUAS="en et" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /home/plaes/code/gentoo/gnome /home/plaes/code/gentoo/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi adns alsa amd64 amr apache2 ares avahi berkdb blas bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups curl daap dbus dga djvu dri dvd dvdr dvi eds encode exif fam ffmpeg fftw flac fortran fuse galago gdbm gif gimp git glib glitz gmp gnome gnome-keyring gnuplot gnutls gphoto2 gs gsl gstreamer gtk hal hdri iconv idn ipv6 isdnlog jingle jpeg kdrive kpathsea lapack laptop latex lcms libnotify lzma lzo mad midi mmx mng mozdevelop mp3 mpeg msn mudflap nautilus ncurses network network-cron networkmanager nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pcmcia pcre pcsc-lite pdf perl png pppd python raw readline reflection resolvconf samba sdl session smartcard smp sound source spl sse sse2 ssl ssse3 subversion svg tcpd theora tiff truetype unicode usb v4l v4l2 vim-syntax vorbis x264 xcb xinerama xml xmp xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I would have thought that it was intended that way, but I'm no expert on either amd64 or grub.
I'm seeing the same problem.
(In reply to comment #0) > chi ~ # file /sbin/grub > /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, for GNU/Linux 2.6.9, stripped I don't see this as problem, there's no /sbin32 or something. > Also errors from ebuild: > > /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 262: > ebeep: command not found caused by missing inherit eutils, fixed that > * Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to > //boot/grub > /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 278: > /sbin/grub: cannot execute binary file caused by missing CONFIG_IA32_EMULATION in your kernel
(In reply to comment #3) > (In reply to comment #0) > > chi ~ # file /sbin/grub > > /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > > statically linked, for GNU/Linux 2.6.9, stripped > I don't see this as problem, there's no /sbin32 or something. > > > Also errors from ebuild: > > > > /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 262: > > ebeep: command not found > caused by missing inherit eutils, fixed that > > > * Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to > > //boot/grub > > /var/tmp/portage/sys-boot/grub-static-0.97-r6/temp/environment: line 278: > > /sbin/grub: cannot execute binary file > caused by missing CONFIG_IA32_EMULATION in your kernel > It worked before. And not everyone wants that...
grub-static has never been and will never be 64bit, so it only worked before if you had IA32_EMULATION enabled before... and I don't see why people complain over a few kilobytes of kernel code
I'm on amd64-hardened, no multilib. Never had said kernel option. Now Bootloader install won't work for me, i only get EIS linux # grub -bash: /sbin/grub: cannot execute binary file EIS linux # emerge --info Portage 2.1.6.4 (hardened/amd64, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-hardened-r9 x86_64) ================================================================= System uname: Linux-2.6.25-hardened-r9-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_1210-with-glibc2.3.2 Timestamp of tree: Thu, 15 Jan 2009 11:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=opteron -pipe -fforce-addr " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=opteron -pipe -fforce-addr " DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 bash-completion berkdb cracklib crypt fam hardened justify midi nls nptl nptlonly offensive pam pic readline sse sse2 ssl tcpd unicode urandom winbind xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY