Page 1 of 1

Local Time Setting

Posted: 24 May 2016 07:56
by atipp
Slackellive-kde-4.14.18

My local time is Manila. If I set it there after booting with timeconfig
or the panel clock it is not remembered on reboot and reverts back to
UTC setting.

I have to set it every time on booting in the Tab option to tz=Asia/Manila.

While booting there is a message:
mounting /slroot/live/union/localtime on /slroot/localtime failed no such file or directory.
My hardware time is set to local not UTC.

Any chance to fix that after booting time is set to local?

Re: Local Time Setting

Posted: 24 May 2016 15:54
by djemos
1. What do you mean? You are talking for booting from liveiso or liveusb without persistent?
2. Or you are talking about booting from liveusb + persistent?
3. Or booting from installed system to hard disk?

1. Booting from liveiso or liveusb with no persistent you always have to set your time because there is not in included Langs. There is a solution just mount the iso and copy somewhere the boot/menus folder. Then edit one of them and change it as you like.
Next umount the iso.
Next open the iso with isomaster and replace the file you edit it and recreate the iso with a different name.
make it isohybrid
sudo isohybrid --uefi name.iso for 64 bit iso
sudo isohybrid name.iso for 32bit iso
and use it
Hope it works.

2. For booting from liveusb + persistent if you set it on persistent then in next boot will remember it.

Edit: Whatever Lang i choose the ntpd time server running at boot will always shows Athens time. So it is independent from Lang.
3. Same with hard disk installation.

Re: Local Time Setting

Posted: 25 May 2016 08:44
by atipp
Slackellive-kde-4.14.18 booted from USB stick with persistent.
In the Tab option I had deleted tz=Etc/GMT.
Now the date showed correctly:

Code: Select all

one[~]$ cat date1stboot
Wed May 25 16:13:43 PHT 2016
in timeconfig I marked Manila for the time.
Reboot, do not change or delete tz=Etc/GMT

Code: Select all

one[~]$ cat date2ndboot
Wed May 25 16:21:25 GMT 2016
However, strangely enough now the time on the panel shows 00:21.

Conclusion, to show correct local time delete in tab tz=Etc/GMT

Re: Local Time Setting

Posted: 25 May 2016 12:25
by djemos
I am glad that you have found the solution. I had to look at it in the next releases.

Re: Local Time Setting

Posted: 31 May 2016 13:24
by djemos
The message "mounting /slroot/live/union/localtime on /slroot/localtime failed no such file or directory." at boot has been solved. It was an error that glic-zoneinfo package needed to be installed first and then glibc, glibc-i18n, glibc-profile. So a wrong link to /etc/localtime was created.