mirror of
https://github.com/janishutz/arch-dev-vm.git
synced 2025-11-25 05:44:23 +00:00
some more fixes (from testing)
This commit is contained in:
17
README.md
17
README.md
@@ -10,7 +10,22 @@ This repo contains scripts to install a full Archlinux with Xfce install complet
|
|||||||
|
|
||||||
|
|
||||||
# Running
|
# 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
|
## Editing the sudoers file
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ echo "
|
|||||||
==> We have listed all drives connected to your PC above.
|
==> 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
|
if [[ -z "$driveName" ]]; then
|
||||||
echo "Your drive name is invalid."
|
echo "Your drive name is invalid."
|
||||||
@@ -58,7 +58,7 @@ n
|
|||||||
a
|
a
|
||||||
1
|
1
|
||||||
w
|
w
|
||||||
q"
|
q" | fdisk "/dev/$driveName"
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ mount "/dev/${driveName}2" /mnt
|
|||||||
mkdir /mnt/boot
|
mkdir /mnt/boot
|
||||||
mount "/dev/${driveName}1" /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 "
|
echo "
|
||||||
|
|||||||
Reference in New Issue
Block a user