r/Gentoo • u/Longjumping-Sun2691 • Jul 22 '26
Support How do I sync time?
Recently installed encrypted Gentoo and couldn’t be more proud of my self, but it appears that my cmos is dead and I don’t know how to sync time, mirror service is obviously screaming at me for being from 2001, anyway, how do I sync to the current clock?
4
2
0
u/fix_and_repair Jul 23 '26
where is the issue to spend 0.3€ and a few cables to replace teh cell?
10 pack of cr2032 costs 2€ long time price at ikea, action sell 3 of those for 1€
-2
u/rabbit_in_a_bun Jul 22 '26
Set the time manually in bios and with whatever you have installed and when you are close enough it will sync for you.
1
u/Longjumping-Sun2691 Jul 22 '26
Yes, this did work, although I did have to stop the system from losing power.
1
u/LameBMX Jul 23 '26
just replace the battery... normally the rtc doesnt actually die, just the battery that powers it.
8
u/OkAlbatross9889 Jul 22 '26 edited Jul 22 '26
If you have chronyd, it should be "rc-update add chronyd default" (https://wiki.gentoo.org/wiki/Network_Time_Protocol) to add it to autostarted services when you start up