-
I have managed to launch many iso, images etc. by extracting their kernel (vmlinuz), ramdisk(s) (initrd.gz) and, if needed, filesystem (fs.squashfs), etc. and then load them over NFS. (NFS is good but seems slower.) However when I then change their Fog configuration to load over HTTP, the files load faster but it never boots.
Thus I suspect the Apache configuration is causing this issue.
I have added an alias and opened the directory.
[in a http config file]:... alias /images/ /images/ <DirectoryMatch /images/> Require all granted Order allow,deny Allow from all Options Indexes FollowSymLinks </DirectoryMatch> ...
To allow access to the /images directory - where the extracted iso files are stored. Is this the correct way to serve over http?
If the Apache config is correct, perhaps I have missed a setting elsewhere. Can someone point me in the right direction? And give me the code, if any, to allow http serving.PS. Here is one of my Fog config files:
set http http://${fog-ip}/${fog-webroot} set nfs nfs://${fog-ip}/images set tftp tftp://${fog-ip}/images ... :freeDOS1.3 kernel memdisk iso initrd ${nfs}/memdisk/iso/FD13LIVE.ISO boot goto MENU :defPM set root ${http}/pmagic/pxe set nroot ${nfs}/pmagic/pxe kernel ${nroot}/bzImage64 imgargs root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/images/pmagic/contents/pmagic initrd ${nroot}/initrd.img initrd ${nroot}/files.cgz initrd ${nroot}/fu.img initrd ${nroot}/m64.img boot || read void goto MENU ...
-
@yuma Thanks! Moved to tutorials section of the forum.
-
@yuma Misunderstood this as being a tutorial on how to set this up. Somehow missed your question. So moving this topic back to general questions now.
Anyone able to help here? I don’t do much ISO booting stuff.