Javier Pacheco 637bdb24f2 | ||
---|---|---|
README.md | ||
chroot.sh | ||
config.sh | ||
postinstall.sh | ||
progs.csv |
README.md
VoidStrap installer.
A basic minimalist installer of void-musl with some packages to get ready to enjoy this amazing GNU/Linux distro.
Usage:
Download the iso, and once in root inside the live, git clone this repo:
git clone https://git.disroot.org/jpacheco/voidstrap --depth 1
cd voidstrap
sh config.sh
Once there the script will open cfdisk, and you need to format the HDD in this specific format:
1.- /dev/sdX1 -> as the boot partition.
2.- /dev/sdX2 -> as the swap partition.
3.- /dev/sdX3 -> as the root partition.
NOTE: this needs to be in this way, if not the script will not work. Make sure you do a backup of your files before doing crazy things and trust anyone script
When the config.sh script finish, you need to copy this files into the /mnt/tmp folder:
- chroot.sh. 2.- postinstall.sh
cp chroot.sh postinstall.sh /mnt/tmp
Now here you need to execute xchroot to run chroot.sh script that its going to create some configuration files, like: fstab, rc.conf, change the password of root, and add 1 user, and some others.
xchroot /mnt
Then run the chroot.sh script.
sh /tmp/chroot.sh
When it finish you need to run the postinstall.sh scipt, that is going to install the X server and some other "necesary" packages.
This is going to install my personal dotfiles, and a specific packages that I use:
sh /tmp/postinstall.sh
But you can specify your dotfiles repos and other repos that you require whit some parameters:
sh postinstall.sh -r https://codeberg.org/jpacheco/dotfiles # specify a repo url.
sh postinstall.sh -p otherprogfile.csv # especify a custom package archive to install.
sh postinstall.sh -b dev # especify the name of a custom branch in case of needed.
When the postinsall.sh script finishes, you only need to reboot and enjoy your Void-Musl Distro.