[{"data":1,"prerenderedAt":306},["ShallowReactive",2],{"blog-post-install-windows-in-kvm":3,"recent-posts":238},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":11,"slugs":12,"linked_documents":14,"lang":15,"alternate_languages":16,"data":17},"XVN3ihMAACMAptkG","install-windows-in-kvm",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22XVN3ihMAACMAptkG%22%29+%5D%5D",[],"2019-08-14T03:22:26+0000","2020-12-12T08:09:27+0000",[13],"install-windows-in-kvm-ubuntu-18.04",[],"en-us",[],{"title":18,"date":23,"description":24,"image":29,"content":40},[19],{"type":20,"text":21,"spans":22},"heading1","Install Windows in KVM (Ubuntu 18.04)",[],"2019-05-06",[25],{"type":26,"text":27,"spans":28},"heading2","Is it possible to run Windows in KVM? I'll show you a step-by-step process on how to configure it under Ubuntu 18.04!",[],{"dimensions":30,"alt":33,"copyright":6,"url":34,"id":35,"edit":36},{"width":31,"height":32},1920,1080,"how to run windows in kvm","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002Fc9de42b091f5ed2a0b63ba2464cc9fd70b83bf48_windows_in_kvm.jpg?auto=compress,format","XVNyBhMAACEApsBp",{"x":37,"y":37,"zoom":38,"background":39},0,1,"#fff",[41,45,54,64,67,70,78,81,84,87,94,102,105,108,111,114,117,120,123,126,129,132,135,138,141,149,152,155,170,173,181,188,195,198,201,205,208,211,214,217,220,223,226,229,232,235],{"type":42,"text":43,"spans":44},"heading3","Intro",[],{"type":46,"text":47,"spans":48},"paragraph","Windows in KVM is one of the best hypervisors that built right into Linux.",[49,52],{"start":37,"end":50,"type":51},74,"em",{"start":37,"end":50,"type":53},"strong",{"type":46,"text":55,"spans":56},"Virtualization is one of the most amazing tools used by many to test drive any operating system they wish to install.",[57],{"start":58,"end":59,"type":60,"data":61},75,95,"hyperlink",{"link_type":62,"url":63},"Web","https:\u002F\u002Fmarkperez.dev\u002Fblog\u002Finstall-kali-linux-virtualbox-2019\u002F",{"type":46,"text":65,"spans":66},"Virtualbox, VMware, and even Microsoft's Hyper-V (Windows) are a great selection of software for anyone to start using a virtual machine.",[],{"type":46,"text":68,"spans":69},"One of the most popular hypervisors in Linux that is natively supported out of the box is KVM (Kernel-based Virtual Machine).",[],{"type":46,"text":71,"spans":72},"I previously used this virtual machine from my video on demonstrating how to install Arch Linux with LVM.",[73],{"start":74,"end":75,"type":60,"data":76},85,104,{"link_type":62,"url":77},"https:\u002F\u002Fmarkperez.dev\u002Fblog\u002Finstall-arch-linux-lvm\u002F",{"type":46,"text":79,"spans":80},"KVM can manage an enormous network of virtual labs running Linux without a sweat, but what about Windows?",[],{"type":42,"text":82,"spans":83},"Getting the perfect setup",[],{"type":46,"text":85,"spans":86},"After spending a fair amount of time searching for a well-written guide in order to proceed on this task, I decided to only focus on running a new single Windows instance.",[],{"type":88,"url":89,"alt":90,"copyright":6,"dimensions":91,"id":92,"edit":93},"image","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002Fda94461eb76c6eacd73c6e2c73b9bae10294d347_windows-in-3d.jpg?auto=compress,format","windows in 3d",{"width":31,"height":32},"XaAwtxAAACMAgAjt",{"x":37,"y":37,"zoom":38,"background":39},{"type":46,"text":95,"spans":96},"My previous goal used to be attempting to run macOS in order to see how well it would perform, but I realized it takes more work than I preferred to put in, which was something I wouldn't enjoy.",[97],{"start":98,"end":99,"type":60,"data":100},110,128,{"link_type":62,"url":101},"https:\u002F\u002Fgithub.com\u002Fkholia\u002FOSX-KVM",{"type":46,"text":103,"spans":104},"I had to copy and paste various commands to add each driver code, which led me to abandon the effort.",[],{"type":46,"text":106,"spans":107},"After seeing how simple the steps to install Windows would be, I rolled with it instead.",[],{"type":46,"text":109,"spans":110},"Picking Windows 7 was an automatic choice since 8 and 10 are bloated by default, and it would be a waste of time trying to optimize the OS.",[],{"type":46,"text":112,"spans":113},"Applications that are installed automatically such as Candy Crush are difficult to remove on Windows.",[],{"type":46,"text":115,"spans":116},"Windows 8 is less of a burden, but I found more support online for 7 so picked it instead.",[],{"type":46,"text":118,"spans":119},"Nonetheless, it detected Windows 7 and ran flawlessly after applying the recommended patches.",[],{"type":42,"text":121,"spans":122},"What's great about running KVM",[],{"type":46,"text":124,"spans":125},"After getting the Windows OS driver optimized under QEMU for it to render properly, it felt like brand new.",[],{"type":46,"text":127,"spans":128},"Driver settings such as networking, file system storage, and sound worked out of the box in the Windows guest.",[],{"type":46,"text":130,"spans":131},"The Windows guest was plug and play because of the virtIO drivers offered by Red Hat.",[],{"type":46,"text":133,"spans":134},"Usually, I would have to fiddle with it in order for the Windows guest to work, but the virtIO drivers made the performance all fine and dandy.",[],{"type":46,"text":136,"spans":137},"For the driver performance, the Windows guest felt more responsive than before on VirtualBox, and it seemed like a setup I might prefer over time.",[],{"type":46,"text":139,"spans":140},"If you have a Linux PC that's a bit slow in virtualization, then KVM is your best bet when trying out Windows.",[],{"type":46,"text":142,"spans":143},"Since it's a type-1 hypervisor, it has direct access to the hardware, which gives it more horsepower for it to use up.",[144],{"start":145,"end":146,"type":60,"data":147},39,68,{"link_type":62,"url":148},"https:\u002F\u002Fwww.phoronix.com\u002Fscan.php?page=article&item=virtualbox-60-kvm&num=1",{"type":46,"text":150,"spans":151},"Without further ado, I'll demonstrate how easy it is to begin installing Windows on it.",[],{"type":46,"text":153,"spans":154},"I'll be using Ubuntu 18.04.",[],{"type":156,"oembed":157},"embed",{"type":158,"embed_url":159,"title":21,"provider_name":160,"thumbnail_url":161,"width":162,"height":163,"version":164,"author_name":165,"author_url":166,"provider_url":167,"cache_age":6,"thumbnail_width":162,"thumbnail_height":168,"html":169},"video","https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=UzY1KcMi67M","YouTube","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FUzY1KcMi67M\u002Fhqdefault.jpg",480,270,"1.0","Mark Perez","https:\u002F\u002Fwww.youtube.com\u002Fchannel\u002FUCCZ1Yo4NOdWW03jamsNFA8w","https:\u002F\u002Fwww.youtube.com\u002F",360,"\u003Ciframe width=\"480\" height=\"270\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FUzY1KcMi67M?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen>\u003C\u002Fiframe>",{"type":42,"text":171,"spans":172},"Resources",[],{"type":174,"text":175,"spans":176},"list-item","Github guide",[177],{"start":37,"end":178,"type":60,"data":179},12,{"link_type":62,"url":180},"https:\u002F\u002Fgithub.com\u002Fhpaluch\u002Fhpaluch.github.io\u002Fwiki\u002FInstall-Windows7-on-KVM-Qemu",{"type":174,"text":182,"spans":183},"Windows 7 torrent file",[184],{"start":37,"end":185,"type":60,"data":186},22,{"link_type":62,"url":187},"https:\u002F\u002Farchive.org\u002Fdetails\u002FWindows7X64WithAllUpdates2018",{"type":174,"text":189,"spans":190},"VirtIO drivers download (Stable virtio-win iso)",[191],{"start":37,"end":192,"type":60,"data":193},47,{"link_type":62,"url":194},"https:\u002F\u002Fdocs.fedoraproject.org\u002Fen-US\u002Fquick-docs\u002Fcreating-windows-virtual-machines-using-virtio-drivers\u002Findex.html",{"type":42,"text":196,"spans":197},"Commands",[],{"type":46,"text":199,"spans":200},"Install the KVM and QEMU network drivers",[],{"type":202,"text":203,"spans":204},"preformatted","sudo apt install qemu qemu-kvm libvirt-bin bridge-utils virt-manager build-essential ",[],{"type":46,"text":206,"spans":207},"find your user",[],{"type":202,"text":209,"spans":210},"whoami",[],{"type":46,"text":212,"spans":213},"Disable password requirement with the user when launching \u003Ccode>virt-manager\u003C\u002Fcode>",[],{"type":202,"text":215,"spans":216},"sudo gpasswd -a (your_username) kvm",[],{"type":46,"text":218,"spans":219},"Enable the network and reboot the computer",[],{"type":202,"text":221,"spans":222},"sudo systemctl enable libvirtd virtlogd\nreboot",[],{"type":42,"text":224,"spans":225},"Conclusion",[],{"type":46,"text":227,"spans":228},"Hopefully, this should get you up to speed and start exploring what KVM and QEMU on Linux have to offer.",[],{"type":46,"text":230,"spans":231},"Once all of the performance optimizations are applied, you should have a performant virtual machine with each driver for the guest well-established!",[],{"type":46,"text":233,"spans":234},"It does take more time for it to add each driver code as compared to VirtualBox, but KVM's features might convince you otherwise.",[],{"type":46,"text":236,"spans":237},"If you would like to continue where I gave up, try installing macOS under Linux and let me know how it goes.",[],{"results":239,"page":38,"results_per_page":304,"results_size":304,"total_results_size":305,"total_pages":38},[240,264,284],{"id":241,"uid":242,"url":6,"type":7,"href":243,"tags":244,"first_publication_date":245,"last_publication_date":245,"slugs":246,"linked_documents":248,"lang":15,"alternate_languages":249,"data":250},"auzqGRIAACsAt55X","ubuntu-26-04-enable-fractional-scaling-on-wayland","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auzqGRIAACsAt55X%22%29+%5D%5D",[],"2026-11-05T20:46:37+0000",[247],"ubuntu-26.04-enable-fractional-scaling-on-wayland",[],[],{"image":251,"title":259},{"dimensions":252,"alt":6,"copyright":6,"url":255,"id":256,"edit":257},{"width":253,"height":254},1376,768,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FpVI5y1ileUlGp0ax_ubuntu26_04EnableFractionalScalingonWayland.jpeg?auto=format,compress","pVI5y1ileUlGp0ax",{"x":37,"y":37,"zoom":38,"background":258},"transparent",[260],{"type":20,"text":261,"spans":262,"direction":263},"Ubuntu 26.04: Enable Fractional Scaling on Wayland",[],"ltr",{"id":265,"uid":266,"url":6,"type":7,"href":267,"tags":268,"first_publication_date":269,"last_publication_date":269,"slugs":270,"linked_documents":272,"lang":15,"alternate_languages":273,"data":274},"auzo2RIAAC0At5xZ","ubuntu-26.04-undo-apt-install-with-apt-history","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auzo2RIAAC0At5xZ%22%29+%5D%5D",[],"2026-11-05T20:40:46+0000",[271],"ubuntu-26.04-undo-an-apt-install-with-apt-history-undo",[],[],{"image":275,"title":280},{"dimensions":276,"alt":6,"copyright":6,"url":277,"id":278,"edit":279},{"width":253,"height":254},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FqOqSwrMP0cjwe-66_Ubuntu26.04-UndoanAPTInstallwith%2522apthistory-undo%2522.jpg?auto=format,compress","qOqSwrMP0cjwe-66",{"x":37,"y":37,"zoom":38,"background":258},[281],{"type":20,"text":282,"spans":283,"direction":263},"Ubuntu 26.04: Undo an APT Install with \"apt history-undo\"",[],{"id":285,"uid":286,"url":6,"type":7,"href":287,"tags":288,"first_publication_date":289,"last_publication_date":289,"slugs":290,"linked_documents":292,"lang":15,"alternate_languages":293,"data":294},"auznGhIAACoAt5mB","ubuntu-26-04-enable-screen-time-limits","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auznGhIAACoAt5mB%22%29+%5D%5D",[],"2026-11-05T20:35:03+0000",[291],"ubuntu-26.04-enable-screen-time-limits-in-gnome",[],[],{"image":295,"title":300},{"dimensions":296,"alt":6,"copyright":6,"url":297,"id":298,"edit":299},{"width":253,"height":254},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F2p8DjpWKS20G9Wse_Ubuntu26.04-EnableScreenTimeLimitsinGNOME.jpeg?auto=format,compress","2p8DjpWKS20G9Wse",{"x":37,"y":37,"zoom":38,"background":258},[301],{"type":20,"text":302,"spans":303,"direction":263},"Ubuntu 26.04: Enable Screen Time Limits in GNOME",[],3,41,1793911620220]