setup clonezilla server

Step 1: Add repositories

sudo su
nano /etc/apt/sources.list

and add :
deb http://drbl.sourceforge.net/drbl-core drbl stable
wget http://drbl.sourceforge.net/GPG-KEY-DRBL
apt-key add GPG-KEY-DRBL

Step 2: update

apt-get update -y && apt-get upgrade -y

Step 3: Set Static ip and virtual interface

nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0:0
iface eth0:0 inet static
address 192.168.99.200
netmask 255.255.255.0

Step 4: install software

apt-get install drbl -y

Step 5: drbl

run drblsrv -i and hit enter

Step 6: Serial output

select N to skip serial output

Step 7: update os

Clonezilla-3.png

if you wish to update you select Y mine is upto date

Step 8: kernel

Clonezilla-4.png

select the kernel you wish to use i use the one from APT

Step 9: Run config script

run drblpush -i and press enter
press 3x ENTER

Step 10: select your nic

select your nic eth0 or ens192

Step 11: collection of MAc

i dont collect mac addresses so i skip this one

Step 12: DHCP

Do you want to let the DHCP service in DRBL server offer same IP address to the client every time when client boots (If you want this function, you have to collect the MAC addresses of clients, and save them in file(s) (as in the previous procedure)). This is for the clients connected to DRBL server’s ethernet network interface eth0:0 ?

N

Step 13: Starting IP

What is the initial number do you want to use in the last set of digits in the IP (i.e. the initial value of d in the IP address a.b.c.d) for DRBL clients connected to this ethernet port eth0:0.
[1] 1

Step 14: NR of clients

enter the number of clients you wish to clone

How many DRBL clients (PC for students) connected to DRBL server’s ethernet network interface eth0:0 ?
Please enter the number:
[12] 12

Step 15: accept values

review and accept

Step 16: clonezilla will create an overview

IC NIC IP Clients
+———————————————————————————+
| DRBL SERVER |
| |
| +– [eth0] 10.0.2.100 ± to WAN
| |
| +– [eth0:0] 192.168.99.200 ± to clients group 0:0 [12 clients, IPs 192.168.99.1 – 12]
| |
+———————————————————————————+


Total clients: 12


Step 17: questions

answer the next questions acording to your wishes

Step 18: start clonezilla

run dcs

Step 19: clients

clonezilla-server-ubuntu-1.gif

select your clients

Step 20: start clonezilla

clonezilla-server-ubuntu-2.gif

start

Step 21: select mode

clonezilla-server-ubuntu-3.gif

Step 22: mode

clonezilla-server-ubuntu-4.gif

select mode

Step 23: PXE

start now your client you wish to clone in PXE mode.

and run trough the wizzard.

Step 24: Test

after the cloning create a vm and try to restore the image to a vm

5 Spice ups