Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: b1ackmai1er on May 16, 2011, 10:22:20 AM
-
Hi,
I can't seem to get my head around how to set the time zone for my 3.6 TC install.
The way I use TC is that it boots (restores nothing - no backup) and then I run a script that installs all my applications and config files.
Initially TC boots up with UTC time but I need to change it to WST-8 for my squeezeboxserver application which displays date, time and alarm on the remote squeezebox players.
Squeezebox server expects the time to be local time for the date/time and alarm to function correctly.
I have tried adding the following to my script but it does not work.
TZ='WST-8'
export TZ
When I type this in on the terminal window it updates the time in that terminal only. Applications and DateTool still report original UTC time.
Do I need to install tzdata.tcz to acheive what I want? I would prefer not to use this if possible as it requires console input.
Thanks.
-
Try the tz bootcode (tz=WST-8)
-
Hi Curaga,
I have problems booting from my PC. I boot from usb key. It takes about 5 minutes and a boot command line is not displayed during this process so I cannot enter the command in.
This is the only way I could get my machine to boot from usb using the HD/USB install script in Control Panel.
Any other way? Will try a remaster with WST-8 in the boot command line if I have to but dread setting up my usb key again!
Regards b1ackmai1er
-
open the terminal and type
sudo editor
Open /mnt/sda1/boot/extlinux/extlinux.conf
If not using sda1, use the appropriate partition.
in the line beginning with
APPEND initrd=/boot/tinycore.gz quiet
include the bootcode.
Then it depends on which options you chose when installing Tiny Core.
It may be syslinux, instead of extlinux. If you look, you should find it.
-
It takes about 5 minutes and a boot
I don't know what type of computer you have.
If it has a hard drive, you would be better installing it on the hard drive.
-
Hi Guy, Curuga that worked a treat. Thanks.
I had no idea it was so easy to edit the command line options either.
Thanks