Arch did not boot until rng-tool
Hey everyone,
Two days ago I rebooted my machine after a long-time I didn't- I use it very heavily during the day and at night I just put it on suspend- to my surprise suddenly arch was not loading. Basically, the screen went black with a white cursor.
Since I'm not an expert or so and I only use arch for several months, started using arch and learning about linux on his advice of a friend, I really didn't know what to do.
After talking with this friend of mine and googling and reading related threads in archlinux forums I tried the following solutions:
- Updated the system with pacman -Syu
- Installed linux-lts
- Removed and reinstalled gnome
- Disabling and re-enabled gdm
- Downgraded systemd (and later upgraded back since did not help)
- Configured mkinitcpio.conf - several users in archlinux forum reported as a soultion.
That's pretty much what I can recall I did.
After all of this I somehow found this thread (https://bbs.archlinux.org/viewtopic.php?id=248558) and desperately I tried -user: realh- solution:
installing rng-tools and enable it and it worked!
So to my question:
Even tough it worked I'm actually don't know what it meant and why was it helpful, and I'll be glad to get some knowledge on what is rng-tools? what is it doing? why do you think it helpd? what do you think can possibly cause all of this from the first place?
Thank you very much for your attention and patience.
About this post
- Posted
- Archived
- Score
- 9 · 90% up
- Kind
- Text
- ID
- mb286t
8 comments
I really don't know why rng-tools would help you boot into gdm. On its wiki page ( https://wiki.archlinux.org/index.php/Rng-tools ) It says that it's just a utility to increase the speed of dev/random. I can only guess that it somehow installed a dependancy you accidentally deleted?
DM's tend to need rng and sometimes they don't have enough entropy so installing something like rng-tools helps generate entropy.
Thank you for your answer.
Can you guess why from the first place sometimes they don't have enough entropy?
Weird. I didn't know that.
Yea as others said, gdm seems to rely on some rng. It is a known problem on the wiki https://wiki.archlinux.org/index.php/GDM#GDM_does_not_start_until_input_is_provided
You might also consider using a kernel parameter to use rng from the cpu-hardware.
Deleted before we saved it.