Skip to playerSkip to main content
  • 2 days ago
Transcript
00:00hello friends i'm facing an issue with my void linux computer i wanted to share with you the way
00:08to fix it here i'm gonna boot the computer up and you're gonna see what i mean here
00:19sorry for my shaky hand i hope it you can see what's on the screen here i boot up normally
00:27and it will be always stuck at loading linux as you can see this one doesn't go through it just
00:35stays there you have i have caps lock blinking as you can see i will reboot it now
00:46and you're gonna see that it is with the newest entry of the kernel which is 6.12 it doesn't
00:52necessarily need to be the same for you since this is an issue that is not necessarily related
00:58to the kernel it's rather related to something called initramfs which we're gonna fix soon here
01:05i try again with the newest entry which is not different with the first one that automatically
01:12loads and it is stuck again after trying yours and making sure it is the same
01:19it's gonna stay stuck there i'm gonna reboot my computer now to the entry that works
01:33you can do the same in case you have many entries in your grab and some of them have the initramfs i
01:39have done these steps that you're gonna see with the entry that is before the newest which i'm gonna
01:45select now here i'm gonna go to advanced options and then go to 6.6.101 which i have got the same issue
01:55and i resolved it recently i wanted to uh resolve it for the newest entry in my grab menu and i wanted
02:04to share with you in case any of you is facing the same issue uh i will simply do an ssh connection
02:16to my void box the same uh comments that i'm gonna run now need to be run on your void machine or you can
02:24also do it through ssh like me so here i do it
02:37yes here then the password
02:39let me clear out uh if we check our boot partition or folder we will see that
02:53with there is initramfs for 6.6.100.101 that's for me uh there is this one vm liners for the newest one but if
03:04you look very well you will not find an initramfs for uh the kernel version 6.12 it's not an issue as i
03:13said related to the kernel itself the kernel is supposed to work without any issue it's just an
03:20issue with something called the initramfs which is responsible on the boot it's the initial one of the
03:29initial boot files i don't want to go so deep about it you can google it uh the thing that we need to
03:35do here is to run a command for you you need to know what is the version of your kernel that you would
03:40like to generate an initramfs for in my case it's 6.12.41 it can be anything else since as i said this
03:52issue is not necessarily related to the kernel itself it's related to a missing initramfs file that you
03:59need to generate as i'm gonna show you so the first command needs to be sudo drakat dash dash kvar
04:09equals and now you take the version of the kernel that you would like to generate an initramfs
04:16for and you put it here so far this command is sufficient however it's gonna make the initramfs
04:28very let's say it is like for almost any operating system or any computer it's for almost any computer
04:42no matter what it is almost and it is not good if you want something minimalistic that is
04:50sufficient for your computer particularly to solve such issue or to
05:00have an initramfs that is only for the computer that you're using you run it with this argument
05:08let me tell you that this issue is not necessarily related to void like me here it can happen at any
05:19or in any operating or in any distribution just make sure that you have drakat installed to generate the
05:26initramfs in case the issue is exactly the same as here and make sure also the command of generating
05:36the grab menu is the same since it can be different like for example for
05:42debian and basic distributions it's mostly update grab so the command that i'm gonna run after this one
05:49is different for some distributions make sure you run your own in case it is not the same as mine here
05:55so the command to generate an initramfs that is only for the computer that you're running should have
06:03host only as an init if it is a portable distribution you don't need to specify this in order to have
06:12the drivers loaded that are related to the computer that you want to run your distribution on
06:21so let's run this command we double check it and then mine is ready the password
06:41okay the first command is done executing let's run the second one
06:46which is sudo grab mk config dash o slash boot slash grab slash grab dot cfg there are cases where you need
07:01to mount your boot partition again in case it's not set to be mounted automatically at every boot you need
07:08to mount it again by running the command so the mount slash boot and then the mount point it can be
07:14slash dev slash sda1 or anything else i'ma run this command now and it should generate the new
07:27entry that has the initramfs associated to it let me show you that this is not
07:34the kernel version that i generated that initramfs for it is an older one that has it already
07:42i'ma reboot after this to prove to you that the configuration works it's 6.6.101 and the one that i
07:52generated the initramfs for is 6.12.41 now i'm ready to reboot my void computer
08:03i rebooted my void uh computer void linux computer we can see how it is rebooted to the kernel version that
08:16has the initramfs generated successfully and you can see it is 6.12.41 that was how you resolve the issue of
08:27having that screen stuck for you please don't forget to subscribe like share and comment and peace
Be the first to comment
Add your comment

Recommended