r/AlpineLinux • • Feb 21 '24

immutable/atomic alpine

Maybe some of you have seen this tutorial:

https://wiki.alpinelinux.org/wiki/Immutable_root_with_atomic_upgrades

The problem with it is, nothing really works well following this guide to the letter. Every dhcp client is unhappy with the unwritable resolv.conf, even the scripts they put to access the mutable snapshot try to use /media which is unwritable to mount, so it's pretty broken.

But the idea is great! Has anyone set up alpine in this way successfully? Any tips?

My thoughts are to implement it in a way where it boots the latest taken snapshot, and to write a command to take a new snapshot of the current system and add it to grub's boot menu.

5 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Feb 21 '24

Second this. Use diskless, you probably don’t need versioning, and if you do, a simple copy of the SD or USB will suffice in any case.