<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows 11 &#8211; richliu&#039;s blog</title>
	<atom:link href="https://blog.richliu.com/tag/windows-11/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Sat, 31 Aug 2024 16:17:27 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>Ｗindows 11 瀏覽器圖片無法顯示/ERR_SSL_PROTOCOL_ERROR</title>
		<link>https://blog.richliu.com/2024/07/21/6002/%ef%bd%97indows-11-%e7%80%8f%e8%a6%bd%e5%99%a8%e5%9c%96%e7%89%87%e7%84%a1%e6%b3%95%e9%a1%af%e7%a4%ba-err_ssl_protocol_error/</link>
					<comments>https://blog.richliu.com/2024/07/21/6002/%ef%bd%97indows-11-%e7%80%8f%e8%a6%bd%e5%99%a8%e5%9c%96%e7%89%87%e7%84%a1%e6%b3%95%e9%a1%af%e7%a4%ba-err_ssl_protocol_error/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 21 Jul 2024 05:09:23 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows 11]]></category>
		<guid isPermaLink="false">https://blog.richliu.com/?p=6002</guid>

					<description><![CDATA[<p>這幾天碰到的一個怪問題，就是在瀏覽很多網站的時候，很多照片會出不來，但是又不是完全出不來。偶爾會出現幾張 如果 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/07/21/6002/%ef%bd%97indows-11-%e7%80%8f%e8%a6%bd%e5%99%a8%e5%9c%96%e7%89%87%e7%84%a1%e6%b3%95%e9%a1%af%e7%a4%ba-err_ssl_protocol_error/">Ｗindows 11 瀏覽器圖片無法顯示/ERR_SSL_PROTOCOL_ERROR</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>這幾天碰到的一個怪問題，就是在瀏覽很多網站的時候，很多照片會出不來，但是又不是完全出不來。偶爾會出現幾張</p>



<p>如果清楚瀏覽紀錄和同步系統時間也沒有用，那就有可能是系統安裝的憑證作怪</p>



<p>沒有將解決過程截圖，但是大概講一下解決思路</p>



<span id="more-6002"></span>



<p>首先就是用 Chrome or Edge ，排除掉 Plugin 的問題，如果不知道也沒關係，先關掉自己知道的 Plugin 就好，像是 ublock </p>



<p>然後開 F12 進 debug 模式，選 Network 標籤（以下非出事機器，僅為示意圖）</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="2450" height="1164" src="https://blog.richliu.com/wp-content/uploads/2024/07/image.png" alt="" class="wp-image-6003" srcset="https://blog.richliu.com/wp-content/uploads/2024/07/image.png 2450w, https://blog.richliu.com/wp-content/uploads/2024/07/image-600x285.png 600w, https://blog.richliu.com/wp-content/uploads/2024/07/image-768x365.png 768w, https://blog.richliu.com/wp-content/uploads/2024/07/image-1536x730.png 1536w, https://blog.richliu.com/wp-content/uploads/2024/07/image-2048x973.png 2048w, https://blog.richliu.com/wp-content/uploads/2024/07/image-816x388.png 816w" sizes="(max-width: 2450px) 100vw, 2450px" /></figure>



<p>然後按 Reload (or Ctrl+R) 重讀頁面，記得是在 Status 的地方會顯示原因，我碰到的是 net::ERR_SSL_PROTOCOL_ERROR</p>



<p>如果運氣好直接在頁面無法顯示，並且出現 ERR_SSL_PROTOCOL_ERROR 在首頁，那應該也適用</p>



<p><strong>解法就是移除掉系統內不明的認證</strong></p>



<p>打開 Edge ，選右上角三個點 […]出現選單，選[設定]，在設定內搜尋 SSL ，找到之後，在管理憑證，打開 IP-HTTPS/SSL 憑證和設定那個選項，刪除所有奇怪的憑證</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1756" height="906" src="https://blog.richliu.com/wp-content/uploads/2024/07/image-1.png" alt="" class="wp-image-6004" srcset="https://blog.richliu.com/wp-content/uploads/2024/07/image-1.png 1756w, https://blog.richliu.com/wp-content/uploads/2024/07/image-1-600x310.png 600w, https://blog.richliu.com/wp-content/uploads/2024/07/image-1-768x396.png 768w, https://blog.richliu.com/wp-content/uploads/2024/07/image-1-1536x792.png 1536w, https://blog.richliu.com/wp-content/uploads/2024/07/image-1-816x421.png 816w" sizes="(max-width: 1756px) 100vw, 1756px" /></figure>



<p><mark style="background-color:rgba(0, 0, 0, 0);color:#f90606" class="has-inline-color">這個步驟有可能會刪除系統內重要憑證，像是券商或是金融憑證，使用時請小心，刪除前請備份</mark>，以下是示意圖，非出事機器的憑證</p>



<figure class="wp-block-image size-full"><img decoding="async" width="912" height="814" src="https://blog.richliu.com/wp-content/uploads/2024/07/image-2.png" alt="" class="wp-image-6005" srcset="https://blog.richliu.com/wp-content/uploads/2024/07/image-2.png 912w, https://blog.richliu.com/wp-content/uploads/2024/07/image-2-600x536.png 600w, https://blog.richliu.com/wp-content/uploads/2024/07/image-2-768x685.png 768w, https://blog.richliu.com/wp-content/uploads/2024/07/image-2-816x728.png 816w" sizes="(max-width: 912px) 100vw, 912px" /></figure>



<p>我是刪完就正常了</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/07/21/6002/%ef%bd%97indows-11-%e7%80%8f%e8%a6%bd%e5%99%a8%e5%9c%96%e7%89%87%e7%84%a1%e6%b3%95%e9%a1%af%e7%a4%ba-err_ssl_protocol_error/">Ｗindows 11 瀏覽器圖片無法顯示/ERR_SSL_PROTOCOL_ERROR</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2024/07/21/6002/%ef%bd%97indows-11-%e7%80%8f%e8%a6%bd%e5%99%a8%e5%9c%96%e7%89%87%e7%84%a1%e6%b3%95%e9%a1%af%e7%a4%ba-err_ssl_protocol_error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install ARM64 Windows 11 on ARM64 QEMU System</title>
		<link>https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/</link>
					<comments>https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sat, 03 Feb 2024 03:58:49 +0000</pubDate>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Altra]]></category>
		<category><![CDATA[arm64]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[Windows 11]]></category>
		<guid isPermaLink="false">https://blog.richliu.com/?p=5752</guid>

					<description><![CDATA[<p>Chinese article version: 在 ARM64 QEMU System 上安裝 ARM64  [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/">Install ARM64 Windows 11 on ARM64 QEMU System</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="1338" height="921" src="https://blog.richliu.com/wp-content/uploads/2024/02/image.png" alt="" class="wp-image-5725" style="aspect-ratio:1.4527687296416938;width:279px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image.png 1338w, https://blog.richliu.com/wp-content/uploads/2024/02/image-600x413.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-768x529.png 768w" sizes="(max-width: 1338px) 100vw, 1338px" /></figure></div>


<p>Chinese article version: <a href="https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/">在 ARM64 QEMU System 上安裝 ARM64 Windows 11</a></p>



<p>Nowadays, ARM64 systems have become relatively mature, and recently, Windows 11 for ARM64 can also be installed on these systems. Naturally, there are people who want to run it on QEMU. However, most articles on this topic are not well-organized.</p>



<p>Here, let&#8217;s document the things what I discoverd and need to be prepared.</p>



<span id="more-5752"></span>



<h2 class="wp-block-heading">Preparations Hardware and Software</h2>



<p>1) System: Ampere Altra CPU<br />Small ARM64 dev boards like RPI4 or RPI5 should also work, but installing on them might not be necessary, because it only has limitation CPU power and Memory. A more cost-effective solution is to use Apple Mx series CPUs [<a href="https://gist.github.com/CombinedEffort/bb7ffd950692f80a42f0400bd9c10ac3" target="_blank" rel="noopener">ref</a>], as they are also ARM64, and many people purchase them for installing Linux.</p>



<p>2) ARM64 ISO Image <br />While there are numerous options available on internet, for a relatively legal acquisition of the ISO image, it is recommended to use <a href="https://github.com/richliu/Windows-11-On-Ampere" target="_blank" rel="noopener">Windows-11-On-Ampere</a><br />This step can be a bit complex, but the key is to use UUP Dump to fetch the Windows ISO and then use Rufus to burn it onto a USB Flash drive. During the burning process, Rufus can override some of the restrictions of Windows 11, such as TPM Support, which may not be fully supported on ARM64 CPUs.</p>



<p>3) Windows Virtio Driver </p>



