Menu

PXE boot parameter timezone ignored

Albert25
2016-10-16
2016-11-15
  • Albert25

    Albert25 - 2016-10-16

    I'm booting clonezilla-live-20160711-yakkety-amd64 through PXE, and setting the timezone parameter in the APPEND line, but the booted system comes up with UTC.

    Is it possible to set the timezone without editing the content of filesystem.squashfs?

    $ date
    Sun Oct 16 12:12:03 UTC 2016

    $ cat /proc/cmdline
    BOOT_IMAGE=cz20160711/live/vmlinuz initrd=cz20160711/live/initrd.img boot=live locales=en_US.UTF-8 keyboard-layouts=ch utc=no timezone=Europe/Zurich ethdevice-timeout=60 fetch=tftp://192.168.44.10/cz20160711/live/filesystem.squashfs nolocales vga=791 union=overlay username=user hostname=yakkety config components noswap edd=on nomodeset nodmraid noeject ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no ocs_repository="smb://XXX:YYY@192.168.44.11/diskimages/" splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
    And the pxe config:

    LABEL Clonezilla_20160711
      MENU LABEL Clonezilla Live backups v.20160711
      TEXT HELP
        Boot Clonezilla Live (v. 20160711-yakkety-amd64)
        to perform a backup or a restore of the disks or
        partitions to/from 192.168.44.11/diskimages
      ENDTEXT
          KERNEL cz20160711/live/vmlinuz
          APPEND initrd=cz20160711/live/initrd.img boot=live locales=en_US.UTF-8 keyboard-layouts=ch utc=no timezone=Europe/Zurich ethdevi
    ce-timeout=60 fetch=tftp://192.168.44.10/cz20160711/live/filesystem.squashfs nolocales vga=791 union=overlay username=user hostname=ya
    kkety config components noswap edd=on nomodeset nodmraid noeject ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batc
    h=no ocs_repository="smb://XXX:YYY@192.168.44.11/diskimages/" splash i915.blacklist=yes radeonhd.blacklist=yes nouveau
    .blacklist=yes vmwgfx.enable_fbdev=1
          IPAPPEND 2
    
     
  • Steven Shiau

    Steven Shiau - 2016-10-16

    Thanks for reporting this.
    Could you please give testing Clonezilla live >= 2.4.9-7 a try, too?
    http://clonezilla.org/downloads.php
    We will see if any difference between Debian and Ubuntu.
    Thanks.

    Steven

     
  • Albert25

    Albert25 - 2016-11-08

    I now had a chance to try the "testing" Debian version: 2.4.9-18.

    Unfortunately, the problem remains. The timezone boot parameter is ignored, and the machine uses UTC. (It does set the correct time from FTP; it just ignores the timezone).

    From syslog:

    Nov  5 18:37:37 localhost kernel: [    0.000000] Linux version 4.8.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.5-1 (2016-10-28)
    Nov  5 18:37:37 localhost kernel: [    0.000000] Command line: initrd=clonezilla-2.4.9-18/live/initrd.img boot=live keyboard-layouts=ch timezone=Europe/Zurich ethdevice-timeout=60 fetch=tftp://192.168.81.10/clonezilla-2.4.9-18/live/filesystem.squashfs ocs_repository="smb://XXX:YYY@192.168.81.18/backups/" locales= vga=791 union=overlay username=user hostname=clonezilla config components noswap edd=on nomodeset nodmraid noeject ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 BOOTIF=01-18-66-da-33-c1-b0 BOOT_IMAGE=clonezilla-2.4.9-18/live/vmlinuz 
    

    In the running system, /etc/timezone contains "Etc/UTC".

     
  • Steven Shiau

    Steven Shiau - 2016-11-15

    I have made some changes to live-config, so this issue should be fixed.
    Please give Clonezilla live 2.5.0-3 a try:
    http://clonezilla.org/downloads.php
    Let us know the results.
    Thanks.

    Steven

     

    Last edit: Steven Shiau 2016-11-15

Log in to post a comment.