Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: barbudor on September 09, 2011, 03:50:22 AM
-
Hi
I am using a vmware TinyCore to develop software for my "embedded" microcore.
Unfortunately I has a clock setting issue when my TCL-VM starts.
I have the proper tz= setting for my TZ in TinyCore boot line. (France, tz=CET-1CEST,M3.5.0,M10.5.0/3)
This works fine with the "embedded" microcore.
But when my TCL-VM boots, the clock is initialized in a way that it consider my host-PC localtime to be gmtime.
So localtime in the TCL-VM is wrong.
I have not been able to install OpenVmWareTools.
Any idea on how I might solve this and get the right time ?
Thanks
~barbudor
-
"noutc", IIRC. Note that if the clock is not set from UTC time, the TZ string is useless and you won't get automatic DST changes.
-
Hi Curaga
Thanks. This is perfectly understood.
But this is what I want to solve : to get VMWare to properly initialize virtual-hardware-clock to GTIME and not to LOCALTIME.
I believe that this is more a VMWare question than a Linux question.
I can't find any setting in VMWare and I wonder if trying to get OpenVMWareTools installed and working would solve this.
TIA
~barbudor
-
Well, as a suggestion out of left field: You could always use VirtualBox instead of VMWare which has a setting to enable "Hardware clock in UTC time".
I personally have stopped working with VMWare products as they are not open source and way more "bloated" then the alternatives. In my (non-exhaustive) comparison I failed to find any significant reasons (e.g. speed, features, ...) to stay with what I considered once to be a truly great product. But you might have your reasons why you want to make your life more difficult then IMHO it has to be ...
-
Hi Maro
This is still a good suggestion to point VirtualBox.
Indeed I am still using vmware because I started with their 1st VmWare Player that was (I believe so) the first free VM, before VirtualBox and not including buggy VirtualPC.
I was too lazy to switch up to now, but maybe it's time now. Especially if I can find a way to migrate easily my VM to VirtualBox.
I also had a look to TCL boot command settime but apprently this one is deprecated.
For now I have partially solved my problem using ntpclient in my bootsync.sh (I had to figure that ntpclient.tcz have to be one of the first tcz in my onboot.lst to work properly ... :o )
Thanks
barbudor