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

    LF USB Fog solution for LEGACY network clients

    General Problems
    4
    16
    705
    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.
    • sudburr
      sudburr last edited by

      I have LEGACY systems that boot LEGACY only (non-UEFI) that are on a network that can only handle a single bootstrap which is set for UEFI clients.

      I want to USB boot these LEGACY systems to be able to FOG over that network AS IS.

      A LEGACY USB solution is the only solution being considered.

      [ Standing in between extinction in the cold and explosive radiating growth ]

      Wayne Workman Tom Elliott 2 Replies Last reply Reply Quote 0
      • Tom Elliott
        Tom Elliott @sudburr last edited by

        @sudburr that’s where i was confused. I was thinking it would boot uefi no problem, but for whatever reason you needed it to legacy boot for imaging.

        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
        • sudburr
          sudburr @george1421 last edited by

          @george1421 Bingo bango bongo! We have liftoff.

          Thank you George. Wonderful work.

          [ Standing in between extinction in the cold and explosive radiating growth ]

          1 Reply Last reply Reply Quote 1
          • george1421
            george1421 Moderator @sudburr last edited by george1421

            @sudburr Ah, just for clarity your fog server is 1.4.4? If so you need to fix a few things since the instructions build a 1.5.4 compatible FOS environment.

            The solution is pretty easy, just copy from /var/ww/html/fog/service/ipxe the following files to the /boot directory (I think, check to see where they are on the flash drive) replacing…

            bzImage32
            bzImage
            init.xz (probably the root of your error)
            init_32.xz

            The inits where changed between 1.4.4 and 1.5.1 which is probably causing your error. The FOG USB was developed using FOG 1.4.4 so it should work.

            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!

            sudburr 1 Reply Last reply Reply Quote 2
            • sudburr
              sudburr @george1421 last edited by

              @george1421 Manually populating the host, assigning an image, then creating the task to deploy, deployment via FOS-USB still fails with same results.

              [ Standing in between extinction in the cold and explosive radiating growth ]

              1 Reply Last reply Reply Quote 0
              • sudburr
                sudburr last edited by sudburr

                Yes, grub.cfg is configured. The server is using http not https.

                If I attempt a full registration, when I’m asked to choose an image, it lists the images on the server correctly, but it will never actually register on the server. (1.4.4) so it doesn’t image.
                

                [ Standing in between extinction in the cold and explosive radiating growth ]

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

                  @sudburr Did you remember to update the grub.cfg file?

                  The hinfo.txt file is created by a call to the fog server during FOS boot up. Are you enforcing https on your server or will http calls work?

                  Fatal Error: Unknown request type :: Null
                  This is covered in the caveats section. You need to schedule the job first on the fog server then usb boot the target computer and pick option #1. Understand the usb boot option gives up on some tight integration with FOG to bypass pxe booting altogether. There ARE trade-offs.

                  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!

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

                    @Tom-Elliott Legacy machine cannot boot UEFI, ergo cannot boot UEFI no matter the source.

                    [ Standing in between extinction in the cold and explosive radiating growth ]

                    Tom Elliott 1 Reply Last reply Reply Quote 1
                    • sudburr
                      sudburr @Wayne Workman last edited by sudburr

                      @Wayne-Workman Nope. Pretty cut and dried.

                      Certainly with the right tools anything can be done with anything, but this isn’t anything. It’s A connecting to B using only A… no C, no D, no E and certainly no F. That’s just the way things are in this particular design equation. Adapt or die.

                      [ Standing in between extinction in the cold and explosive radiating growth ]

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

                        @george1421 Thank you George this is what I was looking for … I created the FOS-USB.

                        It boots, gets an ip, sees the server, but I cannot register/image.

                        If I attempt a full registration, when I’m asked to choose an image, it lists the images on the server correctly, but it will never actually register on the server. (1.4.4) so it doesn’t image.

                        Registration says it succeeds but buried in the wall o’text is that it cannot find a valid MAC; even though it IS communicating. Checking the server and there is no host entry for this newly `registered’ machine.

                        I am able to register a machine that can UEFI network boot directly from the FOG server.

                        The UEFI machine suffers the same problems when using FOS-USB.

                        Choosing to deploy/image, I don’t receive an option to choose an imagem then I eventually get:

                        /tmp/hinfo.txt: line 1: invalid: command not found
                        * running post init scripts ...Skipped
                        An error has been detected!
                        Fatal Error: Unknown request type :: Null
                        Kernel variables and settings:
                        BOOT_IMAGE=/boot/bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.12.40.14/fog/ boottype=usb consoleblank=0 rootfstype=ext4
                        

                        The “command not found” pointing at /tmp/hinfo.txt shows up a lot in the registration outputs.

                        [ Standing in between extinction in the cold and explosive radiating growth ]

                        george1421 1 Reply Last reply Reply Quote 0
                        • Wayne Workman
                          Wayne Workman last edited by Wayne Workman

                          This sounds like the xy problem to me. Why can’t the network be modified?

                          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/

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

                            @sudburr said in LF USB Fog solution for LEGACY network clients:

                            if they want to use FOG is to create a USB solution.

                            There already is a working USB boot solution: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

                            It does boot bios as well as uefi.

                            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!

                            sudburr 1 Reply Last reply Reply Quote 1
                            • Tom Elliott
                              Tom Elliott last edited by

                              And I say this because if they’re booting uefi windows, why not just pxe boot over uefi as well. Either way, yes I suppose it’s possible, I just don’t fully understand the requirements.

                              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

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

                                @sudburr while I understand what you’re looking too do, I’m just asking a question about potentially using dhcp server to determine how the machine is booting, and passing the correct pxe boot environment based on that. I’m not sure if this was considered so forgive my blindness here.

                                What I mean, if these machines are booting and already have network access, as the bios is setup for legacy booting you can use special cases in dhcp to handle both uefi and legacy style booting.

                                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 1
                                • sudburr
                                  sudburr @Wayne Workman last edited by

                                  @Wayne-Workman Changing the network configuration is not an option. The only option being considered for these legacy machines, if they want to use FOG is to create a USB solution.

                                  [ Standing in between extinction in the cold and explosive radiating growth ]

                                  george1421 1 Reply Last reply Reply Quote 0
                                  • Wayne Workman
                                    Wayne Workman @sudburr last edited by

                                    @sudburr what do you mean by “on a network that can only handle a single bootstrap” ? Windows and Linux DHCP can hand out different options based on the arch type of the requesting system, this is outlined in this wiki article: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

                                    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/

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

                                    183
                                    Online

                                    10.4k
                                    Users

                                    16.4k
                                    Topics

                                    150.5k
                                    Posts

                                    Copyright © 2012-2023 FOG Project