Skip to content

Conversation

kokomo123
Copy link

Per https://discussion.fedoraproject.org/t/tutorial-how-to-create-a-windows-11-vm/147506/ there were suggestions to add this to the docs of Asahi Linux, and I thought since it hasn't been added, I have sufficiently created a guide to the best of my ability using markdown and some copy/pasting from the forum thread. Feel free to edit/adjust it as the community / maintainers see fit as this seems decent enough, but i'm all ears for contributing to make it the best community windows 11 vm guide as it can possibly be. :)

@kokomo123 kokomo123 changed the title Add Windows 11 VM Docs to the guide Add Windows 11 VM Docs Jun 30, 2025
@Zlendy
Copy link
Contributor

Zlendy commented Jul 19, 2025

I haven't tried to follow the guide yet but it looks good, nice work! 👍

I'd just like to suggest adding an option to set this up using QEMU+libvirt instead of plain old QEMU.
Many users such as myself prefer to use that front-end, if you'd like I can add this change to your PR.

@kokomo123
Copy link
Author

That's totally fair, i'm flexible with you adding that change :)

@Zlendy
Copy link
Contributor

Zlendy commented Jul 19, 2025

Ok, I'll work on it in my free time and add it as a suggestion change to your PR when it's ready.

@kokomo123
Copy link
Author

TYVM!

Copy link
Contributor

@Zlendy Zlendy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdir windows11 does not close its code tag

Signed-off-by: Kokomo123 <jyvkcxe1@duck.com>
Signed-off-by: Kokomo123 <jyvkcxe1@duck.com>
@kokomo123 kokomo123 requested a review from Zlendy August 4, 2025 19:05
@Zlendy
Copy link
Contributor

Zlendy commented Aug 27, 2025

I feel like I almost got it, but there's some weird issue with libvirt that prevents me from running any VM, apparently.

qemu isn't the issue here because your script worked flawlessly.

@kokomo123
Copy link
Author

That's good :) at least qemu is running for sure

@kokomo123
Copy link
Author

kokomo123 commented Sep 9, 2025

Any update on libvirt problem? @Zlendy if not, i can try to replicate.

@Zlendy
Copy link
Contributor

Zlendy commented Sep 9, 2025

Unfortunately not, the error message is this:

BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

This seems to indicate that the cdrom is not loaded correctly. But it's weird because I've done this so many times on x86-64 computers, this is the first time I've seen this lol.

To replicate it just create a VM with virt-install or virt-manager, any libvirt frontend should be able to replicate this.

@kokomo123
Copy link
Author

Alright, imma create a arm64 debian vm on macOS to replicate then

@Zlendy
Copy link
Contributor

Zlendy commented Sep 9, 2025

macOS works fine, this only happens in Asahi Linux using libvirt

@kokomo123
Copy link
Author

Oh, well.. lemme install asahi linux then 💀

@kokomo123
Copy link
Author

kokomo123 commented Sep 9, 2025

Update: downloading a debian 13 ISO worked, and it booted successfully. I am downloading the arm64 image of windows 11 currently on Asahi.

@kokomo123
Copy link
Author

kokomo123 commented Sep 9, 2025

Update: yeah it seems EDK2 firmware halts and doesn't load the image. I think we would be fine to just include the qemu instructions, and say libvirtd is unsupported at this time.

@kokomo123
Copy link
Author

kokomo123 commented Sep 10, 2025

@Zlendy internal error: Child process (dmidecode -q -t 0,1,2,3,4,11,17) unexpected exit status 1: /sys/firmware/efi/systab: SMBIOS entry point missing
Sep 10 07:57:23 libvirtd[4831]: operation failed: Cannot find CPU model with PVR 0x025
This is probably why libvirtd isn't working, /sys/firmware/efi/systab doesn't have anything in it. Thus, the firmware doesn't know what to do. I hope this can be fixed, otherwise now, I am just going to push a slight edit to the docs saying "virt-manager is unsupported, please use qemu", as I have discovered through researching. https://www.reddit.com/r/AsahiLinux/comments/y7hplo/virtual_machines_on_asahi_linux/, and with default settings, toying around with the CD-rom device too. I wish libvirtd had better support on Asahi rn.

@Zlendy
Copy link
Contributor

Zlendy commented Sep 11, 2025

I never would've guessed that was the problem, you deserve a medal 🏅

Copy link
Contributor

@Zlendy Zlendy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kokomo123
Copy link
Author

@Conan-Kudo @chadmed Pinging just to make sure this is all LGTM, if there's any adjustments ya'll think is needed, feel free to let me know 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants