标签: clonezilla

  • Backup ESXi host with Live CD

    Using Live CD/USB to backup and restore the ESXi host disk/partition:

    #redobackup-livecd-1.0.4.iso

    clonezilla

     

    Note:

    #Redo,   partition level backup & restore,  support samba & ftp

    CloneZilla,   file level backup& restore (but VMFS5 ), support nfs.

     

     

     

  • Clonezilla with NFS repository

    Add boot parameter:

    ocs_prerun=”mount -t nfs imagehome.zhenglei.net:/data/partimag /home/partimag”

     

    Where:

    imagehome.zhenglei.net:    NFS server for Clonezilla

    /data/partimag:          NFS directory exported on NFS server for Clonezilla

  • Change CloneZilla Font Size

    Add boot parameter:

    ocs_fontface=”TerminusBold”

      ocs_fontsize=”24×12″

    Refer to  /etc/default/console-setup

     

  • setup Clonezilla live within PXE boot server

    Download Clonezilla Live ISO image (Debian)

    http://www.clonezilla.org/downloads.php

     

    Create mount point inside PXE root directory

    mkdir -p  /tftp/pxe/Clonezilla/amd64

    mkdir -p  /tftp/pxe/Clonezilla/i386

     

    Mount Clonezilla  ISO image as loop device

    mount -o loop -r -n -t iso9660 /tftp/pxe/Clonezilla/amd64  ~/iso/clonezilla-live-2.2.4-12-amd64.iso

    mount -o loop -r -n -t iso9660 /tftp/pxe/Clonezilla/i386  ~/iso/clonezilla-live-2.2.4-12-i686-pae.iso

     

    Create PXE SubMenu for CloneZilla

    DEFAULT /vesamenu.c32
    TIMEOUT 600
    PROMPT 0

    Label  Clonezilla_amd64_install
    kernel /Clonezilla/amd64/live/vmlinuz
    APPEND initrd=/Clonezilla/amd64/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run=”ocs-live-general” ocs_live_extra_param=”” keyboard-layouts=”” ocs_live_batch=”no” locales=”” vga=788 nosplash noprompt fetch=http://apt.zhenglei.net/Clonezilla/amd64/filesystem.squashfs

    Label  Clonezilla_i686_install
    kernel /Clonezilla/i686/live/vmlinuz
    APPEND initrd=/Clonezilla/i686/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run=”ocs-live-general” ocs_live_extra_param=”” keyboard-layouts=”” ocs_live_batch=”no” locales=”” vga=788 nosplash noprompt fetch=http://apt.zhenglei.net/Clonezilla/i686/filesystem.squashfs

     

    Refer to:

    http://www.clonezilla.org/clonezilla-live/boot-parameters/live-config.php

    Advanced Clonezilla Usage

    Advanced Clonezilla Usage.p102