• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    NFS loads fine; HTTP draws a blank screen

    General
    2
    3
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yuma last edited by yuma

      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
      ...
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by Sebastian Roth

        @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.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator last edited by

          @yuma Thanks! Moved to tutorials section of the forum.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          138
          Online

          10.4k
          Users

          16.4k
          Topics

          150.5k
          Posts

          Copyright © 2012-2023 FOG Project