LEAN Installer script as a alternative for default void-installer
.
- Automated process for LEAN installation of Void Linux MUSL for GPT/UEFI or MBR/BIOS
- Doesn't install any Desktop Environment
- Options for custom install in
void-musl.sh
header - Include:
GIT
andGRUB
packages - Enable automatically DHCP (and internet work on next reboot)
- Option to enable SSH server and Wipe Device
/home
partition separated from/
- With file system options (
ext2
,ext3
,ext4
andxfs
) to format/
and/home
partitions sudo poweroff
andsudo restart
without password- Swappiness option enabled (but not working - I guess that is a BUG)
- Best for Desktops or Notebooks
- Include
nonfree
repository
- Boot from Void Linux Live Image 1 and log in as
root
(passwordvoidlinux
) - Install
curl
withxbps-install -Sy curl
- Start installation:
- a. Without customizations:
bash <(curl -L git.io/void-musl.sh)
- b. With customizations:
curl -LO git.io/void-musl.sh
- Edit the header of
void-musl.sh
file to your taste (usingvi
for example) - Make it executable with
chmod +x void-musl.sh
./void-musl.sh
- Edit the header of
- a. Without customizations:
- After installation end, eject the installation media from drive and reboot the machine
- Enjoy ;)
Add
sudo
in front of all commands if you choose a Live Image WITH Desktop Environment
- Necessary Internet connection to install
- Tested:
- In VirtualBox on Intel Core i3-2367M 1.4GHz with 2 cores and RAM with 1024MB
- With MUSL GPT/UEFI and MBR/BIOS
- In Arch x86_64
- 1 ↩ Recomendation: use the last live image (today is the published in
20191109
)void-live-x86_64-musl-20191109[-lxqt].iso
live image can not work: i.e. afterxbps-install -Sy curl
, show the messageTransaction aborted due to unresolved dependencies.
(Edit: necessary updatexbps
andlibressl
packages before any step)
- Using 512MB for EFISIZE should be sufficient to host 7 to 8 kernel versions (only 100MB do not work for another full kernel upgrade)
- The installation process should running about 12 min in VirtualBox with SATA storage
- Include
rEFInd
- Option to install without
GRUB
(only without criptografy - on Arch it is possible) - Finish installation musl full crypto with lvm (LUKS + LVM) (encryption for both
boot
androot
partitions) - Finish installation glibc crypto with lvm
- Validate with glibc and musl installation
- Add flag to crypt or normal installation
- Include brazilian portuguese language option (and
us
too with International English) - Option to scape partitioning and formating device
- Verifiy if SWAP is cryptographied (see https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption)
- Add /home as a cryptographied partition (only /boot and / are cryptografied). See void-install-uefi on Joplin
- Insert a for loop to open and crypto partitions (starting in "echo "[!] Encrypt boot partition"" line - like in "for FS in ${!LV[@]}; do" line)
- Option to install with local repository
- Add TXT files with Keymaps, Timezone, Lang, etc....in root directory as reference
Change to sh indeed bash (on shebang)- Update the DEVNAME process to choose with command (removing hard coded)
- Comparing partitions size from MB and KB (choose the best representative - in KB, necessary conversion)
- Create process installation for Void Linux BIOS/MBR MUSL
- Include /home partition in MBR installation
- Add a pos-install script for automate tuning and another configs
- Add a option to choose filesystem for partitions (don't forget to change in fstab too)
- Automatic answer for import keys (on first time repository sync)
- Improved options for file system format
- Dynamic device selection (from devices connected)
- Automatic answer for import keys
- Installation adapted for MBR/BIOS
- Added
nonfree
repository
- Option to enable SSH Server
- Double check on input password for
root
anduser
defined in header - Removed Uncomplicated Firewall (ufw)
- Change PS4 to PS3 to choose filesystem
- FSTAB check order on partitions
- Change for UUID indeed label partitions on FSTAB
- Added HOME partition
- Adjust for all CHROOT commands on the same file
- Added options (
ext3
,ext4
andxfs
) to select file system to format/
and '/home' partitions - Added swappiness option (with bug and do not working - waiting)
- Added audio group in user creation script
- Added update mirror for new installation (the same choosen to install)
- Include Uncomplicated Firewall (ufw)
- Remove TTYs from 3 to 6
- Added user and configs for sudo usage
- Adjust in /etc/rc.conf
- Added activation for DHCP and SSH server deamons
- MVP for installer, without cryptography