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

Lenovo N22 PXE boot issues

Scheduled Pinned Locked Moved
Hardware Compatibility
5
51
21.2k
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.
  • B
    blue_steel
    last edited by Jun 28, 2016, 4:45 PM

    Hello,
    So I have an N22 I would like to get an image of. I have the Lenovo usb 3.0 ethernet adapter but can not get it to PXE boot into fog. I turned on legacy boot and set the boot options in BIOS, disabled OS optimized defaults but nada.

    I followed these instructions (https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media) to create a bootable usb drive and still no dice.

    Any suggestions?
    Cheers in advance.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 28, 2016, 4:47 PM

      What version of FOG are you running? Any potential Picture? DHCP Server information (nextserver/filename/etc…)?

      FOG is running what OS? Are you running a trunk version? If so, are you using has_usb_nic flag?

      We need a ton of information please.

      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

      B 1 Reply Last reply Jun 28, 2016, 5:08 PM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Jun 28, 2016, 4:50 PM

        Also does your N22 see your lenovo usb adapter in uefi mode. If you can then that is a good thing. If not, I would look for a usb 2.0 adapter and go the usb boot media route. You can get bios mode to work, the issue is the usb 3.0 devices typically require a special driver for usb 3.0 that may not be in the fog system.

        Also you need to disable secure boot if that is still on.

        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!

        B 1 Reply Last reply Jun 28, 2016, 5:51 PM Reply Quote 0
        • B
          blue_steel @Tom Elliott
          last edited by Jun 28, 2016, 5:08 PM

          @Tom-Elliott We are using 7945 on Ubuntu 14.04.4. Have tried the has_usb_nic flag.

          1 Reply Last reply Reply Quote 0
          • B
            blue_steel @george1421
            last edited by Jun 28, 2016, 5:51 PM

            @george1421 No dice on the usb 3 adapter. With the flash drive and usb 2.0 adapter I get IPXE initializing devices, then a black screen for 5 minutes, then it boots into windows.

            G 1 Reply Last reply Jun 28, 2016, 6:21 PM Reply Quote 0
            • G
              george1421 Moderator @blue_steel
              last edited by Jun 28, 2016, 6:21 PM

              @blue_steel Ok in uefi mode, you need to have a “supported” usb 3.0 device to pxe boot.

              So in uefi or bios mode the usb boot (if you are on a current trunk release of FOG I have a different solution for you) method will work as long as the network adapter is supported by iPXE. If you are using r8050 or newer then you can use this method and bypass iPXE all together. https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

              BTW: The wiki page you referenced was a product of these tutorials.
              https://forums.fogproject.org/topic/6400/usb-boot-uefi-client-into-fog-menu-harder-way
              https://forums.fogproject.org/topic/6350/usb-boot-uefi-client-into-fog-menu-easy-way

              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!

              B 1 Reply Last reply Jun 29, 2016, 11:55 AM Reply Quote 0
              • B
                blue_steel @george1421
                last edited by Jun 29, 2016, 11:55 AM

                @george1421 Thanks, the adapter is a Lenovo USB 3.0 Ethernet 4X90E51405, which should be supported. I am thinking we might need to update our version of fog… which atm I don’t have permission to do from our network admin yet.

                Of note though is the usb drive seems to recognize and try to boot once, after that it seems to fail much faster.

                G 1 Reply Last reply Jun 29, 2016, 1:41 PM Reply Quote 0
                • G
                  george1421 Moderator @blue_steel
                  last edited by Jun 29, 2016, 1:41 PM

                  @blue_steel OK, as a test and path forward here I want you to go ahead and follow these instructions.

                  https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

                  Understand you will not get full function until FOG has been updated past r8050 (I have a hack for that if you can install 2 files on your fog server) Once you build this usb boot device, I want you to select the bottom option (6 I think). This is the debug console. Press enter a few times. You should end up at a linux command prompt. Confirm that you can pick up an IP address if it does then we can talk about the next steps. But this WILL confirm that the FOS engine supports that network adapter. Plus you will have 2/3 of what you need to boot without iPXE.

                  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!

                  B 1 Reply Last reply Jun 30, 2016, 3:02 PM Reply Quote 1
                  • B
                    blue_steel @george1421
                    last edited by Jun 30, 2016, 3:02 PM

                    @george1421 I will try it tomorrow. Have to make my case for updating it to my supervisor.

                    G 1 Reply Last reply Jun 30, 2016, 3:05 PM Reply Quote 0
                    • G
                      george1421 Moderator @blue_steel
                      last edited by Jun 30, 2016, 3:05 PM

                      @blue_steel Just be aware that this part does not involve the fog server. We need to understand if even upgrading the FOG server will help with your issue. Those instructions are for building a boot usb. If your target system doesn’t work with the boot usb, there is no reason to upgrade.

                      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!

                      B 1 Reply Last reply Jun 30, 2016, 4:11 PM Reply Quote 1
                      • B
                        blue_steel @george1421
                        last edited by Jun 30, 2016, 4:11 PM

                        @george1421 Ahh ok, I didn’t see part 2. I will get on that and let you know. Much appreciated. One question on step 7 for windows and moving the file. Not 100% sure on using putty to copy it.

                        G W 2 Replies Last reply Jun 30, 2016, 4:38 PM Reply Quote 0
                        • G
                          george1421 Moderator @blue_steel
                          last edited by george1421 Jun 30, 2016, 10:39 AM Jun 30, 2016, 4:38 PM

                          @blue_steel That is using the linux system to create the usb boot drive from the .img file. If you want to use windows then you can use RUFUS to write the image file to the usb stick. As for moving the file from linux to windows you can use pscp (similar to scp for linux) from the putty stack.

                          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!

                          B 1 Reply Last reply Jul 5, 2016, 6:49 PM Reply Quote 0
                          • B
                            blue_steel @george1421
                            last edited by blue_steel Jul 5, 2016, 1:17 PM Jul 5, 2016, 6:49 PM

                            @george1421 Ok, so I got as far as the .img file. Once I use RUFUS to make a dd bootable neither windows or linux recognize it. I most likely messed up somewhere earlier as I am a linux noob. For giggles, could I just copy the file in linux to a usb and go from there on my next go (since my linux and windows PCs will be the same machine)? Many apologies in advance.

                            B 1 Reply Last reply Jul 6, 2016, 12:59 PM Reply Quote 0
                            • W
                              Wayne Workman @blue_steel
                              last edited by Jul 6, 2016, 12:11 AM

                              @blue_steel in putty, to copy you select text and just right click. To paste something from the clipboard, just right click.

                              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/

                              1 Reply Last reply Reply Quote 1
                              • B
                                blue_steel @blue_steel
                                last edited by Jul 6, 2016, 12:59 PM

                                Ok, so maybe my issue is here…

                                mkfs.fat 3.0.28 (2015-05-16)
                                /dev/mapper/loop0p1: No such file or directory
                                Mount the filesystem via loopback
                                mount: special device /dev/mapper/loop0p1 does not exist
                                Install GRUB
                                grub-install: error: /usr/lib/grub/i386-efi/modinfo.sh doesn’t exist. Please specify --target or --directory.
                                grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn’t exist. Please specify --target or --directory.
                                Installing for i386-pc platform.
                                grub-install: error: failed to get canonical path of `/cow’.

                                I am a linux noob running off of a live usb, so putty isn’t really possible. But I think my main issue might be in the above.

                                G 1 Reply Last reply Jul 6, 2016, 1:50 PM Reply Quote 0
                                • G
                                  george1421 Moderator @blue_steel
                                  last edited by Jul 6, 2016, 1:50 PM

                                  @blue_steel Let me make this img for you. I found out during testing that I have the best luck with ubuntu but there are adjustments needed to the script. I’ll create a current img file and upload it to dropbox so you can get it. That would address your issues.

                                  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!

                                  B 1 Reply Last reply Jul 6, 2016, 1:52 PM Reply Quote 0
                                  • B
                                    blue_steel @george1421
                                    last edited by Jul 6, 2016, 1:52 PM

                                    @george1421 You are truly a wizard!

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      blue_steel
                                      last edited by blue_steel Jul 6, 2016, 11:50 AM Jul 6, 2016, 5:49 PM

                                      @george1421 Some success!!!
                                      Screenshot

                                      G 1 Reply Last reply Jul 6, 2016, 6:50 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @blue_steel
                                        last edited by Jul 6, 2016, 6:50 PM

                                        @blue_steel Excellent.

                                        1. Make sure you have the network cable installed
                                        2. Now select option 6.
                                        3. When you see press enter to continue you will have to hit enter a few times.
                                        4. That should drop you to a command prompt. (This is the FOS engine command shell)
                                        5. Now key in ip addr show that should report the ip address of that target computer.

                                        Hopefully the FOS engine sees your network adapter. If you can get this far then we can talk about part 2 if you don’t want to update 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!

                                        B 2 Replies Last reply Jul 6, 2016, 7:07 PM Reply Quote 0
                                        • B
                                          blue_steel @george1421
                                          last edited by Jul 6, 2016, 7:07 PM

                                          @george1421 Wamp Wamp. Hit a snag.
                                          error

                                          G 1 Reply Last reply Jul 6, 2016, 7:11 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            4/51
                                            Last post

                                          194

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project