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

No PXE boot menu on client with FOG 1.2.0 9standlone/iso;ation mode)

Scheduled Pinned Locked Moved Solved
FOG Problems
trying to setup og as imaging s lution in stand alone mode
4
18
7.6k
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.
  • N
    nutcr0cker
    last edited by Dec 4, 2015, 11:37 PM

    I am trying to set up fog in isolation mode
    fog 1.2.0
    lubuntu 14.04
    The client is able to see the fog DHCP server but after the message
    http://192.168.1.1/fog/service/ipxe/boot.php...ok
    http://192.168.1.1/fog/service/ipxe/bg.png...ok
    it starts to the windows boot menu. What am i doing wrong
    my config steps
    Install fog
    set sql password
    ensure that the config file has proper pass for the tftp server
    but still no boot menu on the client. Please help
    TIA

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Dec 4, 2015, 7:24 PM Dec 5, 2015, 1:08 AM

      This will sound a bit strange. But from a browser, try to access this page.

      http://<fog_server_ip>/fog/service/ipxe/boot.php

      That should cause FOG to create the ipxe boot menu. You should see something like that starts like this:

      #!ipxe
      set fog-ip 192.168.1.88
      et fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      #!ipxe
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 && colour --rgb 0x00567a 2 && colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 && cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://192.168.1.88/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.quickimage Quick Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      
      N 2 Replies Last reply Dec 5, 2015, 5:28 AM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Dec 5, 2015, 1:09 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • N
          nutcr0cker @george1421
          last edited by Dec 5, 2015, 5:28 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Dec 5, 2015, 5:56 AM

            Edit the /var/www/fog/lib/fog/BootMenu.class.php and comment the line that states console. I think you are suffering from this as it fails immediately after getting the bg.png file.

            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

            N 2 Replies Last reply Dec 5, 2015, 6:43 AM Reply Quote 0
            • N
              nutcr0cker
              last edited by Dec 5, 2015, 6:29 AM

              My url browser output looks ;like this

              #!ipxe
              cpuid --ext 29 && set arch x86_64 || set arch i386
              colour --rgb 0xff6600 2
              cpair --foreground 7 --background 2 2
              console --picture http://192.168.1.1/fog/service/ipxe/bg.png --left 100 --right 80
              :MENU
              menu
              colour --rgb 0xff0000 0
              cpair --foreground 0 3
              item --gap Host is NOT registered!
              item --gap -- -------------------------------------
              item fog.local Boot from hard disk
              item fog.memtest Run Memtest86+
              item fog.reginput Perform Full Host Registration and Inventory
              item fog.reg Quick Registration and Inventory
              item fog.sysinfo Client System Information (Compatibility)
              choose --default fog.local --timeout 3000 target && goto ${target}
              :fog.local
              exit || goto MENU
              :fog.memtest
              kernel memdisk iso raw
              initrd memtest.bin
              boot || goto MENU
              :fog.reginput
              kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=127.0.1.1 keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 mode=manreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.reg
              kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=127.0.1.1 keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 mode=autoreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.sysinfo
              kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=127.0.1.1 keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 mode=sysinfo
              imgfetch init_32.xz
              boot || goto MENU
              autoboot
              
              1 Reply Last reply Reply Quote 0
              • N
                nutcr0cker @Tom Elliott
                last edited by Dec 5, 2015, 6:43 AM

                @Tom-Elliott Thanks for the tip I commented that out Ill have to try tommorrow

                1 Reply Last reply Reply Quote 0
                • N
                  nutcr0cker @george1421
                  last edited by Dec 5, 2015, 6:47 AM

                  @george1421 Thanks

                  1 Reply Last reply Reply Quote 0
                  • N
                    nutcr0cker
                    last edited by Dec 6, 2015, 6:36 AM

                    After commenting out the 684th line as stated above I get the GUI but then it gets stuck on host registration. Any ideas how to fix that?

                    W 1 Reply Last reply Dec 6, 2015, 6:57 AM Reply Quote 0
                    • W
                      Wayne Workman @nutcr0cker
                      last edited by Dec 6, 2015, 6:57 AM

                      @nutcr0cker What part of host registration? Can you give us a photo of where it hangs?

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      N 1 Reply Last reply Dec 6, 2015, 7:29 AM Reply Quote 0
                      • N
                        nutcr0cker @Wayne Workman
                        last edited by nutcr0cker Dec 6, 2015, 1:30 AM Dec 6, 2015, 7:29 AM

                        @Wayne-Workman Thanks for replying…It hangs at
                        Registering host… the dots just keep printing

                        1 Reply Last reply Reply Quote 0
                        • N
                          nutcr0cker
                          last edited by Dec 6, 2015, 4:51 PM

                          using disk device…/dev/sda

                          • Starting host registration…

                          It just sits there doing nothing
                          This is what I am getting on the client side. Any way to get it to start the host registration? I did verify that the host registration is enabled on the server side under fog settings Thanks for your time and helping me out

                          1 Reply Last reply Reply Quote 0
                          • G
                            george1421 Moderator
                            last edited by george1421 Dec 6, 2015, 11:22 AM Dec 6, 2015, 5:19 PM

                            Lets think about this for a minute.

                            We have an issue with the console, now we have an issue with host registration. Both of these actions require the target device to do something.

                            I noted the boot.php output and its calling for the 32 bit kernels and inits. That in it self is not strange, but it makes me wonder what is the make and model of computer we are trying to register. I also noted that the DNS reference points to itself (very strange telling a target computer to use itself as a DNS lookup target dns=127.0.0.1). I’m not saying there isn’t something wrong with FOG here, but we ARE talking about 1.2.0 stable and not a trunk release (pre 1.3.0). I would expect 1.2.0 to react in a predictable manner.

                            T 1 Reply Last reply Dec 6, 2015, 5:44 PM Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Dec 6, 2015, 5:43 PM

                              I’m assuming, now that you get to the “processing /dev/sda” part that your system is setup for upload?

                              If that’s the case try following these instructions:

                              https://forums.fogproject.org/topic/3402/stuck-on-dev-sda

                              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

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott @george1421
                                last edited by Dec 6, 2015, 5:44 PM

                                @george1421 It always assumes 32 bit in the browser unless you pass, as part of the url, arch=x86_64

                                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

                                G 1 Reply Last reply Dec 6, 2015, 6:32 PM Reply Quote 0
                                • G
                                  george1421 Moderator @Tom Elliott
                                  last edited by Dec 6, 2015, 6:32 PM

                                  @Tom-Elliott said:

                                  @george1421 It always assumes 32 bit in the browser unless you pass, as part of the url, arch=x86_64

                                  My mistake then, I assumed that it was the other way around. I was trying to draw a connection to this abnormal behavior and the limited insight I had into the OPs environment.

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    nutcr0cker @Tom Elliott
                                    last edited by nutcr0cker Dec 6, 2015, 4:45 PM Dec 6, 2015, 10:42 PM

                                    @Tom-Elliott Thanks commenting the line 632 that worked like a charm for atleast showing the GUI on the client side

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Dec 7, 2015, 12:49 PM

                                      Seeing as the problem of getting the boot menu was the problem of this posting, I’m solving this thread.

                                      Please create a separate issue in regards to the registration problem. You can link back to this thread too so you don’t have to rewrite all the details. Just give the new posting a title that says (Using /dev/sda) Host Registration Hung or something like that.

                                      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

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

                                      201

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project