i want to setup a windows 10 virtual machine on my manjaro distro through virt-manager.
the windows 10 is already installed and configured with all the softwares i need to run and is on a separate SSD on dev/sda how can i passthrough the SSD as a hard disk to virt-manager?
sorry i dont follow, what do you mean by edit it seperate to virt-manager? edit what?
and i have intel cpu not ryzen didnt see the video by wendell you posted thoâŚ
Okay, so Virt-Manager is the program you use in Manjaro to launch and manipulate VMâs
But it just takes the VMâs âXMLâ file, and runs it.
The XML file is like the recipe for the actual machine, and you could use different front ends to actually start/stop it.
Virsh is a program on the command line, that allows for editing of the XML, with finer grained control of what you can change, past what virt-manager can do.
It might use Vim as the default editor, so make sure you know how to :wq your way out of it, but Virsh basically just lets you do more.
When you save and quit out of Virsh, it will also trigger a check, to make sure all edits are sane, and there were no missing characters / punctuation etc.
You can use other apps to launch/run VMâs, like cockpit etc, but I lie virt-manager, as it has a lot of options available, in an easy to use graphical interface, but it lacks the power of the cliâŚ
got you, but where do i find the VM itself to open? i only have one thing in virt-manager its name is QEMU/KVM and the storage tab has two pools like so:
Huh, how about if you start the vm, and run virsh list while it is running in V-M?
Presuming you have already set up a VM, and are just fine tuning it.
If you did not make one to start with, beacuse of the HDD passthrough, then we go a different wayâŚ
Right, what kind of tasks would you like to do with your system once itâs all running?
Like, editing, or developing, or testing, or gaming?
Or just for services or hosting?
Okay, the reason I ask, is because GPUâs can be finnekey.
The link above briefly describes how to pass through a block device, in Virt-Manager, without having to mess with the cli/virsh.
It also suggests to use the /dev/disk/by-id/ name for the device, rather than the /dev/sda because that letter can change.
so if you did:
ls -la /dev/disk/by-id/ | grep sda
itâd give the ata-OCZVertex4000shdfjhsd name for the drive, which wonât change.
Itâll also list the partition names as -part1 and -part2 etc.
I would say look at the Arch Wiki for info as well, but there is a lot to take in, so take a little time, try a few things, hit some errors, google them and carry on trying the next bit.
Nvidia GPUâs are notorious for troubles in guests, but that is another can of wormsâŚ
Okay, not so useful. As a trial, I presume that you tried with the /dev/sda just to check?
I saw a few posts about having to delete part of the disk, but that is something you donât want to do if you can avoid it.
Another test would be to make a virtual storage pool rather than the raw disk, to make sure you can get something runngin, before you chuck the already-configured drive at it?
So just make any machine, and create a new storage space in any old folder, like a 30gb file, just to practice installing windows and stuff?