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
NEW Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513
$80.99
USA new Genuine L21L4P73 L21M4P75 Battery For LENOVO THINKPAD T14S GEN 3 GEN 4
$73.78
For Lenovo Flex 5-1570 81CA Lcd Touch Screen w/ Bezel 15.6" 4K 5D10N46973
$124.00
Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS
$219.99
Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD
$1022.99
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$349.99
Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10
$59.00
Lenovo ThinkPad X1 Nano 13" Touchscreen 2K i7-1180G7 16GB/256GB Win 10 Pro
$555.00
Lenovo K14 AMD Laptop, 14" FHD IPS LED , Ryzen 5 5600U, GB, 256GB SSD
$569.00
Lenovo Flex 7 14IRU8 14" 2.2K Touch Intel Core i7-1355U 16GB 1TB SSD W11H
$549.99