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

LF USB Fog solution for LEGACY network clients

Scheduled Pinned Locked Moved
General Problems
4
16
2.1k
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.
  • S
    sudburr
    last edited by Oct 19, 2018, 6:44 PM

    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 ]

    W T 2 Replies Last reply Oct 20, 2018, 3:44 AM Reply Quote 0
    • W
      Wayne Workman @sudburr
      last edited by Oct 20, 2018, 3:44 AM

      @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/

      S 1 Reply Last reply Oct 21, 2018, 7:34 PM Reply Quote 0
      • S
        sudburr @Wayne Workman
        last edited by Oct 21, 2018, 7:34 PM

        @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 ]

        G 1 Reply Last reply Oct 21, 2018, 10:20 PM Reply Quote 0
        • T
          Tom Elliott @sudburr
          last edited by Oct 21, 2018, 10:15 PM

          @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
          • T
            Tom Elliott
            last edited by Oct 21, 2018, 10:16 PM

            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

            S 1 Reply Last reply Oct 22, 2018, 6:40 PM Reply Quote 0
            • G
              george1421 Moderator @sudburr
              last edited by Oct 21, 2018, 10:20 PM

              @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!

              S 1 Reply Last reply Oct 22, 2018, 6:29 PM Reply Quote 1
              • W
                Wayne Workman
                last edited by Wayne Workman Oct 22, 2018, 9:38 AM Oct 22, 2018, 3:37 PM

                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/

                S 1 Reply Last reply Oct 22, 2018, 6:31 PM Reply Quote 0
                • S
                  sudburr @george1421
                  last edited by sudburr Oct 22, 2018, 12:50 PM Oct 22, 2018, 6:29 PM

                  @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 ]

                  G 1 Reply Last reply Oct 22, 2018, 6:49 PM Reply Quote 0
                  • S
                    sudburr @Wayne Workman
                    last edited by sudburr Oct 22, 2018, 12:44 PM Oct 22, 2018, 6:31 PM

                    @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
                    • S
                      sudburr @Tom Elliott
                      last edited by Oct 22, 2018, 6:40 PM

                      @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 ]

                      T 1 Reply Last reply Oct 22, 2018, 8:33 PM Reply Quote 1
                      • G
                        george1421 Moderator @sudburr
                        last edited by george1421 Oct 22, 2018, 12:51 PM Oct 22, 2018, 6:49 PM

                        @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!

                        S 1 Reply Last reply Oct 22, 2018, 6:59 PM Reply Quote 0
                        • S
                          sudburr
                          last edited by sudburr Oct 22, 2018, 12:53 PM Oct 22, 2018, 6:52 PM

                          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 ]

                          G 1 Reply Last reply Oct 22, 2018, 7:03 PM Reply Quote 0
                          • S
                            sudburr @george1421
                            last edited by Oct 22, 2018, 6:59 PM

                            @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
                            • G
                              george1421 Moderator @sudburr
                              last edited by george1421 Oct 22, 2018, 1:04 PM Oct 22, 2018, 7:03 PM

                              @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!

                              S 1 Reply Last reply Oct 22, 2018, 7:39 PM Reply Quote 2
                              • S
                                sudburr @george1421
                                last edited by Oct 22, 2018, 7:39 PM

                                @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
                                • T
                                  Tom Elliott @sudburr
                                  last edited by Oct 22, 2018, 8:33 PM

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

                                  240

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project