@wiraport said in boot windows ISO directly:
Ive already used the method in the past to boot this files.
I think its impossible to do. Maybe an older microsoft OS but 2019 is to big.
But my goal is to help you, help yourself.
sanboot http://${fog-ip}/${fog-webroot}/fog/ISO/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_de-de_1.iso
I have not used SANBOOT before but I would think the URL you have defined should be an iqn path, not URL. I don’t know what the right answer is but I’m pretty sure that is not it. But I will also say I have not used sanboot for this purpose before.
Secondly this just looks wrong:
http://${fog-ip}/${fog-webroot}
I think ${fog-webroot} already includes ${fog-ip}
A quick check on this would be to call your fog server with this URL http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00
That will give you the text behind the FOG iPXE menu. At the very top of that script within the first few lines ${fog-webroot} is defined. By looking at the code you should be able to tell how its assigned. Also the /fog in the path is redundant because that should be already included in the ${fog-webroot} path.
Also for the url as you have it created, you need to make sure your iso file is located in /var/www/html/fog/ISO directory.
The other limitations I said before still apply. I’m only helping you fix what is wrong with your parameter block.
And finally in this tutorial you will see how to properly setup the memdisk parameter block. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/6
initrd nfs://${fog-ip}:/images/os/mswindows/7Pro-x64/WinPE_amd64.iso
chain memdisk iso raw
boot || goto MENU
Again this might not be the only way to use memdisk, but I know this method works for bios based computers. I have not tried to use sanboot for this method of booting.