Aalbus-linux / Aalbus

The master repository for the Aalbus distribution
Other
22 stars 0 forks source link

Bootloader #3

Closed staalmannen closed 3 years ago

staalmannen commented 3 years ago

The system will be gpt/efi-based but syslinux seems to be the best option at the moment

staalmannen commented 3 years ago

After some heavy hacking, I get compilation until building of man pages (requires asciidoc), but then build fails because gmake can not find target "all". I have not been able to figure out which directory it fails at, but it should be the one after efi64/txt

staalmannen commented 3 years ago

stuck on syslinux. Considering REfind or bootboot instead and then that I make an EFI-only bootable image. The problem is that both require edk2 or gnu-efi. Both are problematic -edk2 is super annoying and gnu-efi does not seem to build at all on clang.

Luckily I found clang-efi where the efi "library" simply are some header files. I think this could be very promising, and if I would hack a bit on bootboot it might be the nicest solution.

staalmannen commented 3 years ago

OK clang-efi did not work for me unfortunately, so after some fighting I ended up building gnu-efi and refind. I guess this will be the default for the bootable image, which means it will depend on EFI.