#How to install Windows 11 on a Virtual Machine
164 messages · Page 1 of 1 (latest)
Is there anything in particular you need help with?
^
I did some research on how to setup a virtual machine on linux but the guides i looked at haven't helped. So im kinda looking for someone to guide me through the proccess
also look over this
dont worry i used to use windows 11 before i switched to linux
yeah but the requirements
you need to set them correctly for the vm
you allocate parts of your hardware (number of cpu cores, amount of ram) to the vm
thats more than enough lol, youll be fine
ok so what do you need help with
setting up the vm? what vm software to use? how to get the iso?
installing virtualbox correctly and being able to run windows
i have downloaded the iso
you can just look up a guide probs
.
the furthest i got
was installing virtual box
setting up the virtu machine
but then i cant boot because the "kernel drivers not installed"
and i read 3 guides non of them explaning how to fix it properly
im also not sure which virtualbox packages to install
Which one did you install?
Do you know which kernel your system is running?
cat /proc/cmdline can provide info on that btw
Alright good
Try installing virtualbox-host-modules-arch and removing virtualbox-host-dkms
done
basically I'm reading from this https://wiki.archlinux.org/title/VirtualBox#Load_the_VirtualBox_kernel_modules
i also get this error just after creating the virtual machien
OH
WAI
i ran that modprobe command
something is happening
In new versions of virtualbox they have the unattended installation thing checked by default for some operating systems
its taking a long time to load
But is it actually loading?
VirtualBox isn't really the best performing hypervisor available either
modprobe can load it on a running system
ah
If all else fails, try virt-manager
https://wiki.archlinux.org/title/Virt-Manager
But if you mess up the first boot from an iso, you'd have to do back end config to reattach it.
(These kinds of subtle issues with GNOME frustrate me.)
Use LSW /j
@hybrid rain make sure that the box is checked to skip the unattended install, I'm not sure Windows has capabilities to handle that like Linux has.
ok
That's from back at the VM creation window btw
yeah
i was just restoring my snapshot again
because i broke vbox somehow
but i made a system snapshot before i installed anything
I did this but it still isnt doin anything
Now how do i exit
i can't click and buttons in the program
It's one of the Ctrl or Alt keys or combo of them
Do you mean that the mouse is captured by the VM window?
just whenever i hover my mouse over the VM window its just the loading cursor and i cant click anything on that window
I found two processes running when I killed mine
Yeah, I'm using Fedora at the moment so I can't really test all that well lmao
ok
libvirtd + virt-manager is so much better, it's FOSS, no pay for premium, works good, made for linux primarily, and I've had a (mostly) painless history.
I installed those and get this error
I fixed it
But
when i click New Virtual Machine
im stuck ehre
and then
i read the guide
and fixed it
lol
Sort of yeah
I setup a virtual machine with Windows 11 using the iso provided on microsofts website
However
instead of booting to the windows setup screen
it boots to a really weird terminal interface with bootloader settings and a Shell
So i have no idea whats happening there
I think you need to attach the iso properly and configure it in the boot order
you downloaded the regular installer iso right?
or something meant for a vm?
The Windows 11 Disk Image ISO
im not sure how to do that
I did using this
how did you do it
brb
okay so I attached a blank disk (qcow2 is good since its expandable and copyonwrite means if the disk is of 32gb, but only 10gb is used the disk image file size is 10gb)
and I attached the iso
and then I booted the installer iso and installed on the disk
like we do irl, we use a installer usb to install to a bigger disk
Hey, I don't usually write guides, but I couldn't find one to follow for setting up Windows 11 in QEMU, so I figured I'll write what I found myself. I did this on Manjaro, but you should be able to do it from any distro. Since I just wrote the steps I got to get it to let me install, I can't prom...
I installed win10...
.aw virtualbox
No need. You need to follow the wiki
You need kernel headers tho
I do not like the arch wiki
this is exactly wwhat i need
But it's the official place to get help
^
Arch wiki tells exactly how to setup virtualbox
i switched to virt-manger
its simpler than virtualbox
Both are good
I run both
Yet you still need kernel headers
it's very good and comprehensive actually learns you something rather than just getting your stuff to work...
Yup. When using Arch, read the wiki
It literally has all the steps you need to do something
even for libvirtd? don't they like install automatically
I don't remember explicitly installing those for qemu/libvirtd...
Instead of random, outdated guides
It's good to have those just in case
Since I use the LTS and Zen kernel, I need those
Now I'm running zen too, albeit it's only ~2days old
Both are good
You need to change your user agent or use a Linux PC to get windoz ISO
As Ms website will give you the mct exe instead of the iso if on windoz
That's why I use arch also 
Direct iso download
virt-manager requires a user to hit apply at the bottom of the VM settings page for every hardware item entry. It's annoying when first using it because it's possible to forget so it won't boot from a device. Also needs a user to be part of the libvirt group with the setting enabled in /etc/libvirt/libvirtd.conf. https://wiki.archlinux.org/title/Virt-Manager
I'm actually having some issues right now with the permissions config setting myself... in fedora lol
Here's a reference to commands for EFI shell if needed... There might be some scenarios where they might be needed. https://docstore.mik.ua/manuals/hp-ux/en/5991-1247B/ch04s13.html
Using Management Interfaces and Tools -- nPartition Administrator's Guide, HP Part Number '5991-1247B', Publication Date 'February 2007'