You are not logged in.

#1 2020-01-23 22:26:25

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

[SOLVED] Problem setting timezone in arch chroot

Hi,

I have set up an arch chroot which works just fine, except I cannot seem to get the time out of UTC, I would like it to take on localtime from the host OS (also arch), so that it picks up my timezone (Pacific/Auckland)

I have tried using timedatectl command from within the chroot, but it states:

<code>
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
</code>

Any idea's

Last edited by bmentink (2020-01-23 23:07:03)

Offline

#2 2020-01-23 22:59:13

seth
Member
Registered: 2012-09-03
Posts: 51,071

Re: [SOLVED] Problem setting timezone in arch chroot

It's just a symlink, see bottom of https://wiki.archlinux.org/index.php/Sy … #Time_zone

Offline

#3 2020-01-23 23:05:00

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: [SOLVED] Problem setting timezone in arch chroot

Cool, thanks, I missed that line ... now works ...

Offline

Board footer

Powered by FluxBB