<p>Download the Windows Virtio driver and place it into the USB Disk that was created in the previous step. </p>



<p>Here has download URL can download the Windows virtio driver : <a href="https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers#Using_the_ISO" target="_blank" rel="noopener">Proxmox Windows VirtIO Drivers</a>, alternative download website: &nbsp;<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" target="_blank" rel="noopener">download the latest stable</a> or &nbsp;<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso" target="_blank" rel="noopener">download the most recent</a>. <br />After downloading, extract the ISO contents and place them onto the USB Disk.</p>



<p>4) Convert USB Dump to Image <br />Linux users are likely familiar with this step.</p>



<pre class="wp-block-preformatted">dd if=/dev/sda of=/storage/Win11_ARM64_INSTALL.img</pre>



<p><br />Why go through these steps? The primary reason is that within QEMU, it seems Windows cannot simultaneously configure two ISO devices. I encountered a freeze when attempting to install using the straightforward method. Hence, I went through this elaborate process to make it install smoothly.</p>



<p>5) virt-manager <br />Most examples available to others involve pure QEMU commands. However, this time, I wanted to avoid typing a bunch of commands and preferred a more user-friendly approach. Therefore, the examples provided here utilize virt-manager. Nonetheless, I believe the underlying logic is the same.</p>



<h2 class="wp-block-heading">New Virtual Machine on QEMU</h2>


