this is a fork for Void-Linux installation with some changes:
- my personal list of Packages
- possibility to exclude LUKS crypt on ROOT FS
- Optionally setting MUSL libc installation instead of glibc in config.h
- Optionally bypass disk format if the script fail for some reason to be able to investigate
- Fix fstab creation because it was incorrect if blkid return PARTUUID in addition to UUID
Install script for Void Linux. This install script will create an encrypted install using btrfs and LUKS. You can optionally setup a data drive that is also encrypted.
- Setup your internet connection.
- Run:
./install <root disk> <data disk> <username>
Example:
./install /dev/sda /dev/sdb endoffile
If you do not want to setup a data drive then pass none instead. Example:
./install /dev/sda none endoffile
Included in this repo is a configuration file where you can change things such as the size of the partitions, timezone, keymap, etc. Below you can see the defaults.
The following will be created on the btrfs partition on the root disk:
name | path |
---|---|
@ | / |
@home | /home |
Subvolumes will also be created at /var/log /var/cache /var/tmp on the @ subvolume.
The following will be created on the btrfs partition on the data disk:
name | path |
---|---|
@snapshots | /mnt/snapshots |
@vault | /mnt/vault |
Subvolumes will also be created at /mnt/vault/vms and /mnt/vault/storage on the @vault subvolume.