This is a set of scripts designed to automate the creation of a minimal VM running Arch Linux, i3 as a Windows manager and my own doom-emacs configuration. This VM can be used as a file editor for the host via folder sharing and as a development environment. Currently, the VM costs about 90MB of RAM to run.
This is forked from quantorenlogik, showcasing original (Adrien's) project in this video. I've adapted most of his project, altough swapping out the bootloader, adding some personal preferences and optimizing the mirrorlist for german servers. Cheers to Adrien & quantorenlogik!
- 8GB of space on disk
- 1GB of RAM
- Clipboard sharing in both directions enabled
- Two shared folders
org
andworkspace
auto-mount and permanentorg/secrets
contains ssh keys and suchorg
contains other files synchronised across multiple systemsworkspace
work related folder
Note host folders that are mapped to org
or workspace
should not contain whitespaces. The folder name (seen in VM settings) must match the destination, while the name in the path can be different.
Boot the VM on archlinux iso and then run the command
pacman -Sy
pacman -S wget
wget https://bit.ly/3r6np4i -O install.sh
bash install.sh [user] [password] [fast]
All arguments are optional and will be prompted for if not passed on invocation:
[user]
is your username[password]
is what you want the root and user password to be[fast]
is boolean 1 or 0 and controls usingrankmirrors
during set up which will be slow
The install.sh script will run and then reboot the computer once done.
You want to boot on disk this time and eject the cd from the VM.
Login as your user then run the command
bash post-install.sh
The script will ask for the root password a couple of times.
Once the VM is booted, log in as your user and call startx
to start Xorg.
- Cannot install
wget
. Some pgp keys are corrupted
The iso may be older than the keys on the server. On first boot, run
pacman -Syy archlinux-keyring
pacman-key --populate archlinux
- dhcpcd on boot