Menu

Clonezilla keeps changing my system time

Rick
2016-07-12
2016-08-07
  • Rick

    Rick - 2016-07-12

    How do I get clonezilla to stop changing my system time? I tried utc=no in my default file but it doesn't work.

     
  • Steven Shiau

    Steven Shiau - 2016-07-17

    Which version of Clonezilla live did you use? The latest stable one (2.4.7-8) should not do that. If it does, then it's a bug. Please provide more info so that we can fix it.
    Thanks.

    Steven

     
  • Rick

    Rick - 2016-07-18

    It is the latest, 2.4.7-8. I'm booting to PXE so I am only using filesystem.squashfs, initrd.img and vmlinuz. I have pxelinux.0 from syslinux 4.04. Is it possible that you can also start including the current pxelinux.0 with your downloads? It will make it much easier for users to set up Clonezilla for PXE. Thanks.

     
  • rfried

    rfried - 2016-07-21

    I confirm this issue after upgrading clonezilla live from 2.2.3-10-amd64 to 2.4.7-8-amd64.

    The PCs run there RTC in local timezone (Windows installed) and after booting
    clonezilla the RTC is set to UTC.

    Investigations brings up the systemd-timesyncd service is started and synchronizing clock to
    some debian ntp servers about 20 seconds after boot and the timezone of clonezilla is UTC then.

    root@debian:~# timedatectl
    Local time: Thu 2016-07-21 11:56:21 UTC
    Universal time: Thu 2016-07-21 11:56:21 UTC
    RTC time: Thu 2016-07-21 11:56:21
    Time zone: Etc/UTC (UTC, +0000)
    Network time on: yes
    NTP synchronized: yes
    RTC in local TZ: no

    The "timezone" (e.g. timezone=CET) boot parameter is ignored.
    But even setting the timezone to CET and mark the RTC local (utc=no ocs_prerun="timedatectl set-timezone CET")
    does not prevent the RTC from set to UTC.

    Workaround: Disable systemd-timesyncd service
    by appending to boot parameters: ocs_prerun="timedatectl set-ntp off"
    in syslinux/syslinux.cfg

     
  • Steven Shiau

    Steven Shiau - 2016-07-24

    Thanks for the bug report. The systemd-timesyncd will be disabled in the next release.

    Steven

     
  • Rick

    Rick - 2016-07-29

    I just tried the latest test release and this issue is now fixed. Thanks.

     
  • Steven Shiau

    Steven Shiau - 2016-08-07

    Cool. Thank for confirming that.

    Steven

     

Log in to post a comment.