Use local time

I dual-boot Linux and Windows. I want to make Linux use the local time from the BIOS, because this is what Windows uses. I searched around and all I found were tutorials for systemd. This is useless for CRUX so I resorted to reading the manual…

man hwclock

It seems all I needed to do was open /etc/adjtime and change the third row from UTC to LOCAL:

0.000000 1633206735 0.000000
1633206735
LOCAL

Reboot!



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s