monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
377 stars 9 forks source link

A/B updates 2: bootentryless #263

Closed q3k closed 10 months ago

q3k commented 12 months ago

This is a tracking issue for the effort to replace the newly baked A/B update system with another A/B update system.

The main issue with the current one is that it relies on boot entry manipulation. Turns out EFI firmware is not very good at this, and we have production hardware that does everything from losing entries to losing entry updates. It's not fun, and obviously not reliable.

The alternative currently being worked on leverages a more complex EFI 'pre-loader' that we implement ourselves in Rust and which dispatches into one of two A/B slots which is one of two kernels we could boot. Then we continue with the previous logic of the kernel having its own 'loader' stub that figures out which partition to boot based on its file name.

q3k commented 12 months ago

Being worked on at: https://review.monogon.dev/c/monogon/+/2203

lorenz commented 11 months ago

Merged, waiting for HW validation

q3k commented 11 months ago

Still waiting for HW validation.

q3k commented 11 months ago

Deployed to existing cluster, waiting to be deployed on new provider (Lumen) and actually tested.

fionera commented 10 months ago

Lumen machines are deployed and are waiting for a first update bundle

fionera commented 10 months ago

The AMD machines at Equinix have issues with old boot entries. The Intel machines at lumen just work. This is tracked by #279