Fog TFTP boot issue
-
I get the error in the attachment. http://<fog-server>//service/ipxe/bg.png. The issue is the “//service” it should be “/fog/service”. I have tried switching files to fix this and I can not figure out where I need to make the edit to fix this issue (bzimage files and kpxe fiels). Where do i make the necessary change. Thanks for any help and guidance.
-
Fog 1.2.0, on Ubuntu server.
-
@Balaun Read through this: https://forums.fogproject.org/topic/4097/ipxe-could-not-boot-no-such-file-or-directory
I think your problem is that FOG installed the
fog
web folder in the wrong spot. Ubuntu has changed since 1.2.0’s release.It’s probably here:
/var/www/fog
and it should be here:/var/www/html/fog
Just a guess, I’m not totally sure because you didn’t specify what version of Ubuntu Server you are running.A symbolic link is likely the most simple fix. Something like
ln -s /var/www/fog /var/www/html
-
Thank you I will look into this tommorrow. I asssumed ther was just a document i could edit the path to the correct location. like a php file.
-
I reckon it’s got to do with a wrong setting within the FOG web interface. Access the web GUI and go to FOG Configuration -> FOG Settings -> Web Server and see what the option ‘FOG_WEB_ROOT’ is set to. I guess it is ‘/’ but should be ‘/fog/’.
-
Thank you Uncle Frank that was the answer. instead of being /fog/ there was nothing there.