So here is what we currently have: USB Stick with clonezilla live which we Kickstart PCs
-> cat USBSTICK/Clonezilla-Live-Version
clonezilla-live-2.6.4-10-amd64
This Clonezilla live iso file was created by this command:
ocs-iso -s --extra-boot-param quiet -y 6.03 -i 2.6.4-10-amd64
Which we boot from, then kickstart the PCs using the following grub.cfg
-> cat USBSTICK/boot/grub/grub.cfg
Hello,
Happy Tuesday!
First time poster here. :)
So here is what we currently have:
USB Stick with clonezilla live which we Kickstart PCs
-> cat USBSTICK/Clonezilla-Live-Version
Which we boot from, then kickstart the PCs using the following grub.cfg
-> cat USBSTICK/boot/grub/grub.cfg
We have no issues with the above.
We want to move to the next step and kickstart with pxe boot. (no usbstick)
I was able to successfully create a pxe boot server using http, which allows me to install a minimal Centos7 image.
Both with legacy and UEFI boot.
I am trying now, to add clonezilla live into this pxe server but struggling....
Here is how i have my pxe server configured:
-> cat /etc/dhcp/dhcpd.conf
-> cat /var/lib/tftpboot/pxelinux.cfg/default
-> cat /var/lib/tftpboot/centos7/grub.cfg
my tftp dir structure
The files in tftpboot/clonezilla are taken from clonezilla-live-2.6.4-10-amd64.iso
When I boot using grub.cfg (uefi) and select the clonezilla menuentry, it goes into initramfs ...
I feel like im close!
Any input is much appreciated!!
Thank you,
Dave
Last edit: Dave Macias 2021-07-27
So you use pxelinux for uEFI netboot? If so, I suggest you switch to grub. You can follow this:
https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/11_lite_server
If you start it, it will create a file in /tftpboot/nbi_img/grub/grub.cfg.
You can switch to console 2 by pressing ctrl-alt-F2 to read that file.
Steven
Thank you Steven for the reply.
I was able to achieve my goal!
Installed drbl which does everything I needed.
Mostly followed this link: https://www.dell.com/support/kbdoc/en-us/000129480/server-side-setup-and-client-setup-for-clonezilla
Then I added my custom menu entry and made it default. Now once I PXE boot a client they simply auto provision and restart.
Thank you!
Hi Dave,
Can you please share the dell article https://www.dell.com/support/kbdoc/en-us/000129480/server-side-setup-and-client-setup-for-clonezilla if have with you in any form as the link is no more active nor i can find it on the web.
It's nice to know you have made it.
Great.
Steven
Hi guys, another first time poster, Dave Macias left the company but he made us some documentation that led to this forum as we inherit this system.
We are looking to create a second pxe server to boot from and did the steps like Dave did above.
However, when we get a client plugged in and PXE boot, the screen is stuck at:
Any input is much appreciated!
Edit1: I found that with a booted client, I can't ping 8.8.8.8
Viet
Last edit: Viet Than 2022-10-04
Just want to come back and say we got it working, it was a routing/network problem.
Boss!