Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
Fixing stuck at "loading linux....."
IT techni
Follow
2 days ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
hello friends i'm facing an issue with my void linux computer i wanted to share with you the way
00:08
to fix it here i'm gonna boot the computer up and you're gonna see what i mean here
00:19
sorry for my shaky hand i hope it you can see what's on the screen here i boot up normally
00:27
and it will be always stuck at loading linux as you can see this one doesn't go through it just
00:35
stays there you have i have caps lock blinking as you can see i will reboot it now
00:46
and you're gonna see that it is with the newest entry of the kernel which is 6.12 it doesn't
00:52
necessarily need to be the same for you since this is an issue that is not necessarily related
00:58
to the kernel it's rather related to something called initramfs which we're gonna fix soon here
01:05
i try again with the newest entry which is not different with the first one that automatically
01:12
loads and it is stuck again after trying yours and making sure it is the same
01:19
it's gonna stay stuck there i'm gonna reboot my computer now to the entry that works
01:33
you can do the same in case you have many entries in your grab and some of them have the initramfs i
01:39
have done these steps that you're gonna see with the entry that is before the newest which i'm gonna
01:45
select now here i'm gonna go to advanced options and then go to 6.6.101 which i have got the same issue
01:55
and i resolved it recently i wanted to uh resolve it for the newest entry in my grab menu and i wanted
02:04
to share with you in case any of you is facing the same issue uh i will simply do an ssh connection
02:16
to 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:24
also do it through ssh like me so here i do it
02:37
yes here then the password
02:39
let me clear out uh if we check our boot partition or folder we will see that
02:53
with 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:04
you look very well you will not find an initramfs for uh the kernel version 6.12 it's not an issue as i
03:13
said related to the kernel itself the kernel is supposed to work without any issue it's just an
03:20
issue with something called the initramfs which is responsible on the boot it's the initial one of the
03:29
initial boot files i don't want to go so deep about it you can google it uh the thing that we need to
03:35
do here is to run a command for you you need to know what is the version of your kernel that you would
03:40
like to generate an initramfs for in my case it's 6.12.41 it can be anything else since as i said this
03:52
issue is not necessarily related to the kernel itself it's related to a missing initramfs file that you
03:59
need to generate as i'm gonna show you so the first command needs to be sudo drakat dash dash kvar
04:09
equals and now you take the version of the kernel that you would like to generate an initramfs
04:16
for and you put it here so far this command is sufficient however it's gonna make the initramfs
04:28
very let's say it is like for almost any operating system or any computer it's for almost any computer
04:42
no matter what it is almost and it is not good if you want something minimalistic that is
04:50
sufficient for your computer particularly to solve such issue or to
05:00
have an initramfs that is only for the computer that you're using you run it with this argument
05:08
let me tell you that this issue is not necessarily related to void like me here it can happen at any
05:19
or in any operating or in any distribution just make sure that you have drakat installed to generate the
05:26
initramfs in case the issue is exactly the same as here and make sure also the command of generating
05:36
the grab menu is the same since it can be different like for example for
05:42
debian and basic distributions it's mostly update grab so the command that i'm gonna run after this one
05:49
is different for some distributions make sure you run your own in case it is not the same as mine here
05:55
so the command to generate an initramfs that is only for the computer that you're running should have
06:03
host only as an init if it is a portable distribution you don't need to specify this in order to have
06:12
the drivers loaded that are related to the computer that you want to run your distribution on
06:21
so let's run this command we double check it and then mine is ready the password
06:41
okay the first command is done executing let's run the second one
06:46
which is sudo grab mk config dash o slash boot slash grab slash grab dot cfg there are cases where you need
07:01
to mount your boot partition again in case it's not set to be mounted automatically at every boot you need
07:08
to mount it again by running the command so the mount slash boot and then the mount point it can be
07:14
slash dev slash sda1 or anything else i'ma run this command now and it should generate the new
07:27
entry that has the initramfs associated to it let me show you that this is not
07:34
the kernel version that i generated that initramfs for it is an older one that has it already
07:42
i'ma reboot after this to prove to you that the configuration works it's 6.6.101 and the one that i
07:52
generated the initramfs for is 6.12.41 now i'm ready to reboot my void computer
08:03
i rebooted my void uh computer void linux computer we can see how it is rebooted to the kernel version that
08:16
has the initramfs generated successfully and you can see it is 6.12.41 that was how you resolve the issue of
08:27
having 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
2:42
|
Up next
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
2 months ago
5:26
fix boot - dism++
Ma Minh Toà n Gouenji Shuuya
9 months ago
2:08
Verbose boot messages on arch linux
IT techni
6 months ago
11:03
Skip packages update on arch linux (needed when downgrading)
IT techni
5 weeks ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
2 months ago
5:12
windowmaker setup on archlinux
IT techni
15 hours ago
7:34
VLC setup on slackware
IT techni
2 days ago
10:31
Lua setup on macOS (compiling it from source)
IT techni
2 weeks ago
6:33
Skip package update/install during gentoo update (includes package masking)
IT techni
2 weeks ago
6:44
zram on debian, ubuntu and mint
IT techni
3 weeks ago
5:25
SSH server setup on debian
IT techni
3 weeks ago
4:48
macos update (15.6.1 to 15.7.1)
IT techni
4 weeks ago
5:13
mpv setup on macos
IT techni
5 weeks ago
5:47
Minecraft setup on Arch Linux using legacy launcher + flatpak method (distro agnostic)
IT techni
5 weeks ago
6:57
Installing minecraft java on macOS using legacy launcher
IT techni
5 weeks ago
2:56
My first apple device (mac) ever
IT techni
5 weeks 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
7:48
Multilib setup on Slackware
IT techni
2 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
5:59
firefox-esr setup on arch linux
IT techni
3 months ago
7:56
Configuring ASMI network for IBM power servers
IT techni
3 months ago
Be the first to comment