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

Not deploying after reboot

Scheduled Pinned Locked Moved
FOG Problems
6
27
10.9k
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.
  • R
    Ron L
    last edited by Jul 21, 2014, 7:04 PM

    [quote=“Wolfbane8653, post: 33644, member: 3362”]Take me step-by-step here. You boot the machine then what does it go to? Directly to windows? Nothing about getting DHCP or iPXE Configuring?[/quote]

    [quote=“x23piracy, post: 33645, member: 3982”]Hi,

    he registers a host, then in the meantime he creates a task with an image assigned, else he couldn’t plan a task.
    Then when the machine will be network booted, it enters only the pxe menu instead of starting imaging immediatelly.

    Regards[/quote]

    Well, I create the machine using the full registration tool, then watch my Ubuntu server, where it creates a task for itself. Then I reboot, and it boots to Windows without any pause for PXE recognition or anything. Manually booting via the NIC or setting the NIC as the first bootable device only gets me back to the FOG boot menu. If I attempt to do the full registration again, I get an error saying that the device is registered (which it is, as I can see it on the server) and the computer reboots, only to start the cycle again.

    EDIT I should add that if I add the machine and then manually create a task for it, it still does not image.

    1 Reply Last reply Reply Quote 0
    • W
      Wolfbane8653 Developer
      last edited by Jul 21, 2014, 7:09 PM

      try a:
      [CODE]#mysql -u root

      mysal> select * from hosts where hostid=0;
      [/CODE]

      Please post the results.

      1 Reply Last reply Reply Quote 0
      • J
        Jaymes Driver Developer
        last edited by Jul 21, 2014, 7:19 PM

        Is your BIOS by chance set to fast boot?

        And not to beat a dead horse, but is there a “boot menu” you can call by pressing F11 or F12 during boot? If selecting this while a task is active for the machine does it display the DHCP information like it is looking to pxe boot and just skip over it?

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Jul 21, 2014, 8:27 PM

          it sounds like your boot order isn’t set up correctly.
          also, try going to [url]http://<address[/url] of fog server>/fog/service/ipxe/boot.php?mac=<mac address of computer>&arch=x86_64
          and let us know what you see

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • R
            Ron L
            last edited by Jul 21, 2014, 9:48 PM

            [quote=“Junkhacker, post: 33672, member: 21583”]it sounds like your boot order isn’t set up correctly.
            also, try going to [url]http://<address[/url] of fog server>/fog/service/ipxe/boot.php?mac=<mac address of computer>&arch=x86_64
            and let us know what you see[/quote]
            This is what I see:

            #!ipxe
            kernel bzimage.64 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.1.1.15 keymap= web=10.1.57.10/fog/ consoleblank=0 loglevel=4 mac=(mac address) ftp=10.1.57.10 storage=10.1.57.10:/images/ storageip=10.1.57.10 web=10.1.57.10/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll chkdsk=0 img=Student imgType=n imgid=1 imgLegacy=1 PIGZ_COMP=-9 hostname=7010-blank type=down
            imgfetch init.xz
            boot
            [quote=“Jaymes Driver, post: 33654, member: 3582”]Is your BIOS by chance set to fast boot?

            And not to beat a dead horse, but is there a “boot menu” you can call by pressing F11 or F12 during boot? If selecting this while a task is active for the machine does it display the DHCP information like it is looking to pxe boot and just skip over it?[/quote]

            I have it currently set to boot straight to the LAN, so I don’t need to press f12 each time I need to test it. It does display the DHCP info for about a tenth of a second before launching straight to the FOG menu. That doesn’t seem to be the problem I am having.

            [quote=“Wolfbane8653, post: 33650, member: 3362”]try a:
            [CODE]#mysql -u root

            mysal> select * from hosts where hostid=0;
            [/CODE]

            Please post the results.[/quote]

            Entering this information into the terminal gives me this: ERROR 1046 (3D000): No database selected

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 21, 2014, 10:23 PM

              Try:
              [code]mysql -u root fog
              select * from hosts where hostID=‘0’;
              [/code]

              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
              • R
                Ron L
                last edited by Jul 21, 2014, 10:36 PM

                [quote=“Tom Elliott, post: 33687, member: 7271”]Try:
                [code]mysql -u root fog
                select * from hosts where hostID=‘0’;
                [/code][/quote]

                Returns: Empty set (0.00sec)

                1 Reply Last reply Reply Quote 0
                • R
                  Ron L
                  last edited by Jul 22, 2014, 3:04 PM

                  Still experiencing this problem - any new insights?

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junkhacker Developer
                    last edited by Jul 22, 2014, 6:16 PM

                    i see a reference to kernel bzimage.64 in your boot.php output, does does this file exist with this exact name, in the fog/service/ipxe directory of the web server? what have you done to update or modify the kernel being used?

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • R
                      Ron L
                      last edited by Jul 23, 2014, 4:53 PM

                      The bzimage.64 kernel is located in fog/service/ipxe, and the fog options under confirm TFTP options confirm that it’s in use. I haven’t modified it.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Jul 23, 2014, 5:01 PM

                        is the options set to bzImage.64 or bzImage?

                        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
                        • R
                          Ron L
                          last edited by Jul 23, 2014, 5:02 PM

                          It was set to bzimage.64. I just now set it to /var/www/fog/service/ipxe/bzimage.64 to see if anything would change, but there hasn’t been any change.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jul 23, 2014, 5:09 PM

                            Change the kernel back to just plain jane bzImage.64.

                            As you’re not deploying to the point where it even downloads that, my suspicion is in the boot parameters.

                            To test this is going to be difficult and I may just request a remote session if at all possible where I can connect and tweak a few file on your fog server.

                            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
                            • 2
                            • 2 / 2
                            2 / 2
                            • First post
                              24/27
                              Last post

                            160

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project