[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in creating the EFI image for Grub2
From: |
Adhyas Avasthi |
Subject: |
Error in creating the EFI image for Grub2 |
Date: |
Fri, 12 Nov 2010 16:20:01 -0800 |
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.
********************************************************************
- Error in creating the EFI image for Grub2,
Adhyas Avasthi <=