iPXE discussion forum
ipxe boot iso files and load as virtual cd drive - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: ipxe boot iso files and load as virtual cd drive (/showthread.php?tid=10792)



ipxe boot iso files and load as virtual cd drive - adeazevedo - 2018-01-31 00:23

hi there.
I have been reading many topics and forums and I am stuck .
I am trying to ipxe boot an iso file. But I need the iso file to load as a cd drive on the machine .
I have a fog project machine setup and I tried the following setup
sanboot --no-describe --drive 0x80 http://xxx.iso
-----------------------------------
initrd http://192.168.7.21/fog/isoimg/trx.iso
chain memdisk ||

even

initrd http://192.168.7.21/fog/isoimg/trx.iso
chain memdisk iso raw ||

it boots ok but the iso check for files on a cd drive during the boot up and it can’t find any so it hangs. I have a usb boot key tool that I use to load different iso
Windows-linux,nas4free, etc
I would like to move that to a pxe platform .
I would like to avoid decompressing iso files. When new builds come out I would like to only replace the iso file.

Any suggestions ?


RE: ipxe boot iso files and load as virtual cd drive - NiKiZe - 2018-01-31 21:58

Indeed there is loots of threads about this and the answer is almost always "don't try to boot an ISO"
Here is one thread that explains it quite well: http://forum.ipxe.org/showthread.php?tid=9314

To boot windows, use wimboot
To boot linux, extract the ISO and use the correct method for PXE boot
And so on.

One interesting project is: http://git.ipxe.org/osbootd.git
Which as I understand it, is intended to do the ISO extraction on the fly for many different OSs