Answer the question
In order to leave comments, you need to log in
How to correctly set MSK time in Gentoo Linux?
I would like the community to take a "dump" of my thoughts on time and point out any errors in Linux time understanding or confirm.
In any modern Intel-compatible computer with a loaded gentoo minimal disk, there are two types of clocks: 1) Hardware and 2) System. The first type of clock can be changed using the date command, and the second by setting timezone-data and other configuration files, i.e. the first is built into the BIOS, and the second is generated by the Linux system based on the settings and value of the first clock type.
Installing Gentoo on a virtual machine under VmWare, before unpacking stage3, I made sure that my wristwatch and the result of the date command match, there was a UTC mark, but I didn’t look closely, it might have been UTC + 4 ... . Next, after unpacking stage3 and chroot /mnt/gentoo, I did:
# echo "Europe/Moscow" > /etc/timezone
# emerge --config sys-libs/timezone-data
Answer the question
In order to leave comments, you need to log in
In any modern Intel-compatible computer with a loaded gentoo minimal disk, there are two types of clocks: 1) Hardware and 2) System.
$ date
Sun Feb 16 16:22:51 MSK 2014
$ TZ='CET' date
Sun Feb 16 13:23:20 CET 2014
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question