chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
651 stars 136 forks source link

Windows 10 boot without UEFI #348

Open alexfd opened 2 years ago

alexfd commented 2 years ago

Hello, I cannot find a working Windows 10 boot entry for menu.lst using grub4dos 0.4.4 without UEFI. Closest I can get is with:

find --set-root /iso/w10ltsc.iso
map /iso/w10ltsc.iso (0xff)
map (hd0) (hd1)
map --hook
chainloader (0xff)

It then proceeds to display a garbled screen and I have to reboot. This is a new USB stick using only one NTFS partition. The same entries above but this time using Windows 10 Pro iso gives me a BSOD with error code 0xc00000e9.

steve6375 commented 2 years ago

grub4dos 0.4.6a is current version. https://github.com/chenall/grub4dos/releases/tag/0.4.6a

alexfd commented 2 years ago

I have updated to latest, I still get the same issues. Do you have a working menu.lst to boot Win10 iso from usb stick?

steve6375 commented 2 years ago

image image

Maybe you should try a retail WIndows ISO?

Also, you can boot to WinPE, but when WinPE is loaded, setup will not be able to find the files inside the ISO. So to INSTALL windows, you will first needed to load the ISO under WinPE as a virtual DVD drive, otherwise Windows will report a 'missing DVD device driver' message!

steve6375 commented 2 years ago

So you get this: image

steve6375 commented 2 years ago

and also you should use

map (hd0) (hd1)
map (hd1) (hd0)

to ensure first hdd is hd0 - otherwise the boot code will be placed on the USB MBR sector.