<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="453" height="515" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-1.png" alt="" class="wp-image-5726" style="aspect-ratio:0.8796116504854369;width:289px;height:auto"/></figure></div>


<p>Virt Type: KVM<br />Architecutre: aarch64 <br />Machine Type: virt </p>



<p>Next step, choice the ISO image we just created Win11_ARM64_INSTALL.img, Choose &#8220;the operaion system you are installing:  Microsoft Windows 11&#8221;</p>



<p>For the CPU and memory, I used 16 cores and 16GB, which should be sufficient. A smaller combination might work, but I haven&#8217;t tested it because I&#8217;m too lazy to do so.</p>



<p>It&#8217;s recommended to set up the Disk Image manually, virt-manager tends to allocate the entire specified disk space right from the start, which may not be space-efficient. Windows 11, with its minimum space requirement of 52GB, can be allocated around 60GB or more based on your needs. Here is example command to pre-create qemu image. </p>



<p>qemu-img create -f qcow2 MyImage.qcow2 60G</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="463" height="450" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-2.png" alt="" class="wp-image-5727" style="aspect-ratio:1.028888888888889;width:290px;height:auto"/></figure></div>


<p>Before executing, choose &#8220;Customize configuration before install.&#8221; There are certain adjustments to make. Remember to enable the XML editing feature within virt-manager beforehand. Go to the main program, select Edit -&gt; Preferences -&gt; Enable XML editing, and ensure it is checked.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="512" height="339" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-4.png" alt="" class="wp-image-5729" style="aspect-ratio:1.5103244837758112;width:288px;height:auto"/></figure></div>


<p><br />In the XML section related to CPUs, locate the segment pertaining to &#8216;hyperv,&#8217; and modify it with the following settings:</p>



<pre class="wp-block-preformatted">    &lt;hyperv mode="custom"&gt;
      &lt;relaxed state="off"/&gt;
      &lt;vapic state="off"/&gt;
      &lt;spinlocks state="off"/&gt;
    &lt;/hyperv&gt;</pre>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="896" height="604" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-3.png" alt="" class="wp-image-5728" style="aspect-ratio:1.4834437086092715;width:520px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-3.png 896w, https://blog.richliu.com/wp-content/uploads/2024/02/image-3-600x404.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-3-768x518.png 768w" sizes="(max-width: 896px) 100vw, 896px" /></figure></div>


<p>In the CPU section, change the quantity from &#8216;sockets&#8217; to &#8216;cores.&#8217; Below is an example for 16 cores:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="439" height="438" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-8.png" alt="" class="wp-image-5733" style="aspect-ratio:1.0022831050228311;width:311px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-8.png 439w, https://blog.richliu.com/wp-content/uploads/2024/02/image-8-300x300.png 300w" sizes="(max-width: 439px) 100vw, 439px" /></figure></div>


