# ArchLinux Installation and Customisation

This scripts will help you to install and configure archlinux

## Disk partitionning

Arch will be installed on the same disk with btrfs suvolumes for partitions

## Post installation

This scripts need to be launched as root

## Arch installation

- Change DISK variable to the install.sh script with your favourite editor.
- Launch script

```
/usr/local/share/dotfiles/install.sh
```

## For testing purpose (kvm only)

You can share filesystem from host to guest (https://wiki.archlinux.org/title/Libvirt#Sharing_data_between_host_and_guest) :

Share scripts :

```
mkdir -p /usr/local/share/dotfiles
mount -t 9p scripts /usr/local/share/dotfiles
```

Share pacman cache :

```
mount -t 9p pkgs /var/cache/pacman/pkg
```

## Arch configuration

```
git git clone https://git.unixyourbrain.org/beastie/arch-custom.git /usr/local/share/dotfiles
/usr/local/share/dotfiles/configure.sh
```
