Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
Removing older kernels using vkpurge and generating initramfs for new ones (void linux)
IT techni
Follow
1 day ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
what's up everyone as you know void linux keeps the older kernel versions in case of problems
00:09
you can simply select the older entry from your grab menu and from there you can resolve the
00:18
issue in case you have any related to your booting process or something my boot partition has become
00:25
almost full and not having enough space for newer kernel versions so it says here that i need to
00:35
run vk purge so i thought of doing it with you
00:40
okay so we run sudo vk purge list password
00:55
this should give us a list of all the installed versions of the kernel on my system
01:04
let'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:23
choose whichever version we want to delete let's say we want to delete them one by one which i think
01:29
is 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:44
type it or copy it and paste it ourselves like this
01:48
okay okay again we have those ones let's remove them all
02:12
okay i saw during the system upgrade process which i have done off cam uh that i have new
02:33
versions that are installed which are this one
02:38
one
02:41
and this one they are the ones that complained
02:47
before i showed you a few seconds ago and they lack an init ramfs which will cause a problem during the
02:55
boot and the error that i got or the complaint that appeared for me the message was when the init ramfs
03:07
is being generated so let's try to regenerate it the command should be xbps reconfigure
03:21
linux
03:21
it's 6.12.58 i'm typing it from this one
03:46
or let's just go with the
03:51
the usual way or the default way on
04:00
void linux
04:03
okay var
04:04
this is in case your init ramfs was not generated if it is generated or you just want to remove the old
04:11
kernel versions without having any issue with the space skip this part so we copy this
04:20
no we take it let's try again with
04:30
this one
04:34
okay not working again
04:38
uh okay var equals this one
04:45
paste here
04:46
host only
04:55
let's check the boot partition again
04:59
and
05:00
we still need an init ramfs for this
05:10
we just replace this one
05:18
over here with this one
05:22
let's clear out the screen and run
05:30
the command that generates grab menu for us
05:33
and we have the list
05:46
and we have the list
05:52
generated with the newly generated init ramfs that was how you remove all the kernels on your void linux system
06:01
and also generating the init ramfs in case you fail to do it due to the
06:11
the lack of space on your boot partition
06:17
i'm signing out please don't forget to subscribe like share and comment and see you
06:22
you
Be the first to comment
Add your comment
Recommended
9:26
|
Up next
How i solved no kernel modules found error among other errors and replaced elilo with grub on Slackware
IT techni
1 year ago
0:46
Fixing curl symbol lookup error undefined symbol /.../libcurl.so ngtcp2.... on void linux
IT techni
1 day ago
5:01
fixing error could not execute exec WPrefs
IT techni
2 weeks ago
5:12
windowmaker setup on archlinux
IT techni
2 weeks ago
7:34
VLC setup on slackware
IT techni
2 weeks ago
8:35
Fixing stuck at "loading linux....."
IT techni
2 weeks ago
10:31
Lua setup on macOS (compiling it from source)
IT techni
3 weeks ago
6:33
Skip package update/install during gentoo update (includes package masking)
IT techni
4 weeks ago
6:44
zram on debian, ubuntu and mint
IT techni
5 weeks ago
5:25
SSH server setup on debian
IT techni
5 weeks ago
4:48
macos update (15.6.1 to 15.7.1)
IT techni
6 weeks ago
11:03
Skip packages update on arch linux (needed when downgrading)
IT techni
6 weeks ago
5:13
mpv setup on macos
IT techni
6 weeks ago
5:47
Minecraft setup on Arch Linux using legacy launcher + flatpak method (distro agnostic)
IT techni
6 weeks ago
6:57
Installing minecraft java on macOS using legacy launcher
IT techni
7 weeks ago
2:56
My first apple device (mac) ever
IT techni
7 weeks ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
2 months ago
6:31
Connecting to wifi on Alpine Linux using IWD
IT techni
2 months ago
8:15
chroot on alpine linux
IT techni
2 months ago
38:53
Ventoy's persistence plugin (live media with persistence)
IT techni
2 months ago
5:21
Commands to run whenever grub is updated on Arch Linux
IT techni
2 months ago
2:42
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
2 months ago
7:48
Multilib setup on Slackware
IT techni
3 months ago
3:12
sshfs setup void linux
IT techni
3 months ago
1:12
Certificate verification failed error resolution for xbps
IT techni
3 months ago
Be the first to comment