Then I restart my virtualbox, login with my user account. I also have a third script that installs packages that are only relevant to virtual box: arch-chroot /mnt pacman -S virtualbox-guest-modules-archĪrch-chroot /mnt pacman -S virtualbox-guest-utils Nvidia-utils lib32-nvidia-utils kitty rofi neovim alsa-utils pulseaudio dunst Os-prober xorg xorg-xinit xorg-apps xf86-video-fbdev mesa bspwm sxhkd xf86-video-intel xf86-input-synaptics nvidia \ Here is the command that installs the packages: pacstrap -i /mnt base base-devel git curl wget openssh zsh zsh-completions networkmanager btrfs-progs ntfs-3g grub \
#Virtualbox arch xorg 2016 install#
I retrieve the hostname, user name and password, format the disk, install some basic packages (the list is not fixed yet), install grub, set the locale and time zone, create the user and add it to the sudoers and finally activate internet. For instance, it assumes the partitions are already created, /boot is on /dev/sda1 and / is on /dev/sda2.īe careful if you want to use this script, it formats the /dev/sda1 and /dev/sda2 partitions!
The second one is more interesting: it's the script that I'm executing to automatically install my minimal setup when running the live ISO: Īgain, it's a work in progress. So, I have mainly two scripts that I have customized.
For instance, I want my system in GB English, but I use an azerty French keyboard and this is hardcoded because it's probably not going to change in my setup. This is not supposed to be generic, it's only supposed to work on my computer. It's clearly a work in progress, but the source files can be found here: I have started to create my own archiso because installing arch is fun, but automating it is even funnier -).īefore actually using it on my computer to do a fresh installation, I'm testing it on virtual box.