Post #2212527
2026-03-27 12:28 UTC
Gardenhouse allows for factory resets directly from the installed system!
With Rootloader and Stem getting support for multi-profile UKIs, the default Gardenhouse UKI is now built with an extra profile that enables a factory reset
A factory reset can also be triggered by setting the efi variable GardenhouseFactoryReset to the contents of /etc/machine-id, which can be easily done with a new tool I made for this called efivar-set which allows setting efi variables from the shell
A factory reset performs a complete reformat of the USERDATA partition, while keeping disk encryption if enabled, this means that any home data, var contents and etc changes will be lost, setting the system to a state like it was freshly installed
efivar-set: https://git.pinkro.se/Rose/gardenhouse/efivar-set.git/about/
Commit adding factory reset: https://git.pinkro.se/Rose/gardenhouse/ebuilds.git/commit/?id=f11ed26167314f16f1575fb5f5494f5b09de1b32
Commit enabling multi profile UKI in gardenhouse: https://git.pinkro.se/Rose/gardenhouse/gardenhouse.git/commit/?id=a864df4ebbcadc68be72ad519f779ce518d91028
As always everything here is mirrored to codeberg, but since it's down right now I cant link to it
Replies (0)
No replies.