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

    Unable to boot properly after Radix SmartRecovery installed

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    13
    751
    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.
    • W
      WillingMost7
      last edited by

      There’s a file named “bootmenu.class.php” in /var/www/fog/lib/fog, in it there’s the following code:

      self::$_exitTypes = array(
          'sanboot' => $sanboot,
          'grub' => $grub['basic'],
          'grub_first_hdd' => $grub['basic'],
          'grub_first_cdrom' => $grub['1cd'],
          'grub_first_found_windows' => $grub['1fw'],
          'refind_efi' => $refind,
          'exit' => 'exit',
      );
      

      Now as I said before when selecting grub_first_hdd it does recovery phase but does not load windows afterwards and when selecting grub_first_found_windows it skips recovery phase but windows loads.

      If I chage the code that way (change is in the $grub['XXX']:

          'grub_first_hdd' => $grub['1fw'],
          'grub_first_cdrom' => $grub['1cd'],
          'grub_first_found_windows' => $grub['basic'],
      

      The exact same thing is happening but the opposite, meaning now grub_first_found_windows it does recovery phase but does not load windows afterwards and when selecting grub_first_hdd it skips recovery phase but windows loads.

      1 Reply Last reply Reply Quote 0
      • W
        WillingMost7
        last edited by

        I read on other thread that the fix was done by changing the boot file to ipxe.kpxe.

        I followed a guide on GitHub to change the boot file (under Configuring DHCP section), but it does not seem to work. I will try all the boot files there.

        Thanks again for all your help, just sharing my progress 🙂

        W george1421G 2 Replies Last reply Reply Quote 0
        • W
          WillingMost7 @WillingMost7
          last edited by

          @willingmost7 said in Unable to boot properly after Radix SmartRecovery installed:

          I followed a guide on GitHub to change the boot file (under Configuring DHCP section), but it does not seem to work. I will try all the boot files there.

          I had to use sudo ln -sf to force the symbolic connetion.

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

            @willingmost7 For the dnsmasq configuration: I’m not going to knock others tutorial on github, but that dnsmasq configuration is a bit lacking (such as booting using uefi firmware). Look over the config file in this tutorial: https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server This config works for both bios and uefi if you are using dnsmasq.

            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!

            W 1 Reply Last reply Reply Quote 0
            • W
              WillingMost7 @george1421
              last edited by WillingMost7

              @george1421 I have managed to change the boot file but also followed your guide you posted, anyhow it didn’t make any change cause it is still not chaining to windows after the restore phase.

              I have found another Reboot to Restore software named DeepFreeze and it manages to do the job well unlike Reboot to Restore Rx and Radix, wonder what is different.

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

                @willingmost7 Understand this issue is outside of the scope of FOG and imaging.

                Now how most of these things work is that they are installed after windows is installed. These restore programs take over the booting process before windows loads. So they inject their startup code between the firmware (bios or uefi) and windows. In your case if you are using grub, grub4dos (its executable name) only supports bios based computers. The ‘grub_first_hdd’ setting basically chains from grub executable to device 0x80 (first hard drive in the system) and loads the boot blocks from there. The boot blocks is where these restore programs gets called. The setting 'grub_first_found_windows’ actually looks at each hard drive 0x80 - 0x84 for a windows directory and then boots windows without loading the boot blocks. I don’t know why chaining to the boot blocks of the disk doesn’t call your restore program, then your restore program calls windows. This problem has nothing to do with pxe booting or whatever, it exists solely with grub4dos and chaining into your recover program. If you were using sanboot then that is an iPXE function (the program that builds the FOG iPXE menu).

                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!

                W 1 Reply Last reply Reply Quote 0
                • W
                  WillingMost7 @george1421
                  last edited by

                  @george1421 said in Unable to boot properly after Radix SmartRecovery installed:

                  I’m not going to knock others tutorial on github

                  This is also shown in FOG’s wiki.

                  @george1421 said in Unable to boot properly after Radix SmartRecovery installed:

                  If you were using sanboot then that is an iPXE function (the program that builds the FOG iPXE menu).

                  Unfortunately sanboot isn’t working at all, even without the software. The weird thing is that Radix works with windows 7.

                  @george1421 said in Unable to boot properly after Radix SmartRecovery installed:

                  0x80 (first hard drive in the system)

                  Maybe cause these PCs have M.2?

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

                    @willingmost7 said in Unable to boot properly after Radix SmartRecovery installed:

                    The weird thing is that Radix works with windows 7

                    So is it certified for the version of windows 10 you are using? Well it works when fog is not in the picture.

                    While this isn’t an answer: In my organization we don’t have/allow to pxe boot through the iPXE menu, but instead I make the imaging tech sit in front of the computer and boot the computer with the F12 boot menu (dell) to pick the network boot menu. This does a few things for us:

                    1. Under normal booting the fog server is not involved with the computer starting up.
                    2. You don’t accidentally reimage the CEO’s computer when an imaging tech picks the wrong computer to rebuild and auto imaging is enabled.
                    3. The technician knows exactly what computer he/she is working on (because they sit in front of it to hit the F12->Network boot menu).

                    The down side to this is if you want to image a classroom full of computers you need to go to each computer and pick network booting. You can’t just issue the remiage command to a group of computers and the computers just do it.

                    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!

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      WillingMost7 @george1421
                      last edited by

                      @george1421 said in Unable to boot properly after Radix SmartRecovery installed:

                      So is it certified for the version of windows 10 you are using?

                      Yes indeed.

                      @george1421 said in Unable to boot properly after Radix SmartRecovery installed:

                      Well it works when fog is not in the picture

                      Thus I thought that FOG is the problem here. Everything I tried here had a different effect but none actually help me understand how to solve this.
                      Also someone managed to solve this by changing the boot file, I discovered that the exit-type of the boot types causes the effect, so it seems to me only logical that it has to be the FOG server.

                      Thanks a lot for all your time and effort.

                      1 Reply Last reply Reply Quote 0
                      • W
                        WillingMost7
                        last edited by WillingMost7

                        Here is the fix:
                        Try every boot file until you find the right one for you.

                        This is what I did as I ran out of options and it turned out to be good. Follow this tutorial: https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server under DNSMASQ settings for iPXE

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

                        264

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project