Author: Erik Leth DanielsenPRELIMINARY
Virt Manager Qemu Kvm
Virt Manager Qemu Kvm
Virt Manager view on my linux debian server
Virt Manager KVM (kernel-based virtual machine)
Is a open source tool for running other machines on your linux server, windows and linux.
I'm using it for running my old windows 7 pc. and doing test on other operating systems.
Virt Manager is a user interface for maningen QEMU running KVM
KVM's runs nearly native performance, so I can work on my windows 7 machine as it was installed on it's own hardware.
Instead of writing command line for QEMU which is difficult, you can use Virt Manager to create the command line for QEMU.
Install Virt Manager on Debian Linux
sudo apt install virt-manager
QEMU(short for Quick EMUlator)
Is a command line open source virtuel mashine emulator like (Virtualbox),
When you install Virt Manager you automatic get QEMU
1. Additional image manipulation resize qcow2 image size
Beware, Shrink the disk partition first with Windows Disk Management see 2.
sudo qemu-img resize /home/virt/images/eldwin7.qcow2 +20G
sudo qemu-img resize /home/virt/images/eldwin7.qcow2 --shrink -10G
sudo qemu-img resize /home/virt/images/eldwin7.qcow2 --shrink 60G
Convert will copy and compress the image to minimum size, and then it will grow when it need more space.
It can also be used for converting from other formats
sudo qemu-img convert -c -O qcow2 eldwin7.qcow2 eldwin72.qcow2
2. Additional Windows 7 Shrink Disk Partition before resize
1. Disable paging file ' this will remove Pagefile.sys
2. Control Panel, Program and Features, Turm Windows features on or off, Disable MSMQ
3. Reset Catroot2 see: https://mywindowshub.com/what-are-catroot-and-catroot2-folders-how-to-reset-the-folder/
4. Run Windows Disk Manegement
Windows Spice Guest Drivers and vdAgent for clipboard sharing
All Drivers: https://spice-space.org/download.html
vdAgent only: https://spice-space.org/download/windows/vdagent/
Remember to Add Channel: https://www.reddit.com/r/linux/comments/asw4wk/to_all_you_virtmanager_and_spice_display_users/
Virt Manager: https://virt-manager.org
Virt Manager: https://www.youtube.com/watch?v=jLRmVNWOrgo
What is QEMU: https://www.youtube.com/watch?v=OhUJeuviwhE
Gaming Virt Manager: https://www.youtube.com/watch?v=HXgQVAl4JB4
Add LXC Contaner: https://www.linuxjournal.com/content/running-gnome-container