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