<p>Add those hardware setting into current configuration: <br />Input -&gt; USB Keyboard<br />Input -&gt; EvTouch USB Graphics Tablet <br />Graphics -&gt; Spice server<br />Video -&gt; Ramfb </p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="550" height="624" data-id="5735" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1.png" alt="" class="wp-image-5735" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1.png 550w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1-529x600.png 529w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="550" height="622" data-id="5736" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2.png" alt="" class="wp-image-5736" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2.png 550w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2-531x600.png 531w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="553" height="624" data-id="5737" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3.png" alt="" class="wp-image-5737" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3.png 553w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3-532x600.png 532w" sizes="(max-width: 553px) 100vw, 553px" /></figure>
</figure>



<p><br /><br /><br />For the Video option, it is essential to choose Ramfb; otherwise, the graphics might not display properly. QXL or Virtio should not be used. Virtio-gpu-pci hasn&#8217;t been tested, but some suggest it might work[<a href="https://github.com/utmapp/UTM/issues/3293" target="_blank" rel="noopener">ref</a>].</p>



<p>Lastly, in Storage, add a USB CDROM device and set it up with the Win11_ARM64_INSTALL.img file you created earlier.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="600" height="646" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-6.png" alt="" class="wp-image-5731" style="aspect-ratio:0.9287925696594427;width:276px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-6.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-6-557x600.png 557w" sizes="(max-width: 600px) 100vw, 600px" /></figure></div>


<p>In the Boot Options section, enable the option for USB CDROM 1, and then you should be ready to boot.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="646" height="597" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-7.png" alt="" class="wp-image-5732" style="aspect-ratio:1.082077051926298;width:388px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-7.png 646w, https://blog.richliu.com/wp-content/uploads/2024/02/image-7-600x554.png 600w" sizes="(max-width: 646px) 100vw, 646px" /></figure></div>


<p>If the configuration is correct, you should be able to boot to this screen successfully.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1246" height="935" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-9.png" alt="" class="wp-image-5734" style="aspect-ratio:1.3326203208556149;width:616px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-9.png 1246w, https://blog.richliu.com/wp-content/uploads/2024/02/image-9-600x450.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-9-768x576.png 768w" sizes="(max-width: 1246px) 100vw, 1246px" /></figure></div>


<p><br />If following the above steps results in a hang during the installation process, you can try adjusting the boot options by changing the boot order. Try setting &#8220;disk&#8221; first and &#8220;USB CD ROM&#8221; second.</p>



<h2 class="wp-block-heading">Install Windows</h2>



<p>Under normal circumstances, Windows might not detect the disk. In such cases, select &#8220;Load driver&#8221; -&gt; &#8220;25982_1000_ARM64_EN-US(C:)&#8221; -&gt; &#8220;Virtio-driver&#8221; -&gt; &#8220;viostor&#8221; -&gt; &#8220;win11&#8221; -&gt; &#8220;ARM64&#8221; (Note: The labels and directories here may vary based on different configurations).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="927" height="693" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-10.png" alt="" class="wp-image-5739" style="aspect-ratio:1.3376623376623376;width:495px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-10.png 927w, https://blog.richliu.com/wp-content/uploads/2024/02/image-10-600x449.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-10-768x574.png 768w" sizes="(max-width: 927px) 100vw, 927px" /></figure></div>


<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1116" height="693" data-id="5740" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5.png" alt="" class="wp-image-5740" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5.png 1116w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5-600x373.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5-768x477.png 768w" sizes="(max-width: 1116px) 100vw, 1116px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="931" height="693" data-id="5741" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6.png" alt="" class="wp-image-5741" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6.png 931w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6-600x447.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6-768x572.png 768w" sizes="(max-width: 931px) 100vw, 931px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="928" height="693" data-id="5742" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7.png" alt="" class="wp-image-5742" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7.png 928w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7-600x448.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7-768x574.png 768w" sizes="(max-width: 928px) 100vw, 928px" /></figure>
</figure>



<p>In the final step, for the NIC driver, when prompted to connect to the network upon the initial entry into Windows 11, select &#8220;Install driver&#8221; -&gt; &#8220;25982_1000_ARM64_EN-US(D:)&#8221; -&gt; &#8220;Virtio-driver&#8221; -&gt; &#8220;NetKVM&#8221; -&gt; &#8220;win11&#8221; -&gt; &#8220;ARM64&#8221;.</p>



