r/voidlinux • u/6950X_Titan_X_Pascal • May 18 '26
How to remove old kernels
root@void ~# ls /boot
config-6.12.90_1 efi/ initramfs-6.12.90_1.img vmlinuz-6.12.90_1
config-6.18.32_1 grub/ initramfs-6.18.32_1.img vmlinuz-6.18.32_1
8
Upvotes
6
u/KenFromBarbie May 18 '26
Reboot into newest kernel before doing this.
or
then
9
u/neondervish May 18 '26
Read docs, use vkpurge
2
u/Slow-Wealth6159 May 18 '26
xbps-remove -o
3
u/furryfixer May 19 '26
I made a small bash script which helps reduce the confusion. It is here if you are interested.
https://github.com/furryfixer/vkinfo
0
u/kurth4cker May 18 '26
remove corresponding package then use vkpurge rm all.
linux6.12 I guess.
1
u/[deleted] May 19 '26
[removed] — view removed comment
1
u/[deleted] May 18 '26
[removed] — view removed comment