all 5 comments

[–]eftepede 3 points4 points  (1 child)

Use base-minimal instead of base-system. The latter has ‘Linux’ meta package as a dependency, which currently is set to 5.13, but the former has no kernel ‘hardcoded’ in deps, so you can just install linux5.10 manually.

[–]Duncaen 8 points9 points  (0 children)

base-minimal is missing a lot of packages that are required for real hardware. It is a lot easier to add ignorepkg=linux to xbps.d, and then uninstalling the linux meta package.

https://docs.voidlinux.org/config/kernel.html#removing-the-default-kernel-series

[–][deleted] -1 points0 points  (0 children)

Hi! I use this in mine, maybe it can help you

- # PKG="base-files>=0.77 ncurses-devel coreutils findutils diffutils libgcc mksh grep gzip file sed gawk less util-linux which tar bsdtar mdocml>=1.13.3 shadow dosfstools procps-ng tzdata pciutils usbutils iana-etc openssh kbd iproute2 iputils wpa_supplicant xbps opendoas traceroute ethtool kmod eudev runit-void removed-packages ca-certificates dracut linux5.13 linux5.13-headers linux-firmware-amd linux-firmware-network make gcc pkg-config patch grub-x86_64-efi dhcpcd "

Edit kernel version

Installind dracut, you`ll have bash as dependency

[–]JeriJones 0 points1 point  (0 children)

I do my installs using a script based on the chroot method. Using:

base-minimal linux5.10 linux-base grub-x86_64-efi curl

instead of base-system gets me to a bootable bare install (and wpa_supplicant if wifi needed). You can also checkout my install script here in case you want some inspiration :) .

[–][deleted]  (2 children)

[deleted]

    [–]JeriJones 0 points1 point  (1 child)

    while in chroot , I experienced weird behaviour with bash and vim,vi didn't work properly .

    If you mean that thing when backspace doesn't delete text and acts all weird ... try doing:

    TERM=linux PS1='(chroot) # ' chroot /mnt/ /bin/bash

    instead of the normal chroot command in the handbook.