<p>With this, you should have successfully completed the installation of Windows 11.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1047" height="715" data-id="5743" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8.png" alt="" class="wp-image-5743" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8.png 1047w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8-600x410.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8-768x524.png 768w" sizes="(max-width: 1047px) 100vw, 1047px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" data-id="5744" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_9.png" alt="" class="wp-image-5744"/></figure>
</figure>



<p>Happy Playing Windows 11 on ARM64 Qemu </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1175" height="874" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-11.png" alt="" class="wp-image-5745" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-11.png 1175w, https://blog.richliu.com/wp-content/uploads/2024/02/image-11-600x446.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-11-768x571.png 768w" sizes="(max-width: 1175px) 100vw, 1175px" /></figure>



<p>ref.<br /><a href="https://github.com/virtio-win/virtio-win-pkg-scripts" target="_blank" rel="noopener">virtio-win / virtio-win-pkg-scripts</a><br /></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/">Install ARM64 Windows 11 on ARM64 QEMU System</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>在 ARM64 QEMU System 上安裝 ARM64 Windows 11</title>
		<link>https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/</link>
					<comments>https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 02 Feb 2024 15:59:28 +0000</pubDate>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Altra]]></category>
		<category><![CDATA[Ampere]]></category>
		<category><![CDATA[arm64]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[Windows 11]]></category>
		<guid isPermaLink="false">https://blog.richliu.com/?p=5724</guid>

					<description><![CDATA[<p>Install ARM64 Windows 11 on ARM64 QEMU system</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/">在 ARM64 QEMU System 上安裝 ARM64 Windows 11</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="1338" height="921" src="https://blog.richliu.com/wp-content/uploads/2024/02/image.png" alt="" class="wp-image-5725" style="aspect-ratio:1.4527687296416938;width:279px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image.png 1338w, https://blog.richliu.com/wp-content/uploads/2024/02/image-600x413.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-768x529.png 768w" sizes="(max-width: 1338px) 100vw, 1338px" /></figure></div>


<p>English please see : <a href="https://blog.richliu.com/2024/02/03/5752/install-arm64-windows-11-on-arm64-qemu-system/(在新分頁中開啟)">Install ARM64 Windows 11 on ARM64 QEMU System</a></p>



<p>現在 ARM64 的系統相對成熟了，最近 Windows 11 for ARM64 也可以在系統上安裝，自然也會有人想弄到 QEMU 上去，不過看來看去，大部份都沒有整理完畢的文章</p>



<p>這邊記錄一下需要準備的東西</p>



<span id="more-5724"></span>



<h2 class="wp-block-heading">準備</h2>



<p>1) 系統：Ampere Altra CPU <br />RPI4 or RPI5 這種開發板應該也可以，因為這些板子只有有限的 CPU Power 和記憶體，就沒有安裝 qemu 的必要性，便宜一點的解決方案就是 Apple Mx 系列的 CPU [<a href="https://gist.github.com/CombinedEffort/bb7ffd950692f80a42f0400bd9c10ac3" target="_blank" rel="noopener">ref</a>]，因為也是 ARM64 ，而且很多人也是買來安裝 Linux</p>



<p>2) ARM64 ISO Image <br />網路上應該很多，不過如果要相對合法取得 ISO image ，推薦 <a href="https://github.com/richliu/Windows-11-On-Ampere" target="_blank" rel="noopener">Windows-11-On-Ampere</a><br />這步驟有點複雜，不過重點是用 UUP Dump 抓回 Windows ISO ，然後用 Rufus 燒到 USB Flash ，在燒錄的時候 Rufus 可以解除一些 Windows 11 的限制，像是 TPM Support 等等這些在 ARM64 CPU 還不完全支援的設定</p>



<p>3) Windows Virtio Driver </p>



<p>下載 Windows virtio driver，然後放進去剛剛那一步做到的 USB Disk </p>



<p><a href="https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers#Using_the_ISO" target="_blank" rel="noopener">Proxmox Windows VirtIO Drivers</a> 這邊有下載點，&nbsp;<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" target="_blank" rel="noopener">download the latest stable</a> or &nbsp;<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso" target="_blank" rel="noopener">download the most recent</a>&nbsp;，都可以下載到 VirtIO ISO，下載完將 ISO 解開放到 USB Disk </p>



<p>4) 將 USB Dump 成 Image <br />Linux user 應該很熟這個步驟</p>



<pre class="wp-block-preformatted">dd if=/dev/sda of=/storage/Win11_ARM64_INSTALL.img</pre>



