this post was submitted on 04 Oct 2023
9 points (100.0% liked)

Linux

48207 readers
1159 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I need help getting Windows 10 to install on my KVM.

When the machine starts it shows the Windows loading screen for a second and immediately shows a BSOD "SYSTEM THREAD EXCEPTION NOT HANDLED".

I've tried multiple ISOs, modded and vanilla, based on different updates of Windows 10 and 11, I can't even get into the setup at any of them, any help appreciated.

QEMU Settings are:

Chip: Q35
FW: BIOS (UEFI only gives shell with any UEFI options)
CPU: 4 vCPU (Default setting I think)
RAM: 8 Gigs

Boot settings: No boot menu

#1 SATA CD-ROM (Windows ISO)
#2 SATA HDD (empty 300GB qcow2)
#3 SATA CD-ROM (VirtIO drivers)

Network is default

Video is VirtIO, tried all the other options too, but to no avail

HOST runs on:

OS: Arch Linux 6.5.5-zen1-1-zen
CPU: AMD Ryzen 5 1600
RAM: 16GB
GPU: NVIDIA GeForce GTX 1050 Ti (Nouveau driver)

UPDATE: After failing multiple times, formatting my drive, installing Fedora, trying and failing again, formatting my drive again, reinstalling Arch, I have enough. I'll just continue to dual boot for the time being until I get a new CPU.

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

Have you tried with a stock kernel instead of zen?

And windows doesn't support virtio video, use qxl.

[–] [email protected] 1 points 1 year ago

Zen kernel should be fine. I've been running it for 4 years and haven't had any issues specific to zen.

[–] [email protected] 1 points 1 year ago

I've tried on zen and lts, I don't have the stock kernel

Windows does support VirtIO if you load the drivers at setup. QXL doesn't help either, also tried VGA, same problem.

[–] [email protected] 4 points 1 year ago (1 children)

There are a lot more settings that could be relevant.

[–] [email protected] 2 points 1 year ago (1 children)

Tell me what u need and I tell you what I have

[–] [email protected] 5 points 1 year ago (1 children)

CPU settings, including how your actual bios is configured. It kind of sounds like something isn't turned on.

[–] [email protected] 2 points 1 year ago

Enabled: SVM mode (CPU virtualization) TPM 2.0 Secure Boot

Disabled: Windows 10 WHQL support Legacy Boot

Anything else is pretty much default

[–] [email protected] 2 points 1 year ago (1 children)

I'm not in a position to check at the moment, but I think I used to have to set the CPU to something older (like, very old Core2Duo).

[–] [email protected] 1 points 1 year ago

I've tried all the CPU settings in virt-manager, my HOST runs Windows 10 just fine, still crashes if I use Host or nearest ro host in virt-manager

[–] [email protected] 2 points 1 year ago (1 children)

Does anything else work? For example, can you boot a Debian live disk? What about a Debian install on a VM? This will help isolate the problem to internal or external of the hypervisor.

[–] [email protected] 1 points 1 year ago

every other linux distro I tried (Fedora, Manjaro, Linux Mint) worked fine in live usb, didn't install any of them though

[–] [email protected] 1 points 1 year ago (1 children)

Is your CPU set to run on 4 sockets instead of core/thread combo in 1 socket?

[–] [email protected] 1 points 1 year ago

yeah I changed the settings there but it didn't change anything

[–] [email protected] 1 points 1 year ago (1 children)

Just to be sure, you are getting your vanilla iso from MS?

https://www.microsoft.com/en-us/software-download/windows10ISO

It has been a while since I've grabbed a recent iso, but I've always used these with no issue in virt-manager.

[–] [email protected] 1 points 1 year ago

Yeah I did, used genuine Windows 10 and 11 images before I tried modded ones

[–] [email protected] 1 points 1 year ago (1 children)

To me this reads like a driver issue. You could try loading Windows VirtIO drivers during installation and see if that fixes the issues.

https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers

[–] [email protected] 1 points 1 year ago

that's the thing, I BSOD right before the setup