edmun
Posts: 39
Joined: Thu Jan 09, 2014 11:37 am

Clonezilla imaging using Raspberry Pi as a network server

Mon Nov 30, 2015 9:20 am

Hi Guys

I am sorry for such a trivial question, but anyone knows if by any chance Raspberry Pi can be used as a network server to which other PCs in the network can boot from network source to be imaged automatically by for example clonezilla imaging solution?

I don't know if I should start this project and currently I am in a situation where almost every single day, I need to image around 5-10 PCs from the same clonezilla image and using external DVD readers and USB drives is becoming a big pain (PCs don't have a dvd drive). Because I have some spare Raspberry Pi's laying around - I was hoping that I could create from one of them a server, to which a USB drive would be connected, and PCs would just use network booting and image themselves.

Anyone could be helpful enough to provide some links or keywords under which I should be looking answers ?

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Clonezilla imaging using Raspberry Pi as a network serve

Mon Nov 30, 2015 9:26 am

edmun wrote:Hi Guys

I am sorry for such a trivial question, but anyone knows if by any chance Raspberry Pi can be used as a network server to which other PCs in the network can boot from network source to be imaged automatically by for example clonezilla imaging solution?

I don't know if I should start this project and currently I am in a situation where almost every single day, I need to image around 5-10 PCs from the same clonezilla image and using external DVD readers and USB drives is becoming a big pain (PCs don't have a dvd drive). Because I have some spare Raspberry Pi's laying around - I was hoping that I could create from one of them a server, to which a USB drive would be connected, and PCs would just use network booting and image themselves.

Anyone could be helpful enough to provide some links or keywords under which I should be looking answers ?
This tutorial is based off Raspbian Wheezy OS but should give a starting point:

http://it-joe.com/howtos/pxe.php

Most modern PC's have PXE boot option in BIOS ;)
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Lavabo
Posts: 1
Joined: Mon Dec 22, 2014 2:30 pm

Re: Clonezilla imaging using Raspberry Pi as a network serve

Mon Nov 30, 2015 5:03 pm

This is interesting

For now im testing CrucibleWDS with built in dhcp. Next step im willing to test is a Rpi as a PXE boot server and a laptop with crucibleWDS on a standalone switch for multicast

edmun
Posts: 39
Joined: Thu Jan 09, 2014 11:37 am

Re: Clonezilla imaging using Raspberry Pi as a network serve

Mon Dec 07, 2015 4:07 pm

Hmm temporary I have managed to boot a PC in the network to Raspberry's PI PXE, however once I was trying to add Clonezilla to it, it failed completely. Currently imaging the MicroSD card/Raspbian again and will start again.
Found, that using one Raspberry Pi with only one NIC (network interface card) migght not be a perfect idea and I have to use dnsmasq.
Will let everyone know if I will manage to accomplish this task.

edmun
Posts: 39
Joined: Thu Jan 09, 2014 11:37 am

Re: Clonezilla imaging using Raspberry Pi as a network serve

Wed Dec 09, 2015 12:01 pm

Update: I have made it.
After 3 days of fight, I have learned one big lesson:

Don't follow any manuals/tutorials from the web, because those were designed for raspbian-wheezy.
I was lucky enough to prepare raspbian jessy on which syslinux is missing and many files were not present at all.

Pcservices
Posts: 1
Joined: Fri Apr 10, 2020 11:52 pm

Re: Clonezilla imaging using Raspberry Pi as a network serve

Fri Apr 10, 2020 11:54 pm

edmun wrote:
Wed Dec 09, 2015 12:01 pm
Update: I have made it.
After 3 days of fight, I have learned one big lesson:

Don't follow any manuals/tutorials from the web, because those were designed for raspbian-wheezy.
I was lucky enough to prepare raspbian jessy on which syslinux is missing and many files were not present at all.
Any instructions how you did that ?

Return to “Networking and servers”