<p>為什麼要這樣做？最大的原因就是 QEMU 內 Windows 現在似乎沒辦法同時設定二個 ISO 設備，我之前這樣裝會卡住。所以就繞了一大串讓它可以裝，還可以吧</p>



<p>5) virt-manager <br />其他人能找到的範例都是 qemu command ，不過我這次實在是不想打一堆指令，只想點點點，所以這次的範例都是用 virt-manager ，不過我相信背後的思路都是一樣的</p>



<h2 class="wp-block-heading">New Virtual Machine </h2>


<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="453" height="515" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-1.png" alt="" class="wp-image-5726" style="aspect-ratio:0.8796116504854369;width:289px;height:auto"/></figure></div>


<p>Virt Type: KVM<br />Architecutre: aarch64 <br />Machine Type: virt </p>



<p>下一步，ISO image 選剛剛做好的 Win11_ARM64_INSTALL.img，Choose the operaion system you are installing: 選 Microsoft Windows 11</p>



<p>CPU 和記憶體我用 16 cores 和 16GB，小一點應該也可以，不過我懶得試了</p>



<p>如果空間不夠，Disk Image 建議自己設定，virt-manager 設定會一開始就 allocate 設定的 disk space ，不省空間，Windows 11 最小需求空間是 52G ，可以設 60G 或是更大，看需求<br />這邊是範例命令，可以預先建好硬碟空間</p>



<p>qemu-img create -f qcow2 MyImage.qcow2 60G</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="463" height="450" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-2.png" alt="" class="wp-image-5727" style="aspect-ratio:1.028888888888889;width:290px;height:auto"/></figure></div>


<p>在執行之前選擇 Customize configuration before install，有些東西要修改，記得要先開啟 virt-manager 內的 XML 修改功能，在主程式下的 Edit -&gt; Perferences -&gt; Enable XML editing ，請勾選</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="512" height="339" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-4.png" alt="" class="wp-image-5729" style="aspect-ratio:1.5103244837758112;width:288px;height:auto"/></figure></div>


<p>在 CPUs 的 XML 這一段，找到 hyperv 這一段，改成如下的設定</p>



<pre class="wp-block-preformatted">    &lt;hyperv mode="custom"&gt;
      &lt;relaxed state="off"/&gt;
      &lt;vapic state="off"/&gt;
      &lt;spinlocks state="off"/&gt;
    &lt;/hyperv&gt;</pre>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="896" height="604" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-3.png" alt="" class="wp-image-5728" style="aspect-ratio:1.4834437086092715;width:520px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-3.png 896w, https://blog.richliu.com/wp-content/uploads/2024/02/image-3-600x404.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-3-768x518.png 768w" sizes="(max-width: 896px) 100vw, 896px" /></figure></div>


<p>在 CPU 數量，要從 sockets 改成 Cores，以下就是 16 Cores 的範例</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="439" height="438" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-8.png" alt="" class="wp-image-5733" style="aspect-ratio:1.0022831050228311;width:311px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-8.png 439w, https://blog.richliu.com/wp-content/uploads/2024/02/image-8-300x300.png 300w" sizes="(max-width: 439px) 100vw, 439px" /></figure></div>


<p>Add hardware ，加入以下設定<br />Input -&gt; USB Keyboard<br />Input -&gt; EvTouch USB Graphics Tablet <br />Graphics -&gt; Spice server<br />Video -&gt; Ramfb </p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="550" height="624" data-id="5735" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1.png" alt="" class="wp-image-5735" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1.png 550w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_1-529x600.png 529w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="550" height="622" data-id="5736" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2.png" alt="" class="wp-image-5736" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2.png 550w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_2-531x600.png 531w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="553" height="624" data-id="5737" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3.png" alt="" class="wp-image-5737" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3.png 553w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_3-532x600.png 532w" sizes="(max-width: 553px) 100vw, 553px" /></figure>
</figure>



<p><br /><br />Video 選項一定要用 Ramfb ，否則 Graphics 會出不來，qxl or virtio 都不能用，virtio-gpu-pci 沒試過，有人說可以用[<a href="https://github.com/utmapp/UTM/issues/3293" target="_blank" rel="noopener">ref</a>]<br />最後是 Storage 增加 USB CDROM device，並且將剛剛的 Win11_ARM64_INSTALL.img  設定上去</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="600" height="646" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-6.png" alt="" class="wp-image-5731" style="aspect-ratio:0.9287925696594427;width:276px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-6.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-6-557x600.png 557w" sizes="(max-width: 600px) 100vw, 600px" /></figure></div>


