Flashing Fog images From classic distro

I have 20 Disks on my desk ( connected on USB3) and want to load fog linux single disk resizable ( Root + Swap) images onto those disks like I would have done booting the Fog client, but without having to boot the fog PXE client each time.

How could I do that ?

I know the Fog client basically :

restore MBR

Use partclone to restore partition

restore swap UUID

But I guess We can extract the full client and run it from my linux distro desktop directly ?

Something like Fogclient --image /images/image1 --target /dev/sdb

Thanks !

Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

While I understand you may not want to wait 5 minutes, it seems a bit extraordinary to be working so hard to come up with a FOG like solution that doesn’t involve actually use FOG as it was intended. All this time to image 20 HDD’s would’ve taken about an hour worth of time including the 5 minute pxe boot time if you simply just grabbed a few extra laptops, registered and then tasked them.

Of note with this, it sounds like these Skylake laptops are attempting to boot VIA UEFI? UEFI booting is supported with FOG but as far as the implementation as handled from the NIC itself is outside of “FOG’s” realm of control. If it’s taking UEFI NIC booting 5 minutes, why not just tell the BIOS to boot nic in legacy mode? (Of which I’m pretty sure will NOT take 5 minutes to boot).

Now here’s where I’m confused about why you need to create, essentially, a FOG like solution on your side.

You don’t want to wait the 5 minutes of booting into the NIC. This is the ONLY reason, as far as I can see, as to why you don’t want to just use FOG as it was intended. Now we’ve been a week at this with back and forth information. When you initially made the posting asking for assistance, if you had installed FOG, had 5 of these laptops, inserted an HDD into each one, booted the system through PXE and telling that system to image. Run this 4 times, you’d have all 20 HDD’s complete within about an hour (give or take a little).

If you had 20 laptops all at once, you’d probably be done in about 30 minutes to an hour if you ran it through a multicast task.

I don’t know what the end goal is. I think FOG is perfectly capable of imaging these disks regardless of how long PXE takes to load up. You’d have been done by now if you had just waited the extra 5 minutes or so per system.

@mm-Ekimia In the 6 days that have passed, you could have already had this project done by just imaging one drive at a time in the actual computer it belongs in. Even with Norton Ghost, I’ve imaged 30 HDDs in a day that I had to physically remove from incompatible Laptops - image - and then re-install. And that was with handling all my other responsibilities and phone calls too.

Who cares if it takes 5 minutes for your “powerful skylake laptops” to pxe boot? FOG is free and open source and developed by volunteers, and supported by volunteers - and they don’t ask for a dime in return.

In the 5 minutes it takes one of your “powerful skylake laptops” to pxe boot, I would have another 10 hooked up by then and also waiting to pxe boot.

You might want to look into just scripting a very old Unix program called dd to do this job.
You could connect as many disks as you want to one computer, as long as one is a reference disk, and then just script dd to copy from the source disk to all destination disks simultaneously. This would probably be something you’d want to run overnight as it would take quite a long time.

@mm-Ekimia I can honestly say, in 5 minutes I can setup a computer on the bench, pxe boot a target computer, deploy an image, power it off and setup the next computer for imaging (I may have fudged the time just a minute or two, but pxe booting into FOS is about 20 seconds at the most). My total push time is about 3.5 minutes for a 10GB reference image.

Understand I’m using FOG 1.3.0RC14 for imaging and the developers have made huge improvements in speed and new hardware support since the 1.2.0 days. I can’t understand the 5 minute to partclone start. That IS almost my entire unitcast image deployment process.

If I understand the situation correctly, you want to image 20 disks in some kind of batch using a single computer?

You could do this with FOG and pxe booting if your drives were connected to your target computer using an external sata dock. You would have a single host registered in FOG and have the primary disk setup to point to the SATA dock. You would pxe boot the target computer (or use usb boot) and then still pick quick image to deploy the image to the hard drive connected in the sata dock.