Comments (31)
See www.rmprepusb.com tutorial 145
from grub.
Download binary version for windows: https://github.com/aIive/builds
run build_grub.bat to build grubx64.efi.
create grub2 menu file /boot/grub/grub.cfg
add this to menu:
menuentry "wimboot" {
wimboot @:bcd:/path/to/bcd @:boot.sdi:/path/to/boot.sdi @:bootmgfw.efi:/path/to/bootx64.efi @:boot.wim:/path/to/win10.wim
}
from grub.
This should not happen.
You should rename it to "bootx64.efi" if there are no preloader or shim efi files.
Or you should rename and copy grubia32.efi to flash drive if the uefi firmware is 32bit.
from grub.
Change the order so that wim file is first, then bcd then sdi.
from grub.
re. Secure Boot. You would have to use a Shim and MokManager which doesn't always work and also programs the target systems NVRAM. So basically I recommend always disable Secure Boot.
re. mapping ISO - yes, I already gave you tutorial for direct boot from ISO - See www.rmprepusb.com tutorial 145
https://www.rmprepusb.com/tutorials/145-grub2winiso
from grub.
I'm not familiar with linux kernel, so maybe it will require a lot of work.
I don't know how complicated such a check would be.
Actually, porting wimboot as a grub module should be a better solution, and someone has implemented this feature.
Yeah, a GRUB2 module would be the best.
grub2x64.zip
Here you can try it.
For example:
runudm @bcd=/test/bcd @boot.sdi=/test/boot.sdi @bootx64.efi=/test/bootx64.efi @boot.wim=/test/win10.wim
Okay thanks, i'll take a look.
Unfortunately, the author refused to publish the source code.
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=373513
:(
from grub.
I can't make the module work properly. I hope someone can help me.
from grub.
I think we should first try to port wimboot to grub2 bios and then to UEFI.
from grub.
I think we should first try to port wimboot to grub2 bios and then to UEFI.
I don't know assembly languages. I would very appreciate it if you could help me.
from grub.
Hello,
I'm sorry, but I don't have much time to help.
Anyway isn't it easier to fix GRUB2 EFI to start wimboot EFI instead of porting wimboot?
from grub.
0ee7eb8
801e63f
The "wimboot" module is working now. I've tested on VmWare & my PC.
a modified version of ipxe-wimboot is embeded in the module.
modified wimboot source code: https://github.com/a1ive/wimboot
from grub.
Usage:
wimboot [--gui] [--rawbcd] [--rawwim] [--pause] [--index=n] @:boot.wim:/path/to/test.wim @:bootmgfw.efi:/path/to/test.efi @:bcd:/path/to/bcd @:boot.sdi:/path/to/boot.sdi
* params:
* --gui or -g Display graphical boot messages.
* --rawbcd or -b Disable rewriting .exe to .efi in the BCD file.
* --rawwim or -w Disable patching the wim file.
* --pause or -p
* --index=n or -i n Use WIM image index n.
from grub.
Can extra files such as winpeshl.ini be inserted into X:\windows\system32 in the same way that can be done with iPXE wimboot ? This would be essential if trying to directly boot from Windows Install ISOs for instance.
from grub.
Can extra files such as winpeshl.ini be inserted into X:\windows\system32 in the same way that can be done with iPXE wimboot ? This would be essential if trying to directly boot from Windows Install ISOs for instance.
yes
from grub.
Please, can you help me how to make wimboot work in UEFI mode?
Thank you.
from grub.
Thank you.
I will try it in the weekend.
Still can't boot floppy images in UEFI mode?
I have a program to test disks that work in dos mode and I can't find any that works in UEFI :(
from grub.
Dos , xp and other real mode os's that depend on a BIOS will never work under uefi !!!
from grub.
I was thinking that it can be emulated has a BIOS.
But I think it will be impossible.
Let's hope that developers make HDD diagnostics tests with UEFI support.
Thanks
from grub.
Why not boot a tiny linux kernel and emulate a BIOS machine through QEMU (KVM)?
from grub.
Does the QEMU will recognize the physical HDD from machine to make hdd diagnostics?
from grub.
Download binary version for windows: https://github.com/aIive/builds
run build_grub.bat to build grubx64.efi.
create grub2 menu file /boot/grub/grub.cfg
add this to menu:menuentry "wimboot" { wimboot @:bcd:/path/to/bcd @:boot.sdi:/path/to/boot.sdi @:bootmgfw.efi:/path/to/bootx64.efi @:boot.wim:/path/to/win10.wim }
I've compile the grubx64.efi and copy it to EFI/BOOT
but when i start my flashdrive it says "can't find command wimboot"
I'm missing something?
Thanks
from grub.
This should not happen.
You should rename it to "bootx64.efi" if there are no preloader or shim efi files.
Or you should rename and copy grubia32.efi to flash drive if the uefi firmware is 32bit.
Ok, It's booting and it find the 4 files needed to boot but after loading to memory i'm getting Windows 0X0C000000F error :(
from grub.
Change the order so that wim file is first, then bcd then sdi.
Amazing, works like a charm.
Only 2 question please:
- Can i boot with secure boot option? Or i need always to disable it in UEFI firmware.
- Is it possible to map to an ISO without extracting to get access to the 4 files?
Thank you once again.
from grub.
I'm not familiar with linux kernel, so maybe it will require a lot of work.
Actually, porting wimboot as a grub module should be a better solution, and someone has implemented this feature.
grub2x64.zip
Here you can try it.
For example:
runudm @bcd=/test/bcd @boot.sdi=/test/boot.sdi @bootx64.efi=/test/bootx64.efi @boot.wim=/test/win10.wim
Unfortunately, the author refused to publish the source code.
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=373513
do the same but getting Windows 0X0C000000F error
tried steve6375 advice but still not succeed. if anyone knows proper code let me know. thanks
from grub.
0xC000000F usually means the BCD is not pointing to the correct path/file.
from grub.
0xC000000F usually means the BCD is not pointing to the correct path/file.
Thanks steve6375 for quick reply. used default windows 10 bcd with custom
path. any advice
from grub.
0xC000000F usually means the BCD is not pointing to the correct path/file.
Thanks steve6375 for quick reply. used default windows 10 bcd with custom
path. any advice
What configuration (grub.cfg and bcd)/commands did you use ?
from grub.
grub.cfg -
menuentry "Win-PE" {
wimboot @:boot.wim:/sources/boot.wim
@:bootmgfw.efi:/boot/bootx64.efi
@:bcd:/EFI/BOOT/bcd
@:boot.sdi:/boot/boot.sdi \
}
BCD-
from grub.
Hello again, @neps4u you can take a look at: https://github.com/Sporesirius/YAMS/blob/60fea72f6ce7b4d984d16325b9b950e9ae9fdda5/YAMS/grub/configs/windows_based/win-bootmgr.d/generic.cfg#L48
and https://github.com/Sporesirius/YAMS/blob/master/YAMS/Tools/WSL/wsl.bat.
Maybe this is helpful.
from grub.
Hello again, @neps4u you can take a look at: https://github.com/Sporesirius/YAMS/blob/60fea72f6ce7b4d984d16325b9b950e9ae9fdda5/YAMS/grub/configs/windows_based/win-bootmgr.d/generic.cfg#L48
and https://github.com/Sporesirius/YAMS/blob/master/YAMS/Tools/WSL/wsl.bat.
Maybe this is helpful.
thanks for the reply.. doesn't work.. any other help appreciated. thanks
from grub.
Hello again, @neps4u you can take a look at: https://github.com/Sporesirius/YAMS/blob/60fea72f6ce7b4d984d16325b9b950e9ae9fdda5/YAMS/grub/configs/windows_based/win-bootmgr.d/generic.cfg#L48
and https://github.com/Sporesirius/YAMS/blob/master/YAMS/Tools/WSL/wsl.bat.
Maybe this is helpful.thanks for the reply.. doesn't work.. any other help appreciated. thanks
I recommend using wimboot-bcd to create bcd.
from grub.
Related Issues (20)
- 截屏模块 和 某些命令 的问题。 HOT 12
- Request: Disable menu 'c' and 'e' hotkeys HOT 6
- put nointegritychecks to OSLOADER HOT 1
- add an option to load bootvhd.dll (i386-pc/ntboot)
- Load SeaBIOS/TianoCore HOT 1
- Question: dd status=progress? HOT 8
- getkey key codes for Ctrl+Shift+F HOT 20
- 为什么ntboot不支持光盘? HOT 1
- Ignore floppies
- 在Ubuntu18.04 x86_64中编译aarch64 HOT 1
- menuentry --help-msg buggy HOT 10
- Query: Are variables in a theme .txt file supported? HOT 2
- NTBOOT 没有启动动画 HOT 8
- wimboot BIOS fails for WinPE WIMs larger than 890MB HOT 10
- how to build HOT 1
- set fallback=1 it not work? HOT 1
- GRUB does not create menu entries
- Request adding support for zstd compressed squashfs files.
- What changes can be upstreamed? HOT 13
- Wimboot.mod in UEFI mode loads only first image in wim file when index is not 1. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grub.