Erwan,
CloneDisk v2.0 cannot convert my USB flash drive to WIM. It says "WIM format is for logical drives only".
So then I selected RAW, but it started to create a file with exact size of my USB flash drive (8GB).
The files on the flash drive only total ~7MB. Selecting "Skip none partitioned space" didn't help make the IMG file smaller.
Is there any way to convert my USB flash drive to a (bootable) ISO / WIM / IMG ??
I can capture my USB flash drive to a .GHO file (Ghost image), which only takes up roughly 3.5MB of space.
Actually, instead of waiting for an answer, I tried to PXE boot to a GHO file.
In the script you gave me, I opened the file usb.ipxe and changed the following line
initrd ${boot-url}/usb.img
to
initrd ${boot-url}/test.gho
I copied the file test.gho (which is an image of my bootable flash drive) into the Tiny PXE Server folder.
Here's the screenshot on my PC:
And here's the screenshot on the target machine (I used VirtualBox in this case, but it's the same on a real target machine):
The machine simply hangs in this state until I power it off.
Now, a few questions:
1. Can Tiny PXE Server use a .GHO file to PXE boot? If yes, how to do it?
2. If the answer is "No" to the 1st question - Suppose I did manage to convert my USB flash drive to ISO / WIM / IMG, would Tiny PXE Server succeed in booting it properly?
3. If the answer is "Yes" to the 2nd question - Have you any other idea how to convert my USB flash drive to one of those formats?
Thanks in advance