I got the latest sources with bzr. Host is Ubuntu 10.04 x86_64
Wish to build a x86_64 grub2 efi boot loader image.

Did the following:
./autogen.sh
./configure --with-platform=efi
make
./grub-mkimage -d /usr/lib/grub/i386-pc -O x86_64-efi -v

And the output is an error as follows:
./grub-mkimage: info: the total module size is 0x18.
./grub-mkimage: info: getting the size of /usr/lib/grub/i386-pc/kernel.img.
./grub-mkimage: info: reading /usr/lib/grub/i386-pc/kernel.img.
./grub-mkimage: info: getting the size of /usr/lib/grub/i386-pc/kernel.img.
./grub-mkimage: error: invalid ELF header.

What am I doing wrong?

Thanks,
Adhyas
********************************************************************
Two types have compatible type if their types are the same.
    — ANSI C Standard, 3.1.2.6.
********************************************************************

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to