Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI grub + wimboot
2016-10-01, 13:11
Post: #1
UEFI grub + wimboot
Hi there

I am keen to know if anyone could get wimboot + grub UEFI pxe boot working.

Heres my steps

download Fedora-Xfce-Live-x86_64-24-1.2.iso
extract \EFI\BOOT\
- BOOTX64.EFI
- grubx64.efi
- grub.cfg

setup tftp to serve BOOTX64.EFI

Add entries in grub.cfg

menuentry 'wimboot 1' {
linuxefi /boot/wimboot
}

menuentry 'wimboot 2' {
linuxefi /boot/wimboot
initrdefi \
newc:bcd:/boot/boot/BCD \
newc:boot.sdi:/boot/boot/boot.sdi \
newc:boot.wim:/boot/boot.wim
}

After booting from UEFI pxe and selecting wimboot 1 or 2, there is an error message

error: kernel too old.
error: you need to load the kernel first.
Press any key to continue...
Find all posts by this user
Quote this message in a reply
2016-10-02, 22:41
Post: #2
RE: UEFI grub + wimboot
wimboot have a header that makes it look like both a .efi and a linux kernel this is so the same file can be used in both environments.

It seems that grub incorrectly detects this as an old linux kernel and does not even try to run it in efi mode.

A few things to test,
* make sure you are using the latest version of wimboot.
* test with the latest and official version of grub
* contact the grub developers or community about the issue if it is reproducible with the latest official release
* if it is only an issue with Fedora, then contact them and tell them to release something that is up2date for once.

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-10-07, 08:19 (This post was last modified: 2016-10-07 08:19 by robinsmidsrod.)
Post: #3
RE: wimboot and grub UEFI boot
Wimboot is not tested with grub, so it's unknown whether it would actually work or not, much less in UEFI mode. Try getting it to work directly with iPXE in EFI mode first, and if that is confirmed to work then you can try to get it to work with EFI grub. Also remember that the initrd stanzas used with wimboot load files into ramdisk and wrap them as cpio archives. It's highly likely that grub doesn't do this (which ipxe does). See http://ipxe.org/cmd/initrd for more details.
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-01-05, 04:33
Post: #4
RE: UEFI grub + wimboot
After trying various things I am able to get wimboot to load from grub2 bootx64.efi
I am still to figure out how to pass the command line.
I will post back here once I find out.

menuentry 'Wimboot test' {
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/wim/wimboot
}
Find all posts by this user
Quote this message in a reply
2018-05-31, 13:20
Post: #5
grub2 UEFI and wimboot UEFI
Is there a way to boot wimboot in UEFI from grub2? or can it implemented?
Find all posts by this user
Quote this message in a reply
2018-05-31, 19:46
Post: #6
RE: grub2 UEFI and wimboot UEFI
(2018-05-31 13:20)jamefane Wrote:  Is there a way to boot wimboot in UEFI from grub2? or can it implemented?

I moved your post to an already existing topic asking the same thing, and having at least an partial answer.
As in any forum, please search for your question before asking Wink
Sorry that this won't answer your question fully, but it might get you on the right track, but then again grub is probably not the right tool for the job.

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-06-01, 13:03 (This post was last modified: 2018-06-01 13:14 by jamefane.)
Post: #7
RE: UEFI grub + wimboot
Okay sorry.

“but then again grub is probably not the right tool for the job.“ but which tool ist the right?

I have a multiboot to boot isos for windows, linux etc..
and i want use wimboot for windows.

is it really not possible to make compatibility with grub2 efi?

It would be really helpful and useful.

Wimboot working in Legacy mode.
You can only boot wimboot through grub2 with the command linux16. Grub2 EFI dosen't support linux16 only linux


Kind regards
Find all posts by this user
Quote this message in a reply
2018-06-05, 10:24
Post: #8
Implementation of EFI Stub for wimboot?
Hello,
I see that many wish the compatibility of wimboot to grub2 here. grub2 does not work with wimboot because wimboot as far as I know has no EFI stub. For the grub2 commands linuxefi and intridefi we need EFI stub. The question is could this be implemented?
Find all posts by this user
Quote this message in a reply
2018-06-05, 18:16 (This post was last modified: 2018-06-05 23:49 by NiKiZe.)
Post: #9
RE: Implementation of EFI Stub for wimboot?
(2018-06-05 10:24)johnny Wrote:  Hello,
I see that many wish the compatibility of wimboot to grub2 here. grub2 does not work with wimboot because wimboot as far as I know has no EFI stub. For the grub2 commands linuxefi and intridefi we need EFI stub. The question is could this be implemented?

Your post was moved to already existing thread, (there is a few others as well, try the search function) and the answer will be the same. wimbot _IS_ an efi application _and_ NBP bootable exectuable, using the same tricks as is used in the Linux kernel to do the same thing.

The question is rather: how do you make grub boot any arbitrary EFI executable, and one answer to that is found above.

Now if only grub could have a working implementation of "efiapplication" that would solve the issue.... and it does just as described above the chainloader option should work, another mention of this can be found at https://unix.stackexchange.com/a/277750/98422

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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