HerrGeneral Posted May 25, 2022 Share Posted May 25, 2022 (edited) Hello everyone, I'm having a bad experience right now. My baremetal Win 10 Pro won't boot with Qemu after unraid 6.10.1 upgrade. Win boot work correctely when I launch it directly from my NVME. This is the error into VNC: I hope someone can help me. I've tried to create new template without success. I've tried to delete the libvirt.img. And I've already tried black Voodoo stuff like start/stop VM/server etc... Windows 10 Qemu.txt Edited May 25, 2022 by HerrGeneral Quote Link to comment
ghost82 Posted May 26, 2022 Share Posted May 26, 2022 My first question is how windows is installed on that nvme, is it uefi or legacy bios? You are using seabios for the vm (legacy bios), switch to ovmf if it was installed in uefi mode. This error can show if bios is wrong. Quote Link to comment
HerrGeneral Posted May 26, 2022 Author Share Posted May 26, 2022 Thank you ghost82. Yeah it's a legacy install so I use Seabios. I've already try ovmf. Are there less problems with UEFI install? I can't change it for know but just in case. I'm considerating downgrade unraid because I need this VM to work now. Quote Link to comment
ghost82 Posted May 26, 2022 Share Posted May 26, 2022 (edited) 1 hour ago, HerrGeneral said: Are there less problems with UEFI install? I would say no (or at least not so many advantages), efi is just more recent than legacy bios, but I would prefer ovmf uefi because most recent oses 'prefer' uefi. This case is very particular, it's very strange that it boots bare metal and fails with that bcd error in a vm... Edited May 26, 2022 by ghost82 Quote Link to comment
ghost82 Posted May 26, 2022 Share Posted May 26, 2022 (edited) Maybe related to this...(?) https://mail.coreboot.org/hyperkitty/list/[email protected]/thread/72LFLT7KFMWE4GVZHWF4G34PKLVG5LRD/ Never used seabios, but what do you see when you press esc to access seabios?What boot options do you have? Edited May 26, 2022 by ghost82 Quote Link to comment
HerrGeneral Posted May 27, 2022 Author Share Posted May 27, 2022 The VM boot on this screen (screenshot attached) who last for less than one second. And than it show the Boot\BCD error screen. I've tried ESC/ ctrl+alt+del/ F2 etc.. nothing change. No boot option. Is there a trick that I don't know? Quote Link to comment
Solution ghost82 Posted May 27, 2022 Solution Share Posted May 27, 2022 6 hours ago, HerrGeneral said: I've tried ESC/ ctrl+alt+del/ F2 etc.. nothing change. No boot option. Is there a trick that I don't know? I never used seabios, so I don't know, but it could be that you need to enable bootmenu and add a timeout to your xml. Anyway, I'm seeing that the vm is using seabios 1.15: I compiled the latest version (1.16.0-4-gdc88f9b), maybe you can try this version (attached). Extract file bios.bin from the zip and save it somewhere on unraid (i.e. /path/to/bios.bin). Open the vm settings in xml view and change from: <os> <type arch='x86_64' machine='pc-i440fx-6.2'>hvm</type> </os> to: <os> <type arch='x86_64' machine='pc-i440fx-6.2'>hvm</type> <loader type='rom'>/path/to/bios.bin</loader> <boot dev='hd'/> <bootmenu enable='yes' timeout='30000'/> </os> Try to boot. As you can see I enabled the bootmenu with a timeout of 30 seconds, so you should have enough time to see what boot options it proposes. Seabios-1.16.0-4-gdc88f9b.zip 1 Quote Link to comment
HerrGeneral Posted May 27, 2022 Author Share Posted May 27, 2022 Thanks a lot ghost82. Replacing the seabios was the solution, I've reach Windows with VNC. I hope seabios will be update soon in unraid stable distro. Well done 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.