Loading a combined kernel, initramfs, and boot options as direct loadable efi stub
|
2018-08-28, 09:27
Post: #1
|
|||
|
|||
Loading a combined kernel, initramfs, and boot options as direct loadable efi stub
Hi,
I want to load a combined kernel, initramfs, and boot options as direct loadable efi stub. There fore I prepare the kernel.efi as follows: objcopy \ --add-section .osrel=/etc/os-release --change-section-vma .osrel=0x20000 \ --add-section .cmdline="cmdline.txt" --change-section-vma .cmdline=0x30000 \ --add-section .linux="vmlinuz-linux" --change-section-vma .linux=0x40000 \ --add-section .initrd="initramfs-linux.img" --change-section-vma .initrd=0x3000000 \ /usr/lib/systemd/boot/efi/linuxx64.efi.stub kernel.efi If I load the kernel.efi direct with the EFI bootmanager everything seems fine. But if I load the kernel.efi with iPXE the cmdline is somehow missing (the /proc/cmdlin is empty ... only kernel.efi is in there) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Loading a combined kernel, initramfs, and boot options as direct loadable efi stub - tbk - 2018-08-28 09:27
RE: Loading a combined kernel, initramfs, and boot options as direct loadable efi stub - NiKiZe - 2018-08-28, 13:01
RE: Loading a combined kernel, initramfs, and boot options as direct loadable efi stub - tbk - 2018-08-28, 15:46
RE: Loading a combined kernel, initramfs, and boot options as direct loadable efi stub - tbk - 2018-09-28, 18:35
|
User(s) browsing this thread: 1 Guest(s)