A simple Vagrant configuration for creating a Arch Linux virtual machine with UEFI and systemd-boot as boot loader. For better autocompletion Zsh is used.
- Install VirtualBox
- Install Vagrant. You can use asdf for multiple version support.
- Create your virtual machine and prepare it for EFI support
VAGRANT_EXPERIMENTAL="disks" vagrant up
- Reboot to finish the setup
vagrant reload
- Use
vagrant ssh
to connect - Stop the virtual machine with
vagrant halt
- Boot it up again with
vagrant up
- Destroy it with
vagrant destroy
There is an optional arch-bios
virtual machine. Just enable it in the Vagrantfile.