<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kvm on Sysadmin Tales</title>
    <link>https://blog.ssb-tech.net/tags/kvm/</link>
    <description>Recent content in Kvm on Sysadmin Tales</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 02 Oct 2026 21:39:10 -0400</lastBuildDate>
    <atom:link href="https://blog.ssb-tech.net/tags/kvm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Issues transferring Windows 11 VM from KVM to Proxmox</title>
      <link>https://blog.ssb-tech.net/posts/windows-kvm-woes/</link>
      <pubDate>Fri, 20 Feb 2026 21:11:38 -0500</pubDate>
      <guid>https://blog.ssb-tech.net/posts/windows-kvm-woes/</guid>
      <description>&lt;p&gt;I ran into a strange issue when trying to transfer a Windows 11 Pro virtual machine from KVM on my Fedora desktop to Proxmox.&lt;/p&gt;&#xA;&lt;p&gt;The VM was using a VirtIO block device for it&amp;rsquo;s storage as I normally do.&lt;/p&gt;&#xA;&lt;p&gt;I transferred the VM qcow2 file to Proxmox and created a new VM with matching hardware, the imported the disk with:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;qm importdisk &lt;span style=&#34;color:#ae81ff&#34;&gt;300&lt;/span&gt; win11.qcow2 fast&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;(&lt;code&gt;fast&lt;/code&gt; being the name of my SSD zpool.)&lt;/p&gt;&#xA;&lt;p&gt;However when I went to boot the VM, it refused to boot at all.&lt;/p&gt;&#xA;&lt;p&gt;Originally, it seemed to be some sort of issue with the EFI bootloader.&lt;/p&gt;&#xA;&lt;p&gt;I was able to boot into a Windows install disk and recreate the EFI partition with &lt;code&gt;diskpart&lt;/code&gt; and &lt;code&gt;bcdboot&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Once I&amp;rsquo;d done that, the VM attempted to boot Windows. Rejoice&amp;hellip; or not.&lt;/p&gt;&#xA;&lt;p&gt;Nope, now it&amp;rsquo;s getting an &lt;code&gt;INACCESSIBLE BOOT DEVICE&lt;/code&gt; BSOD.&lt;/p&gt;&#xA;&lt;p&gt;I tried innumerable things without success, the golden ticket wound up being this &lt;a href=&#34;https://superuser.com/questions/1057959/windows-10-in-kvm-change-boot-disk-to-virtio&#34;&gt;superuser.com thread&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I had to first:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Change my boot disk to use SATA instead of VirtIO.&lt;/li&gt;&#xA;&lt;li&gt;Boot into Windows.&lt;/li&gt;&#xA;&lt;li&gt;Enable Safe Mode &lt;code&gt;bcdedit /set &amp;quot;{current}&amp;quot; safeboot minimal&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Shut down the VM, change the boot disk back to VirtIO.&lt;/li&gt;&#xA;&lt;li&gt;Let it boot up into Safe Mode.&lt;/li&gt;&#xA;&lt;li&gt;Revert to normal boot. &lt;code&gt;bcdedit /deletevalue &amp;quot;{current}&amp;quot; safeboot&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I still don&amp;rsquo;t quite understand what the problem was here.&lt;/p&gt;&#xA;&lt;p&gt;Windows has the concept of &amp;ldquo;boot start&amp;rdquo; drivers, yes, where it only loads a subset of the available drivers at first boot, but I had been using the VirtIO drivers since this OS was first installed, so why was this suddenly a problem?&lt;/p&gt;&#xA;&lt;p&gt;Apparently, rebooting into Safe Mode this way forces Windows to load all available boot start drivers, and because VirtIO worked here, it then remembered that for the next, normal boot.&lt;/p&gt;&#xA;&lt;p&gt;If anyone has an actual explanation for why this happened I&amp;rsquo;d appreciate it.&lt;/p&gt;&#xA;&lt;p&gt;I wasted &lt;em&gt;far&lt;/em&gt; too much time on this, I could have wiped and reloaded the VM many times over in the time it took me to fix this, but it bothered me far too much to let it go.&lt;/p&gt;&#xA;&lt;p&gt;This kind of nonsense makes me glad I&amp;rsquo;ve switched to using almost exclusively Linux in my personal life.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
