Discoverable GPT partitions

#archlinux #system

LWN recently covered a comprehensive guide about discoverable GPT disk images by Lennart Poettering.

I like this feature a lot; in my experience it makes standard setups much simpler and less error prone.

The article illustrates that almost all systemd commands also work on discoverable disk images, which perhaps makes Archlinux installations simpler as well: One can prepare a generic Arch disk image offline, then write it to the block device, run systemd-firstboot on it for the necessary customisation, and finally a custom installation script via systemd-nspawn.

I'll have to try this next time I install Arch.