Serve Clonezilla with PXE using TFTP on a UEFI computer
October 2014.
Fetch the required files
What you need:
- Clonezilla's zip file: clonezilla-live-20140915-trusty-amd64.zip
- syslinux-6.03.zip Download it on kernel.org.
- pxelinux's config file (pxelinux.cfg/default):
DEFAULT Clonezilla-live
LABEL Clonezilla-live
MENU LABEL Clonezilla Live (Ramdisk)
KERNEL vmlinuz
APPEND initrd=initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 nosplash noprompt fetch=tftp://[INSERT YOUR IP HERE]/filesystem.squashfs
Extract PXELINUX's files
Extract the following files into the current folder.
\efi64\efi\syslinux.efi
\efi64\com32\elflink\ldlinux\ldlinux.e64
Extract clonezilla's files
Extract the required files from the zipfile in the current folder.
live/vmlinuz
live/initrd.img
live/filesystem.squashfs
Check that you have all the required files
Your folder should look like this:
filesystem.squashfs
initrd.img
ldlinux.e64
pxelinux.cfg/default
syslinux.efi
vmlinuz
Configure
Edit pxelinux.cfg and insert your IP. You can also preset parameters (see http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/99_Misc.
Boot
Set up your DHCP and TFTP servers and boot
syslinux.efi
.Sources
- Clonezilla Live on PXE Server: http://clonezilla.org/livepxe.php