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

    unable to boot HP z240 in UEFI

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    6
    38
    26.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
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      @abos_systemax Wow, great finding! I am wondering if other people who have similar issues are also just not seeing anything on screen or if it really hangs. Searching for an explanation on the net I found those two things: https://bugzilla.redhat.com/show_bug.cgi?id=496134 and https://www.kernel.org/doc/Documentation/fb/efifb.txt

      Can you please try adding video=efifb (and the various variations like video=efifb:mini) as the host’s kernel parameter option?

      @george1421 said:

      … transition between iPXE and bzImage

      So we are back to this being an ipxe-to-kernel-handoff problem as it does not seem to be an issue when booting the same kernel from USB! You were right and I shall listen to what you say! 🙂

      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

      A george1421G 2 Replies Last reply Reply Quote 0
      • A
        abos_systemax @Sebastian Roth
        last edited by

        @Sebastian-Roth

        none of the kernel options above yielded other results than no kernel options at all

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

          @Sebastian-Roth said in unable to boot HP z240 in UEFI:

          So we are back to this being an ipxe-to-kernel-handoff problem as it does not seem to be an issue when booting the same kernel from USB! You were right and I shall listen to what you say! 🙂

          What, wait, what did I say. I have an idea it was really brilliant, but I think I missed it 😉

          (just a lucky choice of words on my part, i fear)

          I remember when I was documented the FOS_L grub boot drive. https://forums.fogproject.org/topic/6532/usb-boot-target-device-into-fog-os-live-fosl-for-debugging I had to enter these commands into grub to get the video to work [insmod efi_gop, efi_uga, font]. I think I had a black screen to. Maybe it WAS working. It might be interesting to see if usb booting into FOS-L environment provided any video output.

          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 0
          • S
            Sebastian Roth Moderator
            last edited by

            @abos_systemax Thanks again for the quick response. Then I guess I am lost for now. Will contact the iPXE developers to see what they might know about it. Most probably this won’t be before the weekend I’m afraid.

            @george1421 said:

            … efi_gop, efi_uga … It might be interesting to see if usb booting into FOS-L environment provided any video output.

            Yeah, I remember those GRUB modules were needed for UEFI machines. Definitely a good idea to check out if booting the kernel via GRUB makes a difference. Please download debug_v2.iso and dump it to your USB key (dd if=debug_v2.iso of=/dev/sdX). Do you see anything on screen after selecting 64 bit from the GRUB menu?

            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

            A 1 Reply Last reply Reply Quote 0
            • A
              abos_systemax @Sebastian Roth
              last edited by abos_systemax

              @Sebastian-Roth
              I must be doing something wrong, but this ISO does not create a bootable USB stick (in fact, the dd command renders my USB completely useless)…

              As far as I can see in the root of the stick, is that I am missing the BOOTX64.efi file, does that have to be created with ‘make’?

              – edit: the USB sticks boots into Grub Rescue mode now, but booting to bzImage and init.xz results into unknown filesystem errors

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

                @abos_systemax Here is a bit longer way to get to a grub bootable (FOS-L) usb. https://forums.fogproject.org/topic/6532/usb-boot-target-device-into-fog-os-live-fosl-for-debugging/19

                Follow the method #4 option.

                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 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @abos_systemax Are you sure you used dd to write the ISO to your USB key? Don’t use other tools than dd or rawrite32 if on windows! Did you dump it to the first partition (of=/dev/sdb1)? Need to go straight onto the disk (destroying any data and the partition table!): dd if=debug_v2.iso of=/dev/sdb…

                  I just tried the ISO on a Lenovo x230 laptop, set to UEFI only, boots perfectly! GRUB rescue mode usually means that the GRUB modules are missing or not found. Possibly the ISO download was corrupt? Should be about about 60MB in size and md5sum is: 2d637e97e85c96f553da7f8436c5862c

                  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

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    abos_systemax @Sebastian Roth
                    last edited by

                    @Sebastian-Roth

                    I used the command as stated above (dd, on linux).
                    However; I can no longer test the devices because they really had to be shipped to the customer.

                    For now this thread is solved (it ‘works’), but as soon as I can get my hands on a new device; I will test the ISO mentioned above.

                    Thanks all for the support!

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @abos_systemax Can you please try the USB key in a different UEFI PC? Just to see if it is really screwed or what. Definitely good to be prepared with a known good USB key to boot from for when new z240’s coming in. Really looking forward to hear if you can boot other machines with it and how we go on the new ones in the future.

                      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
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        Some (minor) news on this. Talked to someone on the iPXE IRC channel and it seems to not be a known issue and there is no special iPXE UEFI video foo magic switch that we can use.

                        Quoting some parts of the chat here:

                        me: Hey, I am wondering if anyone ever saw a linux kernel chainloaded from iPXE not showing any output - this is happening for us on a HP z240 (UEFI)
                        me: The kernel seems to boot up fine (system comes up properly) but not displaying anything on the console/screen!
                        ipxe: do you have any framebuffer devices enabled, have you tried something like vga=791 ?
                        ipxe: maybe an dmesg dump could sheed some light on what the issue might be?
                        me: tried video=efifb but no change. Thanks for the suggestion on dmesg… will check that out
                        ipxe: I’m assuming that efifb implementation in the HP EFI firmware is broken (like most of the rest of the HP firmware implementation)
                        ipxe: (this is based on the number of problems reported about HP boxes in this channel)
                        me: just wondered if there are any special ipxe options for UEFI video/fb?
                        ipxe: indeed not, there is not much in ipxe to do efi configurations, the only thing ipxe specific i can think of is enabling the ipxe console which supports an background image. (so as long as you are not seeing an backround image in ipxe you should be “safe”)

                        FOG is not doing any background image stuff if tasks are scheduled - not using the iPXE console command either I think. So this shouldn’t be an issue. Although I am wondering if the menu is working fine when there is no task scheduled, @abos_systemax?!?!

                        note to myself: dmesg dump could help in finding the issue! So try booting in debug mode and connect via SSH to get dmesg output!

                        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
                        • C
                          csurepair
                          last edited by

                          We are having this same exact issue when attempting to boot Z240’s. Has there been any progress with addressing this? We can get around it somewhat by manually registering the workstations but that really isnt a soulution.

                          Any config hacks/bios tweaks/kernal updates for the Z240 would be greatly aptreatiated.

                          Thanks all!

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

                            @csurepair You should really start your own thread because the conditions could be different.

                            Things that we would need to know is the version of FOG you have installed (on or about the cloud on the management home page).

                            What is your dhcp server?

                            Is the HP in uefi or bios (legacy) mode?

                            Since you are getting to the download of bzImage, it probably safe to assume you have the correct iPXE kernel loaded into dhcp option 67.

                            Are you using dnsmasq in your environment?

                            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 0
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post

                            186

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project