No description
Find a file
Altareos bcdc232728
All checks were successful
Build and Push to Gitea / build (push) Successful in 1m29s
forgejo migration
2026-03-06 16:40:38 +01:00
.cargo basic functionality 2023-03-16 22:08:38 +01:00
.forgejo/workflows forgejo migration 2026-03-06 16:40:38 +01:00
src rust edition 2024 2025-07-02 00:53:55 +02:00
.gitignore basic functionality 2023-03-16 22:08:38 +01:00
Cargo.lock rust edition 2024 2025-07-02 00:53:55 +02:00
Cargo.toml rust edition 2024 2025-07-02 00:53:55 +02:00
README.md fix readme 2023-03-16 22:14:41 +01:00

Barnacle : The Rusty UKI Loader

Example objcopy command

Using an mkinitcpio-like configuration

objcopy target/x86_64-unknown-uefi/release/barnacle.efi /boot/efi/arch.efi \
    --add-section .linux=/boot/vmlinuz-linux --change-section-vma .linux=0x2000000 \
    --add-section .initrd=/boot/initramfs-linux.img --change-section-vma .initrd=0x3000000 \
    --add-section .cmdline=<(grep -a '^[^#]' "/etc/kernel/cmdline" | tr -s '\n' ' '; printf '\n\0') --change-section-vma .cmdline=0x30000