Good afternoon everybody!
These days I'm deepening in UEFI stuff a little, just for fun (not for profit tough
).
I wanted to launch some kernels with ELILO inside VirtualBox, which is able to emulate UEFI.
I partitioned a disk with GPT and a EFI system partition, in which I stored the elilo efis themselves and a fresh compiled 32-bit bzImage.
First thing I noticed is that VirtualBox UEFI emulation seems to be 32 bits only (I could not find any documentation to confirm this tough) even if running inside a 64-bit distro and VirtualBox, since it refuses to execute every 64-bit efi . I had to go for elilo-ia32.efi .
Despite all the bzImage I tried were compiled with EFI support and were even relocatable (I think this is not essential for elilo actually), elilo was not able to successfully boot one of them.
Launching in verbose mode like this:
`elilo-ia32.efi -vvvv bzImage` results in elilo being unable to load the kernel image.
Code:
kernel is 'bzImage'
arguments are ''
ELILO v3.14 for EFI/IA-32
..
Probing loader: gzip_ia32
Probing loader: plain_elf32
Probing loader: bzImage_loader
kernel header suggests kernel start at address 0x100000
kernel_start: 0x100000 kernel_size: 4194304 loading at: 0x0
bzimage.c(line 202):Error reading kernel image bzImage.
elilo.c(line 84):Cannot find a loader for bzImage
Have you any idea?
Thank you in advance,
yours sincerely,
Karimo