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

    Could not boot... Help?

    Scheduled Pinned Locked Moved Solved
    Tutorials
    3
    11
    2.4k
    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.
    • C
      cnaud86
      last edited by

      Re: Fog 1.3 PXE Menu Entry for System Rescue CD

      Fog: running Version 1.3.4
      Ubuntu: 16.04.1

      Hello,

      First, thanks for your work. Fog works great and installation was just perfect.

      I strictly follow this tutorial [https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#System_Rescue_CD](link url) especially about System Rescue CD (version downloaded: version 4.8.1 )

      Booting one of my PC and then choosing srcd, I got the following error message :
      http://xxx.xxx.xx.xxx/srcd/rescue64… No such file or directory (http://ipxe.org/2d0c613b)
      Could not boot: No such file or directory http://ipxe.org/2d0c613b etc.

      Any help would be appreciated… Thanks in advance.

      Christophe

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        on the fog server linux console, can you provide the output of the following command: ls -la /var/www/html/srcd

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • C
          cnaud86
          last edited by

          @george1421 said in Could not boot... Help?:

          ls -la /var/www/html/srcd

          ls -la /var/www/html/srcd
          total 375224
          drwxr-xr-x 2 root root 4096 mars 14 10:34 .
          drwxr-xr-x 3 root root 4096 mars 14 09:45 …
          -rw-r–r-- 1 root root 15403740 août 12 2016 initram.igz
          -rw-r–r-- 1 root root 14027296 août 11 2016 rescue64
          -rw-r–r-- 1 root root 354783232 août 12 2016 sysrcd.dat
          -rw-r–r-- 1 root root 45 août 12 2016 sysrcd.md5

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @cnaud86
            last edited by

            @cnaud86 OK the files are in the right spot according to the document.

            From a web browser can you access http://<fog_server_ip>/srcd/sysrcd.md5 I’m only interested to see if you can access the files via a web browser.

            Right now its not clear if the issue is in the web server or the iPXE menu configuration. the above test will tell us if the web server part is setup correctly.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • C
              cnaud86
              last edited by

              @george1421 said in Could not boot... Help?:

              /srcd/sysrcd.md5

              http://xxx.xxx.xx.xxx/html/srcd/sysrcd.md5 works fine

              http://xxx.xxx.xx.xxx/fog/srcd/sysrcd.md5 404 not found

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @cnaud86
                last edited by george1421

                @cnaud86 are you absolutely sure you need /html in the url to get to the md5 file? AND /fog is in the html document root directory? The reason why I ask is the html doc root may be off for your system.

                For example on my fog server the dashboard is
                http://<fog_server_ip>/fog/management/index.php

                If you look in the doc root of my fog server in /var/www/html there is the fog directory and an isoimage directory. /var/www/html should be the html doc root for Ubuntu also. In your case you should have a fog directory and a srcd directory.

                Why I’m confused is that your url that said it worked http://xxx.xxx.xx.xxx/html/srcd/sysrcd.md5 implies your html doc root is /var/www (where you are adding in the /html to get to your srcd directory). This may be your issue…

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                1 Reply Last reply Reply Quote 0
                • C
                  cnaud86
                  last edited by

                  There is symbolic link into the fog folder fog -> /var/www/fog/

                  I try to move the srcd folder either into the fog folder or the html folder, giving permissions to www-data:www-data

                  I reboot each time

                  I still get the initial error message.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @cnaud86
                    last edited by

                    @cnaud86 What are the actual “permissions”, not ownership?

                    www-data:www-data just makes the files owned by the www-data user, but if the files are not readable the server won’t be able to access them.

                    I think Apache needs at least r+x on the files so maybe;

                    chmod -R 755 /var/www/html/srcd could help?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cnaud86 @Tom Elliott
                      last edited by

                      @Tom-Elliott
                      I put the srcd folder either in the fog directory of the html one. Permissions set 755. Also tried www-data or root as owner. Reboot the fog server each time.

                      Still the initial error message…

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @cnaud86
                        last edited by

                        @cnaud86 If the URL is still set to look at:
                        http://xxx.xxx.xx.xxx/srcd/rescue64 but the file exists in:
                        /var/www/html/fog/srcd/ Then you need to change the url to read as:
                        http://xxx.xxx.xx.xxx/fog/srcd/rescue64

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        C 1 Reply Last reply Reply Quote 1
                        • C
                          cnaud86 @Tom Elliott
                          last edited by

                          @Tom-Elliott Thank you! It finally works…

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

                          289

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project