Summary: | sys-boot/grub-static-0.97-r6 - installed /sbin/grub has wrong architecture | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Priit Laes (IRC: plaes) <plaes> |
Component: | Current packages | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | cruzki123, gentoobugzilla, jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Priit Laes (IRC: plaes)
2008-10-28 06:21:03 UTC
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 |