Clonezilla

The Free and Open Source Software for Disk Imaging and Cloning
Started with sshd on and passwd assigned

In this example: Run unattended Clonezilla live via PXE or CD booting and the process can be remotely monitored
  1. A PXE config example for you to boot Clonezilla live via PXE, and ssh service is on, the password of account "user" is assigned

[Back to 'Clonezilla Live Doc']

  • A PXE config example for you to boot Clonezilla live via PXE, and ssh service is on, the password of account "user" is assigned
        ^TOP^
  •  ----------------------------------------
    label Clonezilla Live
    MENU LABEL Clonezilla Live
    MENU DEFAULT
    kernel vmlinuz1
    append initrd=initrd1.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 noswap noprompt vga=788 fetch=tftp://192.168.120.254/filesystem.squashfs usercrypted=bkuQxLqLRuDW6 keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 nosplash net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 ocs_numlk="on" ocs_daemonon="ssh"
    ----------------------------------------
    The usercrypted password is created by:
    echo YOUR_PASSWORD | mkpasswd -s
    ("mkpasswd" is from package "whois" in Debian or Ubuntu. Check your GNU/Linux to see which package provides this command if you are not using Debian or Ubuntu. Replace YOUR_PASSWORD with your plain text password, and remember do not put any " in the boot parameters of live-initramfs (while it's ok for those ocs_* boot parameters), i.e. do NOT use something like usercrypted="bkuQxLqLRuDW6").
    If you prefer sha-256 instead of md5 method, you can generate the password like:
    echo YOUR_PASSWD | mkpasswd -m sha-256 -s
    Or sha-512:
    echo YOUR_PASSWD | mkpasswd -m sha-512 -s
    //NOTE//
    1. If you do not assign salt to mkpasswd, the encrypted password will not be the same every time you create it.
      For more about usercrypted discussion, please check the here.
    2. The files in the Clonezilla live iso file are read-only, therefore it's easier to modify the files on USB. If you want to convert the live USB files as an iso file, you can refer to this. Remember, for live CD booting, you have to modify the syslinux/isolinux.cfg.
    3. For more boot parameters, please refer to this doc.

[Back to 'Clonezilla Live Doc']

Clonezilla project. All Rights Reserved. Anyone is permitted to copy and distribute verbatim copies of this document under the terms of the GNU FDL Free Documentation License.