diff --git a/README.md b/README.md index c56d4c0..e10cdbd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,22 @@ This repo contains scripts to install a full Archlinux with Xfce install complet # Running -On a live-booted archlinux installer, run the following commands: +First, [download](https://archlinux.org/download/) an ArchLinux ISO (scroll down to mirrors). +Then, set up a VM using for example VMWare Workstation Player 16 + +On a live-booted archlinux installer, run the following commands + +``` + ls /usr/share/kbd/keymaps/**/*.map.gz + loadkeys [IDENTIFIER HERE (find it in the output above)] + pacman-key --init + pacman -Sy git + git clone https://github.com/simplePCBuilding/arch-dev-vm + cd arch-dev-vm + ./install.sh +``` + +and follow the on-screen prompts ## Editing the sudoers file diff --git a/install.sh b/install.sh index 7a6f7a5..f47a375 100755 --- a/install.sh +++ b/install.sh @@ -23,7 +23,7 @@ echo " ==> We have listed all drives connected to your PC above. " -read -p "Please select the VM's drive by typing the name shown: " driveName +read -p "Please select the VM's drive by typing the name shown (usually vda): " driveName if [[ -z "$driveName" ]]; then echo "Your drive name is invalid." @@ -58,7 +58,7 @@ n a 1 w -q" +q" | fdisk "/dev/$driveName" echo " @@ -74,7 +74,7 @@ mount "/dev/${driveName}2" /mnt mkdir /mnt/boot mount "/dev/${driveName}1" /mnt/boot -pacstrap -K /mnt base linux-zen linux-firmware nano networkmanager efibootgmr grub man python-pip git npm node xfce4 base-devel gcc fish sudo gdm plymouth +pacstrap -K /mnt base linux-zen linux-firmware nano networkmanager efibootgmr grub man python-pip git npm nodejs xfce4 base-devel gcc fish sudo gdm plymouth echo "