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

PXE boot launches GRUB window if a usb flash drive is installed on the computer.

Scheduled Pinned Locked Moved
FOG Problems
3
8
2.8k
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.
  • J
    JLE
    last edited by JLE Aug 22, 2016, 4:31 PM Aug 22, 2016, 10:30 PM

    Alright so here is the situation:

    1.) Two different computers (one laptop, one Dell 990) on the same network each boot into a GRUB window if a USB flashdrive is plugged in. (This window just hangs up on “launching cmain()” and never gets anywhere.)

    2.) Each computer has USB booting removed from its boot list.

    3.) When the NIC is taken off the boot list the problem does not happen - the computers will just boot to the harddisk.

    4.) When the NIC is left on the boot list, but the ethernet at the fog server is unplugged the problem does not happen.

    Removing the flashdrive solves the problem of course, but these are user computers and sometimes the flashdrives may be left in. Does anyone know of any settings on the FOG server that could be causing this behavior?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Aug 22, 2016, 6:02 PM Aug 23, 2016, 12:02 AM

      For these computers, what is your FOG exit mode?

      FOG does not use GRUB for booting at all. It uses iPXE to manage network booting. But I can understand that once the iPXE menu exits (because the default menu item in the iPXE menu is exit to hard drive), that if your default exit mode is grub first device then it might try to grub boot off the usb drive. Can you confirm this? FWIW: There is a default exit mode for both bios (legacy) and uefi systems. Lets make sure we know which exit mode is doing this.

      Also can you confirm that you have the latest firmware update on those Dell systems?

      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!

      1 Reply Last reply Reply Quote 1
      • J
        JLE
        last edited by Aug 23, 2016, 4:54 PM

        The FOG exit mode is set to GRUB. The computers are both set to Legacy Boot in the boot options, with the only thing on the boot sequence being NIC, then Harddisk. They are both set to AHCI. When I click on UEFI in the BIOS settings of either computer - there are no boot order options at all.

        Laptop: Latitude E6520 Windows 7 Pro
        Legacy Boot
        NIC, then HD
        AHCI

        Desktop: OptiPlex 990 Windows 7 Ent
        Legacy Boot
        NIC, then HD
        AHCI

        After iPXE closes both computers launch a GRUB screen(if they have a usb flashdrive in) that I have attached a picture of.0_1471971238641_File_000.jpg

        1 Reply Last reply Reply Quote 0
        • J
          JLE
          last edited by Aug 23, 2016, 5:44 PM

          Alright, figured out my issue. There is a setting under the BIOS that needed to be changed. Setting “Enable Boot Support” to off seems to have fixed the issue. With “Enable Boot Support” in the ON state, even with USB removed from the boot list iPXE was still exiting to the flashdrive. This was super frustrating because some of our document cameras double as a flashdrive. Screenshot attached of the BIOS setting. 0_1471974238334_File_000.jpg

          G 1 Reply Last reply Aug 23, 2016, 7:07 PM Reply Quote 0
          • G
            george1421 Moderator @JLE
            last edited by Aug 23, 2016, 7:07 PM

            @JLE Sorry swamped with meeting today. But I have to ask the question, why are you using grub as a global exit mode? Typically you would pick sanboot or exit for bios systems.

            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!

            J 1 Reply Last reply Aug 23, 2016, 7:53 PM Reply Quote 0
            • J
              JLE @george1421
              last edited by Aug 23, 2016, 7:53 PM

              @george1421 Honestly I’m not sure. I did change it to ‘exit’ but then some computers were unable to start. GRUB, for whatever reason, is working with everything on the network. It is an all Dell network, various models from the 755 to 990 - all set up the same way.

              Is there some other setting I would need to make after changing the FOG exit mode to ‘exit’?

              G 1 Reply Last reply Aug 23, 2016, 9:05 PM Reply Quote 0
              • G
                george1421 Moderator @JLE
                last edited by Aug 23, 2016, 9:05 PM

                @JLE I can say I have almost 100% dells in my environment and I have sanboot as the global exit mode for bios. I do one offs in the host definition.

                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!

                1 Reply Last reply Reply Quote 1
                • W
                  Wayne Workman
                  last edited by Wayne Workman Aug 23, 2016, 9:12 PM Aug 24, 2016, 3:10 AM

                  My experience is sanboot works on most computers.

                  Dell Optiplex 9020s need Grub, even if they are in BIOS mode - not sure why on that but since it works I didn’t really spend time on it.

                  HP EliteBooks need Grub, even though they are in BIOS mode.

                  I should mention, every computer in my building - and we have maybe 15 different models - is successfully booting to the network every time they are turned on, and getting kicked to Windows when there isn’t a task scheduled. We’ve been working towards that for a long time, and finally got them all over the summer. Imaging is a dream now.

                  UEFI computers need various settings - I just go through the list until I find one that works. It’s usually refind.

                  Our environment has the correct exit mode per-machine. We have the global default set to sanboot, but we use fog groups when needed to set exit types where needed.

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

                  149

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project