You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
996 B

# Clonezilla
https://clonezilla.org/livepxe.php
## 1. Prepare PXE server - [syslinux.md](syslinux.md)
## 2. Download clonezilla live zip
- https://clonezilla.org/downloads.php
- `mkdir -p /srv/tftp/clonezilla`
- `unzip -j clonezilla-live-*.zip live/vmlinuz live/initrd.img live/filesystem.squashfs -d /srv/tftp/clonezilla/`
- Edit your PXElinux config file `/srv/tftp/pxelinux.cfg/default`:
```
DEFAULT menu.c32
LABEL Clonezilla-live
MENU LABEL Clonezilla Live (Ramdisk)
KERNEL clonezilla/vmlinuz
APPEND initrd=clonezilla/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid keyboard-layouts=us locales=en_US.UTF-8 ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://192.168.11.11/clonezilla/filesystem.squashfs
```
- `mkdir -p /srv/nfs/clonezilla_images`
- Edit `/etc/exports`
```
/srv/nfs/clonezilla_images *(ro,sync,no_root_squash,no_subtree_check)
```