Andrew Engelbrecht | 7 Apr 2011 00:43
Picon
Gravatar

booting viengoos with GRUB2 v. 1.99~rc1

Has anyone gotten viengoos to boot using GRUB2 v. 1.99~rc1? I get the
following errors in qemu when try to boot Viengoos:

error: invalid offset in section header.
error: you need to load the multiboot kernel first

Looking at the date of the patch recommended for GRUB at
http://www.gnu.org/software/hurd/microkernel/viengoos/building.html ,
I figured that v. 1.97 would be the closest tried and tested version
of GRUB and therefore might work with viengoos. Unfortunately, v1.97,
v1.97.1, v1.97.2 and v1.98 don't cross-compile on my PPC computer.
Here are the errors I get when compiling v1.97:

gcc -Iutil/i386/pc -I../util/i386/pc -I. -I./include -I../include
-Wall -W -DGRUB_LIBDIR=\"/home/sudoman/src/gnuhurd/failedgrub/7/build/../install/lib/`echo
grub/i386-pc | sed 's&^&i386-pc-linux-gnu-&'`\" -g -O2 -DGRUB_UTIL=1
-MD -c -o grub_setup-util_i386_pc_grub_setup.o
../util/i386/pc/grub-setup.c
../util/i386/pc/grub-setup.c:38: error: initializer element is not constant
../util/i386/pc/grub-setup.c:38: error: (near initialization for
‘grub_gpt_partition_type_bios_boot.data1’)
../util/i386/pc/grub-setup.c:38: error: braced-group within expression
allowed only inside a function
../util/i386/pc/grub-setup.c:38: error: braced-group within expression
allowed only inside a function
../util/i386/pc/grub-setup.c:38: warning: missing initializer
../util/i386/pc/grub-setup.c:38: warning: (near initialization for
‘grub_gpt_partition_type_bios_boot.data1’)
make: *** [grub_setup-util_i386_pc_grub_setup.o] Error 1

(Continue reading)


Gmane