[SOLVED] Gentoo stops booting at system clock initialization
GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gentoo stops booting at system clock initialization
Hello everyone,
I am trying to get Gentoo working on a laptop. Everything seems to go fine until "Setting system clock by hardware clock" is being processed and then everything just freezes. Any thoughts on how to fix this problem? This is my first installation.
SOLVED: Edited out all the options in hwclock
Last edited by kkoistinen; 09-28-2022 at 02:49 PM.
I'm mostly replying to kick it out from ZRT, but curious also, do you have /dev/rtc0 node? If you run 'hwclock -r', what happens, will it show RTC time?
I'm mostly replying to kick it out from ZRT, but curious also, do you have /dev/rtc0 node? If you run 'hwclock -r', what happens, will it show RTC time?
I managed to get by the time part. I was using wrong guide and started doing fresh install with Gentoo Wiki. Now boot starts and goes past the system clock setting but stops at the "Checking local filesystems" part. Is this problem caused by erroneous hard drive or faulty setup? I am thinking about possibility that fstab file is somehow not valid. Do you have any suggestions on where to start fixing this?
Kimmo
Last edited by kkoistinen; 10-12-2022 at 12:44 PM.
You can set rc_interactive="YES" in rc.conf, then you can boot interactively and see exactly what is the culprit. You can disable filesystem checks in fstab if you believe there is a problem, but why should there be? Just make sure all filesystems exist and are associated with correct devices.
You can set rc_interactive="YES" in rc.conf, then you can boot interactively and see exactly what is the culprit. You can disable filesystem checks in fstab if you believe there is a problem, but why should there be? Just make sure all filesystems exist and are associated with correct devices.
Thank you for help. I tried interactive boot and problem seems to start when I am asked about service modules. Before that there's udev-trigger in case it is causing the problem. Could it be that kernel is faulty? fstab has proper drives and their types. I can paste information here if you want to. When I skip udev-trigger I can start gentoo pretty normally and all the drives etc are in place.
Last edited by kkoistinen; 10-12-2022 at 01:29 PM.
I don't know about any service modules, can you be a little more specific?
Boot stopped at service modules last time I wrote about this. Anyway I think I solved the problem and boot issue. The reason was that I hadn't installed proper firmware. I Installed this and recompiled kernel and I can now boot without problems. Now I have to fix network issues but that's another story. Thank you very much for instructions on interactive boot - it helped me a lot.
SOLUTION: Check that sys-kernel/linux-firmware is installed. If it isn't installed install it and recompile kernel. This solved my problem.
Last edited by kkoistinen; 10-26-2022 at 11:46 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.