People sometimes[^1] ask me how they should setup their new laptop.
And since I’m currently in this process myself, I figured it might make sense to
jot it down.
Keep in mind, that this is my opinion and certainly not the only one.
About two-and-a-half years ago, I released the first version of my bootloader,
towboot (see the first post for how and why that happened).
It supports UEFI-based x86 systems and Multiboot-comptible kernels.
But there isn’t just a version 1
of Multiboot, there is also a version 2.
It’s not that much newer or that much better and there are still various
operating systems using Multiboot 1, but still, I thought that it would be nice
to add support for the newer version (and get ECTS[^0] for that).
I wrote a bootloader (see the first post for, why).
Let’s see what has happenend and what is yet to come.
Conclusion
Summary
UEFI-compatible firmwares thankfully provide abstractions that
make writing bootloaders very straight-forward and high-level
in comparison to the legacy BIOSAPI.
uefi-rs maps them nicely to Rust data structures and methods.
The Rust support for this environment is rather good,
although some not-so-frequently-used features are not (yet)
supported (see a previous post for more details).
In the last post, I explained my motivation for why I was
writing a bootloader in 2020. For the following parts,
you’ll need to learn some stuff first:
learning the basics (background)
A bootloader is basically just glue between the firmware and the
kernel. The UEFIAPI is quite high-level and platform-agnostic, but the
Multiboot standard requires dealing with some x86 specifics,
which we’ll see shortly.
Ich habe in den letzten Tagen sehr viel Stuss in den sozialen Medien und in Blogposts über diese neue App gelesen – und da dachte ich mir: Das kannst du auch.
Solltet ihr die App benutzen?
Keine Ahnung, das müsst ihr selbst entscheiden.
Nutze ich die App?
Ich habe sie installiert, aber sie funktioniert bei mir leider nicht. Ja.
Ich habe mehrere Geräte mit Debian-ähnlichen Linux-Distributionen.
Und ich hatte heute Lust, da mal ein bisschen aufzuräumen.
Und wo ich schonmal dabei bin, kann ich das auch gleich aufschreiben.
There are a few blog posts, Twitter threads and other stuff I usually recommend to people when talking about a specific topic.
I figured it would be nice to collect them all in one place.
Früher™ - da war die Welt noch nicht so kompliziert!
Alle Linux-Distributionen benutzten SysVinit. Und alles war gut!
Na ja, und jetzt gibt es halt viele tolle andere Init-Systeme. Parallel.
Also, eigentlich nur noch eins, jetzt wo auch Ubuntu auf systemd setzten möchte bzw. muss.
Es geht eigentlich immer darum, den Start möglichst schnell hinzubekommen. Hier nicht! (Also ersteinmal.)
Ich präsentiere: **YARFI** (noch lange nicht fertig)