Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wimboot UEFI boot fails
2015-09-18, 13:05
Post: #1
wimboot UEFI boot fails
Hi,

I have an MDT generated WinPE boot image that works with iPXE when BIOS PXE booting, but fails in UEFI mode with error "A required device isn't connected or can't be accessed".

Wimboot is the latest version (2.5.0), and I can't see anything wrong with the "wimboot pause" output.

Seems I can't attach files, so screenshots and BCD dump are at: http://mikat.iki.fi/tmp/wimboot-uefi/
Find all posts by this user
Quote this message in a reply
2015-09-30, 13:48
Post: #2
RE: wimboot UEFI boot fails
(2015-09-18 13:05)mikat Wrote:  I have an MDT generated WinPE boot image that works with iPXE when BIOS PXE booting, but fails in UEFI mode with error "A required device isn't connected or can't be accessed".

Wimboot is the latest version (2.5.0), and I can't see anything wrong with the "wimboot pause" output.

Seems I can't attach files, so screenshots and BCD dump are at: http://mikat.iki.fi/tmp/wimboot-uefi/

Does your .wim definitely contain the EFI boot files (e.g. \windows\system32\boot\winload.efi)?

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-10-01, 11:24
Post: #3
RE: wimboot UEFI boot fails
(2015-09-30 13:48)mcb30 Wrote:  Does your .wim definitely contain the EFI boot files (e.g. \windows\system32\boot\winload.efi)?

Yes:

Code:
M:\wim-mount\Windows\System32\Boot>dir

Directory of M:\wim-mount\Windows\System32\Boot

10.07.2015  14:04    <DIR>          .
10.07.2015  14:04    <DIR>          ..
10.07.2015  14:04    <DIR>          en-US
10.07.2015  13:30         1 294 352 winload.efi
10.07.2015  13:30         1 123 400 winload.exe
10.07.2015  13:30         1 019 592 winresume.efi
10.07.2015  13:30           858 408 winresume.exe
               4 File(s)      4 295 752 bytes
               3 Dir(s)  28 675 686 400 bytes free

I have managed to create a UEFI bootable USB-stick from the ISO version of the same image.
Find all posts by this user
Quote this message in a reply
2015-10-01, 13:47
Post: #4
RE: wimboot UEFI boot fails
(2015-10-01 11:24)mikat Wrote:  
(2015-09-30 13:48)mcb30 Wrote:  Does your .wim definitely contain the EFI boot files (e.g. \windows\system32\boot\winload.efi)?

Yes:

Thanks. Sorry, I originally missed the even more obvious problem, which is that your BCD file refers to "boot.wim" but your .wim file is called "MDT-test_x64.wim".

Since you this works under BIOS, I'm assuming that you must have a script line such as:

Code:
initrd http://y-mdt.saimia.fi/winpe/mdt/MDT-test_x64.wim boot.wim

Due to differences between the way that BIOS and UEFI wimboot obtain their filenames, you'll need to extend this to

Code:
initrd -n boot.wim http://y-mdt.saimia.fi/winpe/mdt/MDT-test_x64.wim boot.wim

(as per the example shown in passing on http://ipxe.org/howto/winpe).

Hope that helps!

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-10-02, 07:59
Post: #5
RE: wimboot UEFI boot fails
(2015-10-01 13:47)mcb30 Wrote:  Due to differences between the way that BIOS and UEFI wimboot obtain their filenames, you'll need to extend this to

Code:
initrd -n boot.wim http://y-mdt.saimia.fi/winpe/mdt/MDT-test_x64.wim boot.wim

Yes, that change fixed it.

Thank you!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)