<p>在 Boot Options 這邊 enable USB CDROM 1的選項，然後就可以開機了</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="646" height="597" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-7.png" alt="" class="wp-image-5732" style="aspect-ratio:1.082077051926298;width:388px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-7.png 646w, https://blog.richliu.com/wp-content/uploads/2024/02/image-7-600x554.png 600w" sizes="(max-width: 646px) 100vw, 646px" /></figure></div>


<p>如果設定正確，那就可以正常開機到這個畫面</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1246" height="935" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-9.png" alt="" class="wp-image-5734" style="aspect-ratio:1.3326203208556149;width:616px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-9.png 1246w, https://blog.richliu.com/wp-content/uploads/2024/02/image-9-600x450.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-9-768x576.png 768w" sizes="(max-width: 1246px) 100vw, 1246px" /></figure></div>


<p>如果照著以上步驟卻在安裝過程卡住了，可以試著調整 boot option 切換一下開機的順序<br />先 disk 後 USB CD ROM . </p>



<h2 class="wp-block-heading">Install Windows</h2>



<p>正常狀況下，Windows 是找不到 disk 的，要選 load driver -&gt; 25982_1000_ARM64_EN-US(C:) -&gt; Virtio-driver -&gt; viostor -&gt; win11 -&gt; ARM64   (註：這部份的標籤和目錄可能因不同的設定而異）</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="927" height="693" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-10.png" alt="" class="wp-image-5739" style="aspect-ratio:1.3376623376623376;width:495px;height:auto" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-10.png 927w, https://blog.richliu.com/wp-content/uploads/2024/02/image-10-600x449.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-10-768x574.png 768w" sizes="(max-width: 927px) 100vw, 927px" /></figure></div>


<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1116" height="693" data-id="5740" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5.png" alt="" class="wp-image-5740" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5.png 1116w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5-600x373.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_5-768x477.png 768w" sizes="(max-width: 1116px) 100vw, 1116px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="931" height="693" data-id="5741" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6.png" alt="" class="wp-image-5741" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6.png 931w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6-600x447.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_6-768x572.png 768w" sizes="(max-width: 931px) 100vw, 931px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="928" height="693" data-id="5742" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7.png" alt="" class="wp-image-5742" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7.png 928w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7-600x448.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_7-768x574.png 768w" sizes="(max-width: 928px) 100vw, 928px" /></figure>
</figure>



<p>最後一段，NIC driver ，在初次進入 Windows 11 時，要求要連線到網路時，選 Install driver -&gt; 25982_1000_ARM64_EN-US(D:) -&gt; Virtio-driver -&gt; NetKVM-&gt; win11 -&gt; ARM64</p>



<p>這樣就可以完成安裝 Windows 11 了</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1047" height="715" data-id="5743" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8.png" alt="" class="wp-image-5743" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8.png 1047w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8-600x410.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_8-768x524.png 768w" sizes="(max-width: 1047px) 100vw, 1047px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" data-id="5744" src="https://blog.richliu.com/wp-content/uploads/2024/02/windows11_qemu_9.png" alt="" class="wp-image-5744"/></figure>
</figure>



<p>Happy Playing Windows 11 on ARM64 Qemu </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1175" height="874" src="https://blog.richliu.com/wp-content/uploads/2024/02/image-11.png" alt="" class="wp-image-5745" srcset="https://blog.richliu.com/wp-content/uploads/2024/02/image-11.png 1175w, https://blog.richliu.com/wp-content/uploads/2024/02/image-11-600x446.png 600w, https://blog.richliu.com/wp-content/uploads/2024/02/image-11-768x571.png 768w" sizes="(max-width: 1175px) 100vw, 1175px" /></figure>



<p>ref.<br /><a href="https://github.com/virtio-win/virtio-win-pkg-scripts" target="_blank" rel="noopener">virtio-win / virtio-win-pkg-scripts</a><br /></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/">在 ARM64 QEMU System 上安裝 ARM64 Windows 11</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2024/02/02/5724/%e5%9c%a8-arm64-qemu-system-%e4%b8%8a%e5%ae%89%e8%a3%9d-arm64-windows-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
