I found this thread posted by philo on 08-09-2014:
Time zone change cannot be made permanent.
I can set the time zone and it shows correct in /etc/timezone "America/Vancouver".
After reboot /etc/timezone is overwritten and says "localtime"
More Help needed:
Time and Day Settings:
I live in Time zone America/Vancouver. After each reboot the Time zone is reset to local time which is my time +8 hours.
Where is the configuration file for Time and Day Settings to find?
I might be able to change "local" to "America/Vancover" ?
I found this thread posted by philo on 08-09-2014:
Time zone change cannot be made permanent.
I can set the time zone and it shows correct in /etc/timezone "America/Vancouver".
After reboot /etc/timezone is overwritten and says "localtime"
I entered UTC in /etc/adjtime and set the time zone again to America/Vancouver.
After reboot /etc/adjtime was still ok (UTC) but /etc/timezone was again "localtime".
What to do?
BIOS time (hardware clock) --> UTC
/etc/adjtime --> UTC [instaead of LOCAL]
/etc/timezone ---> America/Vancouver
and maybe in :
/media/sd__/boot/syslinux/syslinux.cfg
LABEL knoppix LABEL knoppix64, add inside APPEND:
--> tz=America/Vancouver
To 1):
The BIOS is for MSI motherboard 785GM-E51.
I can not change the time - it shows +7 hours from my local time.
To 2):
Ihave changed this to UTC!
To 3):
Ihave changed this to America/Vancouver - but it is mysteriously overwritten to America/New-York
To 4):
root@Microknoppix:/# sudo nano /media/sdg/boot/syslinux/syslinux.cfg
/media/sdg/boot/syslinux/syslinux.cfgdoes not exist
root@Microknoppix:/# ls
config-4.12.7 grub ipxe.lkrn System.map-4.12.7-64 vmlinuz-4.12.7
config-4.12.7-64 ipxe.efi System.map-4.12.7 vmlinuz vmlinuz-4.12.7-64
I just run this script automatically on boot (see https://wiki.lxde.org/en/Autostart). Good enough for me. Change the 2nd line as needed.
time=$(date +%Y%m%d\ %H:%M:%S)
echo Europe/Amsterdam | sudo tee /etc/timezone
sudo dpkg-reconfigure -f noninteractive tzdata
sudo date --set="$time"
sudo hwclock --systohc
You could even add something like:
(sleep 60 && sudo rdate -n pool.ntp.org && sudo hwclock --systohc) &
I found syslinux.cfg in >Root >KNOPPIX >boot and added
inside APPEND: -->tz=America/Vancouver
Now, in window under ---> Preferences ---> Time and Date the line 'Time zone' is filled in correctly (America/Vancouver) and the line 'Configuration' is filled in correctly (Keep synchronized with Internet servers) as well.
I still don't get the PST (Pacific Standard Time) though. Only if I switch the configuration back and forth between 'Manual' and '...synchronized...' then, after a few minutes, the PST is shown....
What else is missing?
Last edited by Karibu; 10-14-2017 at 02:53 AM. Reason: more text
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$75.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$46.03
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread
$539.99
Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK
$35.00
AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...
$259.99
Intel Core i7-7700 3.60GHz Quad-Core CPU
$41.64