I have a kernel and rootfs, and I made an Unified Kernel Image using sbtcl.
./sbctl bundle -e ../linuxaa64.efi.stub -k ../linux-kernel -f ../rootfs_new.cpio.gz linux3.efi
Please note that i am making the unified kernel image for arm64, that’s why my stub is linuxaa64.efi.stub. I got this stub from ubuntu arm64.I am also creating the unified kernel image in an ubuntu arm machine.
The linux3.efi unified kernel image is made successfully and i put it to the /.
Then when the grub comes up, i do
chainloader (hd0,gpt1)/linux3.efi
boot
But the boot doesnt start and throws the following error.
Execution of embedded linux image failed: Load Error
error: unknown error.
-
Is there any other way to load the unified kernel image in grub apart from chainloader which i should try? I got the chainloader command from https://wiki.archlinux.org/title/GRUB#Chainloading_a_unified_kernel_image .
-
How to solve the error msg that is mentioned above?
Also, if there is any other way to bundle kernel and rootfs together please let me know.
Thank you.
I tried to run chainloader (hd0,gpt1)/linuxaa64.efi.stub and the boot in the grub, but that also gives the same error that is “Execution of embedded linux image failed: Load Error
error: unknown error”.
Does this mean there is anything wrong with my efi stub? If there is then from where can i download the correct arm64 efi stub?