Building Arch on Gnome Boxes


If you tried to install an Arch-based virtual machine with Gnome Boxes you might have run into the following issue: the installation works with no issues, but the resulting image is not bootable.

It turns out you need to setup a boot partition. The simplest approach is partitioning the virtual disk adding a boot partition, which you can easily do with the following script:

Remember to set a password for root before rebooting!!