xbps-static method

tar xf xbps-static-latest.x86_64-musl.tar.xz  
sudo su  
mount /dev/nvme0n1p4 /mnt
mkdir -p /mnt/var/db/xbps/keys
cp var/db/xbps/keys/* /mnt/var/db/xbps/keys/


export XBPS_ARCH=x86_64          # without this void will try to install musl , repo is /current/musl for musl

without ca-certiticates letsencrypt cert error
export SSL_NO_VERIFY_PEER=true   
 ./usr/bin/xbps-install -S -r /mnt -R "" base-minimal
echo "nameserver"  > /etc/resolv.conf
echo "x" > /etc/hostname

rootfs method

tar xvf void-<...>-ROOTFS.tar.xz -C /mnt   


xbps-install bash-completion neofetch mdocml iwd nano  foot-terminfo wireless-regdb  htop sway foot wofi grim slurp jq   zathura zathura-pdf-mupdf  seatd dumb_runtime_dir pipewire nnn slurp mpv  e2fsprogs dosfstools ntfs-3g mesa-dri opendoas wl-clipboard wlsunset 
xbps-install linux-lts
notice linux version
xbps-install eudev linux6.1 dracut

nano /etc/dracut.conf

ls /lib/modules/

dracut -fv  --kver 6.1.94_1

. /etc/bash/bashrc.d/ 

ln -sf /usr/share/zoneinfo/Asia/Kathmandu  /etc/localtime

ln -s /etc/sv/seatd /etc/runit/runsvdir/default/
ln -s /etc/sv/dbus /etc/runit/runsvdir/default/
ln -s /etc/sv/iwd  /etc/runit/runsvdir/default/

export TERM=linux

nano /etc/default/libc-locales 
 uncomment needed locales  
xbps-reconfigure -f glibc-locales 


cat /etc/fstab
/dev/sdax /home ext4 defaults 0 1 


mkdir -p /etc/pipewire/pipewire.conf.d
ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/
ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/

xbps-reconfigure -fa

copy ath10k,i915 firmware from
last update 2019-09-23 josh boyer, anusha srivasta
last update 2020-10-23 christian hewitt , kalle vallo
to /lib/firmware/ 

disable logs

sudo touch /etc/vlogger  
sudo chmod +x  /etc/vlogger  

 cat  /etc/runit/core-services/ 
         sysctl -p "$i"  >> /dev/null

silent booot

loglevel=0 console=tty2 udev.log_level=0 vt.global_cursor_default==0
intel_iommu=igfx_off  nowatchdog 

sudo xbps-install gummiboot
sudo gummiboot install
sudo nano /boot/loader/void-options.conf
sudo ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
sudo xbps-reconfigure -f fontconfig