Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: imtiazsp2 on June 19, 2019, 03:36:50 AM
-
When i use waitusb as bootcode with corepure64 the command date gives wrong time in UTC
e.g instead of showing 'Wed Jun 19 07:30:59 UTC 2019' it is showing 'Wed Jun 19 11:30:59 UTC 2019'. I installed the tzdata.tcz set the link in /etc/localtime to /usr/share/zoneinfo/UTC but still UTC time is wrong. I need the correct UTC Time. If I remove bootcode waitusb=5, UTC Time is good. Any suggestion?
-
Could you paste your boot codes used here.
Is your bios clock set to utc or local time?
-
I use corepure64 waitusb=5,that is all.
I am attaching the TinyCore to a virtual machine on HyperV on a Windows Server 2012 and my time is localtime on the Windows Server 2012.
-
You could try the "noutc" boot code
-
Still not good
-
I just tried CorePure64 inside the qemu vm - using "noutc" makes no difference to the time in the vm.
I note that qemu has a command to set the vm time to utc or local time, maybe your vm has a similar command?