bugGNU GRUB - Bugs: bug #51226, Unable to chainload Windows PE EFI...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #51226: Unable to chainload Windows PE EFI from PXE

Submitter:  Petr Matous <pmatous>
Submitted:  Mon 12 Jun 2017 01:05:32 PM UTC
Votes: 200
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 22 Apr 2021 10:46:16 AM UTC, comment #2: 

For others also having this problem: I switched to the iPXE bootloader, which boots Windows and Linux correctly and without long loading times on physical devices as I faced with the old GRUB version.

In addition to that, the iPXE developers offer the handy wimboot module for directly loading .wim files without chainloading the original Windows bootloader. This makes the whole process more simple.

Georg Sieber <schorschii>
Wed 21 Apr 2021 08:29:22 AM UTC, comment #1: 

I'm facing the same problem, but I get "BlInitializeLibrary failed 0xc0000017" instead of "BlInitializeLibrary failed 0xc0000001".

Some more information from my side:

I used 2.02~beta2-9 [1] from Ubuntu long time, which worked correctly. Then, I faced an issue [2] on some physical devices which caused very long boot times. That's why, I switched to a newer build 2.04 from Ubuntu [3]. This version boots my Linux systems fast on the problematic physical devices, but brings up the BlInitializeLibrary failed error when trying to chainload the Windows bootloader (on all devices, VMs and physical).

[1] http://archive.ubuntu.com/ubuntu/dists/trusty/main/uefi/grub2-amd64/
[2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1514038
[3] http://archive.ubuntu.com/ubuntu/dists/devel/main/uefi/grub2-amd64/

Georg Sieber <schorschii>
Mon 12 Jun 2017 01:05:32 PM UTC, original submission:  

It's not posssible to chainload Windows PE loader with GRUB compiled from up-to-date git source files.

It's not possible event with files included within CentOS:
grub2-efi-2.02-0.44.el7.centos.x86_64
grub2-efi-modules-2.02-0.44.el7.centos.x86_64
grub2-tools-2.02-0.44.el7.centos.x86_64
grub2-2.02-0.44.el7.centos.x86_64

I've also tested it with latest stable Debian used as a PXE server, using it's own output of grub-mknetdir binary.

Debug logs are attached, GRUB compiled form git sources, current Centos 7 as PXE server, HPE ProLiant ML350 Gen9 as PXE client.

Petr Matous <pmatous>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #40907:  debug.txt added by pmatous (5KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by schorschii (Posted a comment)
  • -email is unavailable- added by schorschii (Voted in favor of this item)
  • -email is unavailable- added by adrian_fita
  • -email is unavailable- added by pmatous (Submitted the item)
  •  

    There are 200 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-21 schorschii Carbon-Copy- Added schorschii
    2018-10-10 adrian_fita Carbon-Copy- Added adrian_fita
    2017-06-12 pmatous Attached File- Added debug.txt, #40907

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code