Timezone and RTC timescale cheatcodes does not work
Posted: 21 Apr 2018, 17:58
OS: Porteus LXDE 4.0rc4 64bit
My RTC is kept in UTC.
Boot with 'timezone=Europe/London' cheatcode
The correct Europe/London time (British Summer Time) was 15:02.
Boot with 'timezone=Europe/London utc' cheatcode
The correct Europe/London time was 15:12.
Boot from ISO with 'timezone=Europe/London utc' cheatcode
The correct Europe/London time was 15:47.
Boot with 'timezone=Etc/UTC utc' cheatcode
I would have some question connected to the above: What will happen if I manually sync the time with 'ntpdate pool.ntp.org' command, while the time zone is not set? Which timezone's time I will get from the server? If I run 'ntpdate pool.ntp.org' command, my RTC will be set (altered) too, or only the system time?
My RTC is kept in UTC.
Boot with 'timezone=Europe/London' cheatcode
Code: Select all
$ cat /proc/cmdline
quiet BOOT_IMAGE=/boot/porteus/Porteus-LXDE-v4.0rc4-x86_64/boot/syslinux/vmlinuz from=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 noswap zram=33% base_only nomagic norootcopy nonetwork timezone=Europe/London
# hwclock -r
2018-04-21 14:02:07.228703+0000
$ date
Sat Apr 21 14:02:37 Local time zone must be set--see zic manual page 2018
$ cat /etc/hardwareclock
...
localtime
Boot with 'timezone=Europe/London utc' cheatcode
Code: Select all
$ cat /proc/cmdline
quiet BOOT_IMAGE=/boot/porteus/Porteus-LXDE-v4.0rc4-x86_64/boot/syslinux/vmlinuz from=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 noswap zram=33% base_only nomagic norootcopy nonetwork timezone=Europe/London utc
# hwclock -r
2018-04-21 14:12:22.011099+0000
$ date
Sat Apr 21 14:12:38 Local time zone must be set--see zic manual page 2018
$ cat /etc/hardwareclock
...
localtime
Boot from ISO with 'timezone=Europe/London utc' cheatcode
Code: Select all
$ cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64.iso noswap zram=33% base_only nomagic norootcopy nonetwork timezone=Europe/London utc
# hwclock -r
2018-04-21 14:47:43.760025+0000
$ date
Sat Apr 21 14:47:50 Local time zone must be set--see zic manual page 2018
$ cat /etc/hardwareclock
...
localtime
Boot with 'timezone=Etc/UTC utc' cheatcode
Code: Select all
$ cat /proc/cmdline
quiet BOOT_IMAGE=/boot/porteus/Porteus-LXDE-v4.0rc4-x86_64/boot/syslinux/vmlinuz from=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 noswap zram=33% base_only nomagic norootcopy nonetwork timezone=Etc/UTC utc
# hwclock -r
2018-04-21 14:33:26.088080+0000
$ date
Sat Apr 21 14:33:37 Local time zone must be set--see zic manual page 2018
$ cat /etc/hardwareclock
...
localtime