https://wiki.voidlinux.eu/Installation_via_chroot
rootfs x86_64 download https://repo.voidlinux.eu/live/current/
make partition ext4 >> mount in /mnt/void
cp downloaded to /mnt/void
rootfs x86_64 download https://repo.voidlinux.eu/live/current/
make partition ext4 >> mount in /mnt/void
cp downloaded to /mnt/void
tar xpf.tar.xz --xattrs-include='*.*' --numeric-owner
sudo cp --dereference /etc/resolv.conf /mnt/void/etc/
prepare to chroot
mount --types proc /proc /mnt/void/proc mount --rbind /sys /mnt/void/sys mount --rbind /dev /mnt/void/dev mount --make-rslave /mnt/void/sys mount --make-rslave /mnt/void/dev
chroot /mnt/void /usr/bin/bash
edit /etc/fstab
/dev/sda1 / ext4 defaults 1 2
#UUID="value" / ext4 defaults 1 2
for getting uuid value
blkid /dev/sda1
edit /etc/hostname append hostname to
/etc/hosts
update system
xbps-install -Su
xbps-install -S linux
mount /boot partition to /mnt/void/boot
xbps-install -S grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
#change root password
passwd
usermod -aG wheel *USERNAME*