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

    Can't chainload past Fog menu (Boot hard drive) - HP zbook laptop

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    46
    6.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

      Sounds a bit like rEFInd was not able to detect your main Windows partition. See what you can find out playing with the config and let us know.

      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 Reply Quote 0
      • S
        Szeraax @Sebastian Roth
        last edited by

        @sebastian-roth I played with the internal, external, hdbios, etc. options. I do still need to play with getting it to exclude that recovery partition. Maybe that’ll work.

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

          @sebastian-roth @Wayne-Workman Some other stuff I note:

          1. In the host inventory, it has nothing listed for the Hard Disk Model/Firmware/Serial Number. Presumably because it is a NVMe hard drive? Can I do something to fix that?

          2. I boot to the HP recovery partition by using the ReFind bios option: biosexternal. I then have the entry “Boot Legacy target SAMSUNG MZVLW256HEHP-000H1-S340NX1J727702”

          From number two, I assume that since that is the ONLY option in the list besides About, shutdown, reboot, reboot to setup, that this biosexternal will not be a path to booting windows.

          1 Reply Last reply Reply Quote 0
          • S
            Szeraax
            last edited by Szeraax

            ReFind mentions using clover .efi for NVMe (if you search nvm a few times on this page: https://www.rodsbooks.com/refind/drivers.html). What then would be the easiest way to add this .efi NVMe driver into the ReFind loader?

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

              @szeraax In the firmware settings you posted I found:

              Legacy Boot Options
              	Disable
              	*Enable
              

              Please try setting to disable. I think this is what I call the legacy BIOS compatibility mode or CSM. Be aware that your Windows has to be installed in UEFI mode to properly boot when you completely disable the legacy stuff. From my point of view you should definitely go that way as legacy stuff is just that legacy and will be gone at some point anyway. Go UEFI and do it right.

              As well you mentioned TPM being enabled. Not sure if that might cause an issue as well. You don’t think it would but we had some Lenovo machines with some sort of extra security chip that wouldn’t even load iPXE properly if that was enabled.

              And third, which version of FOG do you use? Most probably the rEFInd version we have in 1.4.4 and dev-branch can’t boot NVMe disks I think. So you might want to download the newer version we have in the working branch. Updated refind.efi and refind.conf you find here.

              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 4 Replies Last reply Reply Quote 0
              • S
                Szeraax @Sebastian Roth
                last edited by

                @sebastian-roth I have dev-branch. I can definitely try working.

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

                  @sebastian-roth Just dropping the updated rEFInd files (conf and efi) gave me the default ocnfig file again (obviously). And it seems that rEFInd still hangs at “rEFInd - Initializing…” when trying to scan internal. If I do just hdbois, it has no problem (other than no boot entries). I did disable legacy boot prior to testing latest rEFInd. I did confirm windows still starts fine after disabling Begacy Boot options. I did cold boot in order to test.

                  I guess my next step is to try moving to working branch. I think I would LOVE it if I could figure out how to load that NVMe driver .efi that I got from the clover EFI loader… ATM, i’m trying to edit an efi file and inject it directly. But I don’t have the knowhow, lol.

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

                    @szeraax said in Can’t chainload past Fog menu (Boot hard drive) - HP zbook laptop:

                    I think I would LOVE it if I could figure out how to load that NVMe driver .efi that I got from the clover EFI loader… ATM, i’m trying to edit an efi file and inject it directly. But I don’t have the knowhow, lol.

                    Sorry, haven’t done that myself yet. I had a look at the Clover project but that seems to be just another universe. Too much for me right now. Keep us posted and I am sure we can jump in with some helpful suggestions from time to time.

                    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
                      Szeraax @Sebastian Roth
                      last edited by

                      @sebastian-roth Just to clarify, you think that other people are booting NVMe drives via rEFInd in working without needing to do extra stuff? If so, i’d LOVE to see what their config for refind.conf is… (I’d rather avoid trying to use clover too).

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

                        @sebastian-roth HOLY CRAP. Just dropping the clover boot.efi in the place of refind.efi booted windows just fine!

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

                          @szeraax Interesting!! Sebastian and I have been talking about this issue in the background. My focus was to see if we can get refind to boot via usb into a command shell then we can attempt to debug why its not finding your disk.

                          But that may not be necessary now. Maybe we need to research what is going on here. I know the easy solution would be to just provide another exit mode and that is where we may end up. But you are not the first to have this issue and refind “should” work. FOG may not be suppling the right info to refind to get it to locate your disks. Once I understand a bit more about refind’s innards, I hope we can ask you to help with your hardware to see if we can come up with a solution.

                          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 3 Replies Last reply Reply Quote 0
                          • S
                            Szeraax @george1421
                            last edited by

                            @george1421 Absolutely. Though, i’m told that we need to return this demo laptop cause it doesn’t have enough ram and is missing the 2nd HDD. So it may be a few weeks before I have another laptop of this same model (I probably will turn it in Thursday and can do any testing before then).

                            1 Reply Last reply Reply Quote 1
                            • S
                              Szeraax @george1421
                              last edited by

                              @george1421 Ok, bad news. Tested twice and then tested just letting the windows boot manager try by itself and when using clover default, my keyboard and mouse do not work in the laptop once it is booted to windows. Both times I booted from clover, I had to hold down power for 7s to get it to shut off. Afterword when booting without pxe, windows came up and worked fine without any issue.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Szeraax
                                last edited by Szeraax

                                Seems to be many people that can’t use keyboard/mouse once booted up. There is some config suggested here https://www.tonymacx86.com/threads/no-mouse-or-keyboard-on-clover-instal.174311/ that might work, if the exit type for Clover were to deliver the boot.efi and config.plist I think?

                                It seems like the default clover is set up for hackintosh booting. If we disable or fix some of these options, it may work without issue.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Szeraax
                                  last edited by

                                  Ah ha! It seems not that the keyboard and mouse stop working, but that the whole computer freezes. for about half a second, I can move the mouse, but then it stops moving and the clock never changes the minute.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Szeraax
                                    last edited by

                                    And here’s a crappy video I made that shows the default options I’m seeing: https://www.youtube.com/watch?v=pj7JG0TpXEA

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

                                      @szeraax said in Can’t chainload past Fog menu (Boot hard drive) - HP zbook laptop:

                                      Just to clarify, you think that other people are booting NVMe drives via rEFInd in working without needing to do extra stuff? If so, i’d LOVE to see what their config for refind.conf is… (I’d rather avoid trying to use clover too).

                                      From my point of view (not having tested this with several different ones myself but reading about this here and there) it all depends on NVMe drivers. Some drives seem to be kind of generic and just work with the usual rEFInd binary (updated in working branch) and other just don’t. Can’t tell you which do.

                                      As I said, this is not tested. Just the impression I get.

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

                                        @george1421 Regarding your statement about booting rEFInd into a command shell via USB, I think I can probably do that fairly easily. What commands would you want the output of to get a better idea?

                                        Of course, the fact that fog can do single part, resizable imaging on this computer means that it must not be TOO crazy of hardware otherwise I wouldn’t be able to see the disk and such.

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

                                          @szeraax said in Can’t chainload past Fog menu (Boot hard drive) - HP zbook laptop:

                                          Of course, the fact that fog can do single part, resizable imaging on this computer means that it must not be TOO crazy of hardware otherwise I wouldn’t be able to see the disk and such.

                                          No, you have to understand that those are two very different things although we packed those very closely together in the FOG project. One is the Linux Kernel and a stripped down basic Linux system doing the actual imaging work. Many drivers are part of the Kernel. Another component is iPXE that we use for booting and in some cases for exiting to boot to the local disk. In your case this does not seen to work so we have another ring in the chain called rEFInd which has to have it’s own drivers to be able to see and boot from your local disk.

                                          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 Reply Quote 0
                                          • S
                                            Szeraax @Sebastian Roth
                                            last edited by

                                            @sebastian-roth @george1421 So if I put clover on a USB drive and boot it with the default config.plist, windows starts fine and seems to have no issues. It may just be that we need to transfer the config.plist with the efi file and that exit type would work great.

                                            george1421G 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            144

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project