Skip to playerSkip to main content
  • 1 day ago
Transcript
00:00what's up everyone as you know void linux keeps the older kernel versions in case of problems
00:09you can simply select the older entry from your grab menu and from there you can resolve the
00:18issue in case you have any related to your booting process or something my boot partition has become
00:25almost full and not having enough space for newer kernel versions so it says here that i need to
00:35run vk purge so i thought of doing it with you
00:40okay so we run sudo vk purge list password
00:55this should give us a list of all the installed versions of the kernel on my system
01:04let's check what version am i i am using here it is 6.12.41 so vk purge rm this uh here we can
01:23choose whichever version we want to delete let's say we want to delete them one by one which i think
01:29is the best option here uh 6.6.50 i'm trying to run it with tab however it didn't work so we need to
01:44type it or copy it and paste it ourselves like this
01:48okay okay again we have those ones let's remove them all
02:12okay i saw during the system upgrade process which i have done off cam uh that i have new
02:33versions that are installed which are this one
02:38one
02:41and this one they are the ones that complained
02:47before i showed you a few seconds ago and they lack an init ramfs which will cause a problem during the
02:55boot and the error that i got or the complaint that appeared for me the message was when the init ramfs
03:07is being generated so let's try to regenerate it the command should be xbps reconfigure
03:21linux
03:21it's 6.12.58 i'm typing it from this one
03:46or let's just go with the
03:51the usual way or the default way on
04:00void linux
04:03okay var
04:04this is in case your init ramfs was not generated if it is generated or you just want to remove the old
04:11kernel versions without having any issue with the space skip this part so we copy this
04:20no we take it let's try again with
04:30this one
04:34okay not working again
04:38uh okay var equals this one
04:45paste here
04:46host only
04:55let's check the boot partition again
04:59and
05:00we still need an init ramfs for this
05:10we just replace this one
05:18over here with this one
05:22let's clear out the screen and run
05:30the command that generates grab menu for us
05:33and we have the list
05:46and we have the list
05:52generated with the newly generated init ramfs that was how you remove all the kernels on your void linux system
06:01and also generating the init ramfs in case you fail to do it due to the
06:11the lack of space on your boot partition
06:17i'm signing out please don't forget to subscribe like share and comment and see you
06:22you
Be the first to comment
Add your comment

Recommended