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

    Not deploying after reboot

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    27
    10.0k
    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

      Hello - I am encountering a problem with my Ubuntu 12.04.4 FOG server running version 1.1.0. I have an image for a Dell 7010 and am attempting to send the image to another 7010 on the same small 8-port switch (it is not connected to the Internet). I am able to PXE boot and to get to the server menu, and host registry works perfectly fine. However, when the computer to be imaged is rebooted by the registration process, it boots straight to Windows 7 (the currently installed OS). Even when I manually activate PXE booting, I am only able to get to the FOG menu again and no image gets deployed.

      I am not sure that this is a related problem, but I cannot access the debug mode or the quick image option either. I have only one password set for all options on the FOG server for simplicity’s sake, but the password I have used does not work for either of these options.

      Thanks all for your help.

      1 Reply Last reply Reply Quote 0
      • R
        Ron L
        last edited by

        Still not sure what’s happening here, can someone please give me a hand?

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by

          Check your version of BIOS and confirm you have the most up-to-date version downloaded from the Dell support page. Then confirm your settings for PXE boot and turn off the LAST STATE settings.

          1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy
            last edited by

            Hi,

            is it possible that you forgot to make a task after the host registration? are you used to work with fog?
            After the host has been registered you need to create a task to deploy.
            Or do you try to Quick Image direct over the PXE Menu?

            Regards X23

            ║▌║█║▌│║▌║▌█

            1 Reply Last reply Reply Quote 0
            • R
              Ron L
              last edited by

              Wolfbane - what do you mean by ‘last state’ settings? And it is running an older version of the bios(specifically A17 when the newest release is A18), but as there is no OS on the computer in question I am attempting to image I can’t flash it to the newest version.

              x23 - this problem persists no matter when I make the task. If I make a multi/singlecast task to send the computer the one image, it doesn’t image on boot - it only goes to the FOG main screen when I request it which then gives me the normal options - boot to HD, quick/full register, so on. And yes, I am new to using FOG and Ubuntu in general, though I’ve worked with windows based machines for a few years. I am attempting to use Fog as WDS is not an option for us at the time.

              1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy
                last edited by

                Hi,

                when reading this i remember something i read on the net about changing mac on dell machines,
                i don’t remember much but the guy wrote that he needed to remove bios battery to get his initial mac back.

                Sound confusing but i am sure that i read this some days ago somewhere.

                EDIT:

                Lol it was on this forum 😄
                [url]http://fogproject.org/forum/threads/fog-windows-8-1-and-mac-address-changing.11184/[/url]

                [QUOTE]To reset the MAC address on the computers I have to pull the CMOS battery and reconfigure the BIOS settings and then immediately image with a clean version and not allow the host name changer to run. After pulling the BIOS battery, if I don’t immediately re-image and they boot to Windows, the MAC address changes again.[/QUOTE]

                I really don’t know if this has anything to do with your problem but it sounds a little related.

                Regards X23

                ║▌║█║▌│║▌║▌█

                1 Reply Last reply Reply Quote 0
                • R
                  Ron L
                  last edited by

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

                  when reading this i remember something i read on the net about changing mac on dell machines,
                  i don’t remember much but the guy wrote that he needed to remove bios battery to get his initial mac back.

                  Sound confusing but i am sure that i read this some days ago somewhere.

                  EDIT:

                  Lol it was on this forum 😄
                  [url]http://fogproject.org/forum/threads/fog-windows-8-1-and-mac-address-changing.11184/[/url]

                  I really don’t know if this has anything to do with your problem but it sounds a little related.

                  Regards X23[/quote]

                  I checked that out. The MAC address seems to stay the same after I pulled the BIOS battery. Thanks for the idea, though. Still unable to get the reboot to start the image automatically - just boots straight to windows.

                  1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy
                    last edited by

                    Hi,

                    maybe the task creation does not work or fire right?
                    I don’t know how but you need to check if the task creation is ok.

                    With pxelinux it was possible to save a file named with the mac of the machine in pxelinux’s boot folder, that was triggered if the matching mac tried to boot, then you know your task should work but i think this changed with current fog version.

                    I think today it boots to ipxe and after boot, tasks will be checked by http with php script that will fire actions to the client maybe iam wrong here but then i don’t know what is needed to check the task creation is doing all fine.

                    Regards X23

                    ║▌║█║▌│║▌║▌█

                    1 Reply Last reply Reply Quote 0
                    • R
                      Ron L
                      last edited by

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

                      maybe the task creation does not work or fire right?
                      I don’t know how but you need to check if the task creation is ok.

                      With pxelinux it was possible to save a file named with the mac of the machine in pxelinux’s boot folder, that was triggered if the matching mac tried to boot, then you know your task should work but i think this changed with current fog version.

                      I think today it boots to ipxe and after boot, tasks will be checked by http with php script that will fire actions to the client maybe iam wrong here but then i don’t know what is needed to check the task creation is doing all fine.

                      Regards X23[/quote]

                      The task shows up in Task Management. Pressing the Force button also has no effect. Even when I make the task myself, nothing happens, only boots to the menu if I prompt it.

                      1 Reply Last reply Reply Quote 0
                      • x23piracyX
                        x23piracy
                        last edited by

                        Hi,

                        i think debugging this step by step will bring the bug out of his hole but i don’t know enough about the internals how fog actually acts.
                        Lets wait for someone more skilled 😉

                        Regards X23

                        ║▌║█║▌│║▌║▌█

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ron L
                          last edited by

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

                          i think debugging this step by step will bring the bug out of his hole but i don’t know enough about the internals how fog actually acts.
                          Lets wait for someone more skilled 😉

                          Regards X23[/quote]

                          You stumbled upon my devious plan all on your own! Thank you for your suggestions, though. 🙂 I appreciate your time. Anyone else wanna take a stab at this? I’m about ready to hire a fortune teller to divine why it’s failing.

                          1 Reply Last reply Reply Quote 0
                          • x23piracyX
                            x23piracy
                            last edited by

                            Hi,

                            in the end do not forget what Wolfbane8653 told you to do…

                            [quote=“Wolfbane8653, post: 33629, member: 3362”]Check your version of BIOS and confirm you have the most up-to-date version downloaded from the Dell support page. Then confirm your settings for PXE boot and turn off the LAST STATE settings.[/quote]

                            [url]http://www.tomshardware.co.uk/forum/106815-30-what-power-last-state-bios[/url]

                            Regards X23

                            ║▌║█║▌│║▌║▌█

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wolfbane8653 Developer
                              last edited by

                              [quote=“Ron L, post: 33633, member: 24685”]Still unable to get the reboot to start the image automatically - just boots straight to windows.[/quote]

                              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?

                              1 Reply Last reply Reply Quote 0
                              • x23piracyX
                                x23piracy
                                last edited by

                                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

                                ║▌║█║▌│║▌║▌█

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Ron L
                                  last edited by

                                  [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

                                    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
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      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
                                      • JunkhackerJ
                                        Junkhacker Developer
                                        last edited by

                                        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

                                          [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
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

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

                                            153

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project