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

@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 👍🏻

@kokomo123
Copy link
Author

@jannau Bump? Making sure this is all LGTM, if there's any adjustments, please let me know or if you can refer to someone that can look this over

@chadmed
Copy link
Member

chadmed commented Sep 25, 2025

Sorry, I've been preoccupied.

Your commit history is a bit messed up. Can you please clean it up to remove the merge commits and follow the commit message format used everywhere else?

@kokomo123
Copy link
Author

Will do my best to fix it up, thank you!

@kokomo123
Copy link
Author

I have successfully completed the rebase, and squashed all the commits into one. Appropriately renamed it to sw: docs: as well as I have discovered through git commit history. I hope this is sufficient

@chadmed
Copy link
Member

chadmed commented Oct 6, 2025

Can we please change the link to the Enterprise LTSC ISO to one that doesn't require a VLK to use? Linking to the official Windows 11 Pro ISO should suffice.

@kokomo123 kokomo123 force-pushed the add-win11-docs branch 2 times, most recently from 1b00740 to a953a5b Compare October 6, 2025 09:08
@kokomo123 kokomo123 force-pushed the add-win11-docs branch 3 times, most recently from 5538d3e to 6efb86c Compare October 6, 2025 09:40
@kokomo123
Copy link
Author

kokomo123 commented Oct 6, 2025

Apologies for the git spam, im really trying to squash from the merge that's necessary to avoid conflicts. Otherwise, this is the best I can do as long as there's no pending commits.

Signed-off-by: Kokomo123 <jyvkcxe1@duck.com>
Copy link
Member

@davide125 davide125 left a comment

Choose a reason for hiding this comment

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

This needs to be rebased

@kokomo123
Copy link
Author

Will attempt to rebase, rebasing on git isn't my strong suit, thank you for being patient with me!

@kokomo123 kokomo123 force-pushed the add-win11-docs branch 2 times, most recently from 57c7325 to 0cacfb7 Compare October 23, 2025 23:10
@kokomo123
Copy link
Author

💀 this is gonna be a while.. oh boy..

Signed-off-by: kokomo123 <70863536+kokomo123@users.noreply.github.com>
@chadmed
Copy link
Member

chadmed commented Oct 24, 2025

You have completely messed up your branch.

Can you please fix this so that the only commit on your branch adds the Windows 11 guide, and fix that commit so that it does not try to mash up all the other documentation?

You should be rebasing your branch on top of main, not merging it. I can't even cherry-pick the commit because it has somehow squashed a whole bunch of changes to many files into itself.

@kokomo123
Copy link
Author

I'm really sorry for messing this up, I was struggling with git trying to squash everything, instead I made it more damaging. I apologize again and will do better next time. I'm redoing this PR to save the headache entirely of doing it all over again, as it's already messed up.

@kokomo123 kokomo123 closed this Oct 24, 2025
@kokomo123 kokomo123 deleted the add-win11-docs branch October 24, 2025 11:08
@Zlendy
Copy link
Contributor

Zlendy commented Oct 24, 2025

You didn't have to delete the PR and remote branch, just redo it locally and force push your local branch to the remote one.

@kokomo123
Copy link
Author

kokomo123 commented Oct 24, 2025

my local branch was still having the 'Merge branch 'main' into XXX' commit I am not sure how to fix that commit honestly

@Zlendy
Copy link
Contributor

Zlendy commented Oct 24, 2025

Use git reset --hard to ovewrite your commit history with another, or git rebase your commits on top of main.

If you'd like, I can fix this for you when I get out of work.

@kokomo123
Copy link
Author

Yes please if you can. I'll reopen the PR and restore the remote branch

@kokomo123 kokomo123 restored the add-win11-docs branch October 24, 2025 11:17
@kokomo123 kokomo123 reopened this Oct 24, 2025
@kokomo123 kokomo123 marked this pull request as draft October 24, 2025 11:20
@kokomo123
Copy link
Author

kokomo123 commented Oct 24, 2025

Converting this to a draft for now (i also had the allow edits by maintainers checked off this entire time, oops..)

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.

4 participants