Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76347 - grub 0.94-r1 on amd64 cannot boot windows?!
Summary: grub 0.94-r1 on amd64 cannot boot windows?!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Robert Moss (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-01 14:24 UTC by ivo welch
Modified: 2005-01-10 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivo welch 2005-01-01 14:24:00 UTC
I get an
  Error 13: Invalid or unsupported executable format
if I try to boot windows.  interestingly, gentoo boots up just fine...


Hard disk:

$ fdisk -l /dev/hda

Disk /dev/hda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           3       24066   83  Linux  <- boot
/dev/hda2               4        3500    28089652+   7  HPFS/NTFS
/dev/hda3            3501       16457   104077102+  83  Linux
/dev/hda4           16458       19457    24097500    f  W95 Ext'd (LBA)
/dev/hda5           16458       17457     8032468+  83  Linux
/dev/hda6           17458       19457    16064968+  83  Linux

$ cat /boot/grub/grub.conf

# Boot automatically after 5 secs.
timeout 5

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux
title  gentoo
root (hd0,0)
kernel /kernel-2.6.9-gentoo root=/dev/hda6
#initrd /initrd.img

# For booting GNU/Linux
title  gentoo-working
root (hd0,0)
kernel /boot/kernel-2.6.9-gentoo-working root=/dev/hda6
#initrd /initrd.img


# For booting GNU/Linux
title mandrake10
root (hd0,0)
kernel /linux-2.6.9 root=/dev/hda5
#initrd /initrd.img

# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader  +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,0)
setup   (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue


Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups curl dvd dvdr esd f77 fam fbcon flac foomaticdb fortran g77 gdbm gif gnome gpm gtk imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff motif mozilla mpeg multilib ncurses nls opengl oss pam perl png python qt readline ssl tcpd tetextiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv zlib"
Comment 1 ivo welch 2005-01-10 15:01:28 UTC
a stupid mistake on my part.  never mind.