<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux &amp;mdash; Kicou</title>
    <link>https://blog.kicou.info/tag:Linux</link>
    <description>Random thoughts and ramblings</description>
    <pubDate>Wed, 29 Apr 2026 09:15:54 -0400</pubDate>
    <item>
      <title>Windows 11 VM in Linux</title>
      <link>https://blog.kicou.info/windows-11-vm-in-linux</link>
      <description>&lt;![CDATA[#Windows #Linux #KVM #Libvirt&#xA;&#xA;This procedure has been tested in Arch Linux. Other distributions may have slightly different package requirements or naming conventions.&#xA;&#xA;Required packages&#xA;swtpm — provides TPM 2.0&#xA;edk2-ovmf — provides EFI/Secureboot filesystem image&#xA;&#xA;ISO images needed&#xA;Windows 11 installation disk&#xA;VirtIO driver disk&#xA;&#xA;Extract Windows OEM product key from host system&#xA;If the system was shipped with a pre-installed Windows OS, it has the Windows licencing information in BIOS&#xA;&#xA;$ sudo strings /sys/firmware/acpi/tables/MSDM&#xA;MSDMU&#xA;TLENOVOTP-N32  p&#xA;PTEC&#xA;AAAA1-AAAAA-AAAA1-1A1AA-11AA1 ← not my real product key&#xA;The last line is the product key!--more--&#xA;&#xA;Create a new VM&#xA;&#xA;   &#xA;4 GB of RAM and 2 vCPUs are the minumum requirements for Windows 11&#xA;&#xA;   &#xA;Windows 11 requires a minimum of 64 GB of disk space&#xA;&#xA;   &#xA;Make sure you check the box &#34;Customize configuration before install&#34; and hit &#34;Finish&#34;&#xA;&#xA;Change the &#34;Firmware&#34; setup to &#xA;You can now hit &#34;Begin Installation&#34; and proceed with the Windows 11 installation and initial setup&#xA;&#xA;Install Windows 11&#xA;&#xA;OS installation&#xA;Make sure you select the same OS edition as the one for which you have an OEM licence (e.g.: Windows 11 Professional).&#xA;&#xA;Initial setup&#xA;If you don&#39;t want to enrol a Microsoft Live account, answer that you want to use a Work or Active Directory account (Windows 11 Professional and up): this will take you to the local account creation screens.&#xA;&#xA;Paravirtualized drivers&#xA;VirtIO drivers provide better performance and should be used when possible.&#xA;The Spice video drivers also allow for seamless mouse cursor movement, dynamic resolution changes as well as drag-and-drop operations from Gnome to the Windows desktop (one way only)&#xA;&#xA;VirtIO drivers installation&#xA;mount the VirtIO driver/guest agent ISO&#xA;install the drivers and guest agent&#xA;&#xA;Change system disk (SATA→VirtIO)&#xA;&#xA;The default system disk is created as a SATA drive. Changing it to VirtIO immediately will not work because Windows has to load the VirtIO disk drivers at least once before it is able to boot from a VirtIO system disk. We need to created dummy VirtIO disk first.&#xA;&#xA;shut down the VM&#xA;add a 1GB VirtIO hard disk&#xA;power on the VM and let the OS load completely&#xA;sign in and check that Disk Manager sees an extra disk (you don&#39;t need to initialise it)&#xA;shut down the VM&#xA;delete the 1GB VirtIO drive&#xA;change the system disk type from SATA to VirtIO — you need to edit the XML file to perform this operation (either through virsh or from the virt-manager GUI, after having enabled XML file edition)&#xA;&#xA;Initial disk configuration:&#xA;disk type=&#34;file&#34; device=&#34;disk&#34;&#xA;  driver name=&#34;qemu&#34; type=&#34;qcow2&#34;/&#xA;  source file=&#34;/var/lib/libvirt/images/Windows11.qcow2&#34;/&#xA;  target dev=&#34;sda&#34; bus=&#34;sata&#34;/&#xA;/disk&#xA;&#xA;Modified disk configuration:&#xA;disk type=&#34;file&#34; device=&#34;disk&#34;&#xA;  driver name=&#34;qemu&#34; type=&#34;qcow2&#34;/&#xA;  source file=&#34;/var/lib/libvirt/images/Windows11.qcow2&#34;/&#xA;  target dev=&#34;vda&#34; bus=&#34;virtio&#34;/&#xA;  address type=&#34;pci&#34; domain=&#34;0x0000&#34; bus=&#34;0x05&#34; slot=&#34;0x00&#34; function=&#34;0x0&#34;/&#xA;/disk&#xA;&#xA;Other devices&#xA;Now that the VirtIO drivers have been installed in Windows, you can change the NIC type from Intel e1000e to VirtIO via the virt-manager GUI&#xA;&#xA;Activate Windows&#xA;Use the product key extracted from BIOS information (see above)&#xA;&#xA;You can now proceed witht he system updates and start using the Windows VM.&#xA;&#xA;— Kicou]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://blog.kicou.info/tag:Windows" class="hashtag"><span>#</span><span class="p-category">Windows</span></a> <a href="https://blog.kicou.info/tag:Linux" class="hashtag"><span>#</span><span class="p-category">Linux</span></a> <a href="https://blog.kicou.info/tag:KVM" class="hashtag"><span>#</span><span class="p-category">KVM</span></a> <a href="https://blog.kicou.info/tag:Libvirt" class="hashtag"><span>#</span><span class="p-category">Libvirt</span></a></p>

<p>This procedure has been tested in Arch Linux. Other distributions may have slightly different package requirements or naming conventions.</p>

<h2 id="required-packages">Required packages</h2>
<ul><li><a href="https://archlinux.org/packages/community/x86_64/swtpm">swtpm</a> — provides TPM 2.0</li>
<li><a href="https://archlinux.org/packages/extra/any/edk2-ovmf">edk2-ovmf</a> — provides EFI/Secureboot filesystem image</li></ul>

<h3 id="iso-images-needed">ISO images needed</h3>
<ul><li><a href="https://www.microsoft.com/en-us/software-download/windows11">Windows 11 installation disk</a></li>
<li><a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso">VirtIO driver disk</a></li></ul>

<h3 id="extract-windows-oem-product-key-from-host-system">Extract Windows OEM product key from host system</h3>

<p>If the system was shipped with a pre-installed Windows OS, it has the Windows licencing information in BIOS</p>

<pre><code class="language-bash">$ sudo strings /sys/firmware/acpi/tables/MSDM
MSDMU
TLENOVOTP-N32  p
PTEC
AAAA1-AAAAA-AAAA1-1A1AA-11AA1 ← not my real product key
</code></pre>

<p>The last line is the product key</p>

<h3 id="create-a-new-vm">Create a new VM</h3>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/Q1gIspgyQUWF/3W9HOJxk50KFvL07FaRFHSVZZgG2dOpLbtxs4kAe.png" alt=""></p>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/RfLOUTz15Rkv/vkjq9DE5yVu3LjHsvspFnMrWHmpfY6sKJR03URfS.png" alt=""></p>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/Nn2pdsCt1HbP/o8fHevJjiUdYJPftSIoMaK552gRFsRXiNxkLgaDV.png" alt=""><br>
4 GB of RAM and 2 vCPUs are the minumum requirements for Windows 11</p>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/hoaOcxug8JTG/8qIw1x9cKTAJfXlhsfhSHPqaYVaKR3R8iBpEyacD.png" alt=""><br>
Windows 11 requires a minimum of 64 GB of disk space</p>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/WcX0lD275w1u/sirngCFgzXSagJnQWkSnfKaki7ETHdjk9lDfF7zS.png" alt=""><br>
Make sure you check the box “Customize configuration before install” and hit “Finish”</p>

<p><img src="https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/192044957266219008/2a69c66ec-4b94d5/CqsdENRKmAs1/OTGNWIyfXsL4QuctPK4Fg1hMryIr1ZcmLRMW3x82.png" alt="">
Change the “Firmware” setup to <code>UEFI x86_64: /usr/share/edk2-ovmf/x64/OVMF_CODE_secboot.fd</code></p>

<p>You can now hit “Begin Installation” and proceed with the Windows 11 installation and initial setup</p>

<h3 id="install-windows-11">Install Windows 11</h3>

<h4 id="os-installation">OS installation</h4>

<p>Make sure you select the same OS edition as the one for which you have an OEM licence (e.g.: Windows 11 Professional).</p>

<h4 id="initial-setup">Initial setup</h4>

<p>If you don&#39;t want to enrol a Microsoft Live account, answer that you want to use a Work or Active Directory account (Windows 11 Professional and up): this will take you to the local account creation screens.</p>

<h3 id="paravirtualized-drivers">Paravirtualized drivers</h3>

<p>VirtIO drivers provide better performance and should be used when possible.
The Spice video drivers also allow for seamless mouse cursor movement, dynamic resolution changes as well as drag-and-drop operations from Gnome to the Windows desktop (one way only)</p>

<h4 id="virtio-drivers-installation">VirtIO drivers installation</h4>
<ul><li>mount the VirtIO driver/guest agent ISO</li>
<li>install the drivers and guest agent</li></ul>

<h4 id="change-system-disk-sata-virtio">Change system disk (SATA→VirtIO)</h4>

<p>The default system disk is created as a SATA drive. Changing it to VirtIO immediately will not work because Windows has to load the VirtIO disk drivers at least once before it is able to boot from a VirtIO system disk. We need to created dummy VirtIO disk first.</p>
<ul><li>shut down the VM</li>
<li>add a 1GB VirtIO hard disk</li>
<li>power on the VM and let the OS load completely</li>
<li>sign in and check that Disk Manager sees an extra disk (you don&#39;t need to initialise it)</li>
<li>shut down the VM</li>
<li>delete the 1GB VirtIO drive</li>
<li>change the system disk type from SATA to VirtIO — you need to edit the XML file to perform this operation (either through virsh or from the virt-manager GUI, after having enabled XML file edition)</li></ul>

<p>Initial disk configuration:</p>

<pre><code class="language-xml">&lt;disk type=&#34;file&#34; device=&#34;disk&#34;&gt;
  &lt;driver name=&#34;qemu&#34; type=&#34;qcow2&#34;/&gt;
  &lt;source file=&#34;/var/lib/libvirt/images/Windows11.qcow2&#34;/&gt;
  &lt;target dev=&#34;sda&#34; bus=&#34;sata&#34;/&gt;
&lt;/disk&gt;
</code></pre>

<p>Modified disk configuration:</p>

<pre><code class="language-xml">&lt;disk type=&#34;file&#34; device=&#34;disk&#34;&gt;
  &lt;driver name=&#34;qemu&#34; type=&#34;qcow2&#34;/&gt;
  &lt;source file=&#34;/var/lib/libvirt/images/Windows11.qcow2&#34;/&gt;
  &lt;target dev=&#34;vda&#34; bus=&#34;virtio&#34;/&gt;
  &lt;address type=&#34;pci&#34; domain=&#34;0x0000&#34; bus=&#34;0x05&#34; slot=&#34;0x00&#34; function=&#34;0x0&#34;/&gt;
&lt;/disk&gt;
</code></pre>

<h4 id="other-devices">Other devices</h4>

<p>Now that the VirtIO drivers have been installed in Windows, you can change the NIC type from Intel e1000e to VirtIO via the virt-manager GUI</p>

<h3 id="activate-windows">Activate Windows</h3>

<p>Use the product key extracted from BIOS information (see above)</p>

<p>You can now proceed witht he system updates and start using the Windows VM.</p>

<p>— Kicou</p>
]]></content:encoded>
      <guid>https://blog.kicou.info/windows-11-vm-in-linux</guid>
      <pubDate>Fri, 22 Oct 2021 02:47:13 +0000</pubDate>
    </item>
    <item>
      <title>Mesh Central</title>
      <link>https://blog.kicou.info/mesh-central</link>
      <description>&lt;![CDATA[#Linux #Tech #RemoteAssistance&#xA;&#xA;I have tried various remote assistance solutions and so far none had completely met our expecations.&#xA;&#xA;We purchased Zoho Assist because its web-based control centre is ideal for a small team of independent Linux consultants like us, all the while having the features you&#39;d expect from an enterprise-grade product. We were happy to purchase endpoint licence packages for paying customers, and fall back to DWS for less critical systems as well as personal machines.&#xA;&#xA;While I have nothing against Zoho and am supportive of DWS, both solutions have a huge drawback in my opinion: we are relying on a third party to manage traffic to our customers, and we have no control over the data we put on their servers. Not that I believe that they are ill-intentioned, but we have to admit that we are also at the mercy of their technical and business choices: they may decide to suddenly change their pricing structure (this has happened with competing products like Logmein or Teamviewer), or they could change the product, remove features, move them to different tier, etc. and we wouldn&#39;t have much of choice, would we?&#xA;!--more--&#xA;&#xA;Having settled on Zoho Assist I was content with our choice and was not really looking for an alternative. That is until I stumbled upon a project called Mesh Central 2 while scouring Reddit, and was immediately seduced.&#xA;&#xA;Mesh Central 2 originates from the team that developed the tools to manage AMT (Active Management Technology), an Intel feature integrated into business PCs equipped with the vPro option. It is the equivalent of the BMC (Baseboard Management Control) module you can find in servers under various names (iDrac for Dell, iLO for HPE, IMM/XCC for IBM/Lenovo). An out-of-band system that allows you to manage the machine at a hardware level, even before the operating system has been loaded. You can thus remotely power on, power off, enter the BIOS menu, etc. without user intervention.&#xA;&#xA;Mesh Central expands on the AMT hardware remote features and adds remote access to Windows, Linux (Intel and ARM), BSD (Intel) and MacOSX desktops, all this from an easily self-hosted web dashboard running on Node.js.&#xA;&#xA;And it works wonderfully.&#xA;&#xA;My only (minor) gripe is that it is not visually appealing (the interface feels a bit dated), but since it is Open Source, under an Apache 2.0 licence and available on GitHub, it is customisable (a few tweaks to the CSS can make a huge difference) and allows for easy branding.&#xA;&#xA;Do not be put off by its &#34;beta&#34; status: it is fully functional and the amount of enterprise features is astounding. There are so many configuration options that its documentation is not even close to listing all of them, but the main developers are very reactive on Reddit and Github and will answer users&#39; questions rather quickly.&#xA;&#xA;I was able to quickly put in place a working solution with Active Directory authentication, ACLs, FIDO U2F and TOTP, and deployed agents to a few dozen client systems (desktops and servers running Windows and Linux).&#xA;&#xA;I think we have a winner here: a product that is functional, enterprise-ready, open source, free as in speech, free as in beer, backed by a heavy-weight corporate sponsor (meaning that they are not desperate for funding) and that is very active on GitHub.&#xA;&#xA;And even though the main developer is based in the Intel offices of Hillsboro, Oregon, when watching his tutorial videos I was able to recognise what I believe is a hint of a Québec accent: Yay ! un compère francophone du Canada ! :)&#xA;&#xA;I don&#39;t know why I had not heard of Mesh Central 2 before but I am definitely a convert! I think that comes autumn we will not be renewing our Zoho Assist licences…&#xA;&#xA;— Kicou]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://blog.kicou.info/tag:Linux" class="hashtag"><span>#</span><span class="p-category">Linux</span></a> <a href="https://blog.kicou.info/tag:Tech" class="hashtag"><span>#</span><span class="p-category">Tech</span></a> <a href="https://blog.kicou.info/tag:RemoteAssistance" class="hashtag"><span>#</span><span class="p-category">RemoteAssistance</span></a></p>

<p>I have tried various remote assistance solutions and so far none had completely met our expecations.</p>

<p>We purchased Zoho Assist because its web-based control centre is ideal for a small team of independent Linux consultants like us, all the while having the features you&#39;d expect from an enterprise-grade product. We were happy to purchase endpoint licence packages for paying customers, and fall back to DWS for less critical systems as well as personal machines.</p>

<p>While I have nothing against Zoho and am supportive of DWS, both solutions have a huge drawback in my opinion: we are relying on a third party to manage traffic to our customers, and we have no control over the data we put on their servers. Not that I believe that they are ill-intentioned, but we have to admit that we are also at the mercy of their technical and business choices: they may decide to suddenly change their pricing structure (this has happened with competing products like Logmein or Teamviewer), or they could change the product, remove features, move them to different tier, etc. and we wouldn&#39;t have much of choice, would we?
</p>

<p>Having settled on Zoho Assist I was content with our choice and was not really looking for an alternative. That is until I stumbled upon a project called <a href="https://github.com/Ylianst/MeshCentral">Mesh Central</a> 2 while scouring Reddit, and was immediately seduced.</p>

<p>Mesh Central 2 originates from the team that developed the tools to manage AMT (Active Management Technology), an Intel feature integrated into business PCs equipped with the vPro option. It is the equivalent of the BMC (Baseboard Management Control) module you can find in servers under various names (iDrac for Dell, iLO for HPE, IMM/XCC for IBM/Lenovo). An out-of-band system that allows you to manage the machine at a hardware level, even before the operating system has been loaded. You can thus remotely power on, power off, enter the BIOS menu, etc. without user intervention.</p>

<p>Mesh Central expands on the AMT hardware remote features and adds remote access to Windows, Linux (Intel and ARM), BSD (Intel) and MacOSX desktops, all this from an easily self-hosted web dashboard running on Node.js.</p>

<p>And it works wonderfully.</p>

<p>My only (minor) gripe is that it is not visually appealing (the interface feels a bit dated), but since it is Open Source, under an Apache 2.0 licence and available on GitHub, it is customisable (a few tweaks to the CSS can make a huge difference) and allows for easy branding.</p>

<p>Do not be put off by its “beta” status: it is fully functional and the amount of enterprise features is astounding. There are so many configuration options that its documentation is not even close to listing all of them, but the main developers are very reactive on Reddit and Github and will answer users&#39; questions rather quickly.</p>

<p>I was able to quickly put in place a working solution with Active Directory authentication, ACLs, FIDO U2F and TOTP, and deployed agents to a few dozen client systems (desktops and servers running Windows and Linux).</p>

<p>I think we have a winner here: a product that is functional, enterprise-ready, open source, free as in speech, free as in beer, backed by a heavy-weight corporate sponsor (meaning that they are not desperate for funding) and that is very active on GitHub.</p>

<p>And even though the main developer is based in the Intel offices of Hillsboro, Oregon, when watching his tutorial videos I was able to recognise what I believe is a hint of a Québec accent: <em>Yay ! un compère francophone du Canada !</em> :)</p>

<p>I don&#39;t know why I had not heard of Mesh Central 2 before but I am definitely a convert! I think that comes autumn we will not be renewing our Zoho Assist licences…</p>

<p>— Kicou</p>
]]></content:encoded>
      <guid>https://blog.kicou.info/mesh-central</guid>
      <pubDate>Tue, 11 Aug 2020 22:55:48 +0000</pubDate>
    </item>
    <item>
      <title>Virtualising an old Win2000 TS</title>
      <link>https://blog.kicou.info/virtualising-an-old-win2000-ts</link>
      <description>&lt;![CDATA[#Linux #VMware #P2V #V2V #Windows2000 #Tech&#xA;&#xA;A client of mine has a customer of his who runs a Windows 2000 Terminal Server because their antique ERP client will only run on Windows XP-level machines.&#xA;&#xA;I already converted the ERP server last week: a Red Hat Enterprise Linux 5 server running Oracle 10g that I had to turn into CentOS because its RHN subscription had run out and I needed a newer kernel + headers for vmware-guest tools. The RHEL P2V worked well, and now it is the W2K TS&#39;s turn.&#xA;&#xA;The Hypervisor I am moving this to is ESXi 6.5 and it turns out VMware Converter 6 will not migrate a Windows 2000 system: for this you need Vmware Converter 4. But Converter 4 will not migrate to ESXi higher than V4.&#xA;&#xA;So how do we do?&#xA;&#xA;Well, here is what I am in the middle of doing:&#xA;&#xA;install ESXi 4 in ESXi 6 (yes, you can nest ESX installations)&#xA;convert the Win2k system to ESXi 4 (you can do this on the live system) with VMware Converter 4&#xA;DO NOT start the newly converted VM in ESXi 4!&#xA;fire up a Windows system that has access to both the ESXi 4 virtual OS and the ESXi 6 infrastructure&#xA;install VMware converter 6 onto the Windows machine, and perform a V2V offline conversion of the intermediate W2K VM to ESXi 6&#xA;&#xA;I have not finished migration yet (I have to upload Win10 ISO to have my Windows system) but as crazy as it sounds, I think it should work.&#xA;&#xA;Update: it actually did work. I had to install an old version of the VMware Tools that is compatible with Windows 2000 to have proper display drivers and in order for networking to work. Everything is working now.&#xA;&#xA;— Kicou]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://blog.kicou.info/tag:Linux" class="hashtag"><span>#</span><span class="p-category">Linux</span></a> <a href="https://blog.kicou.info/tag:VMware" class="hashtag"><span>#</span><span class="p-category">VMware</span></a> <a href="https://blog.kicou.info/tag:P2V" class="hashtag"><span>#</span><span class="p-category">P2V</span></a> <a href="https://blog.kicou.info/tag:V2V" class="hashtag"><span>#</span><span class="p-category">V2V</span></a> <a href="https://blog.kicou.info/tag:Windows2000" class="hashtag"><span>#</span><span class="p-category">Windows2000</span></a> <a href="https://blog.kicou.info/tag:Tech" class="hashtag"><span>#</span><span class="p-category">Tech</span></a></p>

<p>A client of mine has a customer of his who runs a Windows 2000 Terminal Server because their antique ERP client will only run on Windows XP-level machines.</p>

<p>I already converted the ERP server last week: a Red Hat Enterprise Linux 5 server running Oracle 10g that I had to turn into CentOS because its RHN subscription had run out and I needed a newer kernel + headers for vmware-guest tools. The RHEL P2V worked well, and now it is the W2K TS&#39;s turn.</p>

<p>The Hypervisor I am moving this to is ESXi 6.5 and it turns out VMware Converter 6 will not migrate a Windows 2000 system: for this you need Vmware Converter 4. But Converter 4 will not migrate to ESXi higher than V4.</p>

<p>So how do we do?</p>

<p>Well, here is what I am in the middle of doing:</p>
<ul><li>install ESXi 4 in ESXi 6 (yes, you can nest ESX installations)</li>
<li>convert the Win2k system to ESXi 4 (you can do this on the live system) with VMware Converter 4</li>
<li><em>DO NOT</em> start the newly converted VM in ESXi 4!</li>
<li>fire up a Windows system that has access to both the ESXi 4 virtual OS <em>and</em> the ESXi 6 infrastructure</li>
<li>install VMware converter 6 onto the Windows machine, and perform a V2V offline conversion of the intermediate W2K VM to ESXi 6</li></ul>

<p>I have not finished migration yet (I have to upload Win10 ISO to have my Windows system) but as crazy as it sounds, I think it should work.</p>

<p>Update: it actually did work. I had to install an old version of the VMware Tools that is compatible with Windows 2000 to have proper display drivers and in order for networking to work. Everything is working now.</p>

<p>— Kicou</p>
]]></content:encoded>
      <guid>https://blog.kicou.info/virtualising-an-old-win2000-ts</guid>
      <pubDate>Fri, 24 Jul 2020 22:21:18 +0000</pubDate>
    </item>
    <item>
      <title>Linux on a Lenovo Flex 5</title>
      <link>https://blog.kicou.info/linux-on-a-flex-5</link>
      <description>&lt;![CDATA[#Linux #Hardware #Lenovo&#xA;&#xA;When daughter started university two years ago, she got a used Thinkpad X1 Carbon Gen2 (2014) running Ubuntu (kids grew up on recycled machines using Linux), and she was very happy to have a good computer she didn&#39;t have to pay for. However this summer she started to have problems with it. I suspect these are mostly software problems, but she also had two missing keys on the keyboard. Sourcing a replacement keyboard and replacing it with the risk of it not working at all was a problem as she cannot afford much downtime, with all her schoolwork and two volunteering positions as a crisis line responder.&#xA;&#xA;  I know how she treats electronic devices (i.e. badly) so I did not want to invest into something too expensive, but I still wanted the best bang for the bucks. &#xA;&#xA;So for the first time in many, many years, I decided to purchase a new computer. I know how she treats electronic devices (i.e. badly) so I did not want to invest into something too expensive, but I still wanted the best bang for the bucks. Daughter had also expressed the wish to get a 2-in-1 that she can convert into a tablet for displaying music sheet when playing the piano.&#xA;&#xA;I got her a Lenovo Ideapad Flex5 14 aka 14ARE05 (awkward name), a budget-friendly 2-in-1 notebook computer with a 14&#34; display, AMD Ryzen 4500U processor, 16 GB or RAM and 512 GB or SDD storage, 10+ hours of battery life. For $950 CAD (around $700 USD) it is a reasonably priced considering how Canadians usually get an unfavourable exchange rate.!--more--&#xA;&#xA;The big unknown was how well the machine would run Linux. I opted for Ubuntu because daughter will have to install software by herself; Ubuntu being the most widespread distribution, she is more likely to find online resources and instructions that apply to her system.&#xA;&#xA;I also installed a Windows 10 VM so that she has access to a Windows environment in the event that her school or work require the use of proprietary software, but I doubt she will ever need to start it.&#xA;&#xA;I kept the original Windows 10 OS, shrinking it to minimum: this is for firmware updates only and she should never need to use it.&#xA;&#xA;The system automatically boots into Ubuntu 20.04. Everything worked out of the box save for two small details: display brightness control and automatic screen rotation.&#xA;&#xA;With the stock Ubuntu kernel (5.4), brightness control has no effect at all. To solve that I installed one of the latest mainline kernel (5.7.8) and brightness can now somehow be adjusted: increasing works fine, decreasing goes halfway down and then turns off the display altogether, but you can turn it back on by going up. A bit quirky, but it still works.&#xA;&#xA;Kernel 5.7.9 introduced a bug where the touch-screen became unresponsive, so I stayed on 5.7.8, but I expect newer versions to fix that. It is an experimental kernel after all.&#xA;&#xA;2021-01 edit: the 5.8.x family of kernels had a bug where the integrated microphone ceased to function. However all is well now with the 5.10 kernel&#xA;&#xA;As for automatic screen rotation, it looks like the orientation sensor is detected but the driver does not read values properly. I showed daughter how to change display orientation manually and it is not a big deal.&#xA;&#xA;I am pretty sure it is only a matter of time until somebody figures it out. This Lenovo model was just released and while I was expecting some problems, I must say that overall the system is perfectly usable as is.&#xA;&#xA;So would I advise the purchase of the Lenovo Ideapad Flex 5 14 (AMD) to use with Linux?&#xA;&#xA;Yes, definitely. For the price, this machine has very solid specs and can be used as a fully functional daily driver running Linux.&#xA;&#xA;— Kicou]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://blog.kicou.info/tag:Linux" class="hashtag"><span>#</span><span class="p-category">Linux</span></a> <a href="https://blog.kicou.info/tag:Hardware" class="hashtag"><span>#</span><span class="p-category">Hardware</span></a> <a href="https://blog.kicou.info/tag:Lenovo" class="hashtag"><span>#</span><span class="p-category">Lenovo</span></a></p>

<p>When daughter started university two years ago, she got a used Thinkpad X1 Carbon Gen2 (2014) running Ubuntu (kids grew up on recycled machines using Linux), and she was very happy to have a good computer she didn&#39;t have to pay for. However this summer she started to have problems with it. I suspect these are mostly software problems, but she also had two missing keys on the keyboard. Sourcing a replacement keyboard and replacing it with the risk of it not working at all was a problem as she cannot afford much downtime, with all her schoolwork and two volunteering positions as a crisis line responder.</p>

<blockquote><p>I know how she treats electronic devices (i.e. badly) so I did not want to invest into something too expensive, but I still wanted the best bang for the bucks.</p></blockquote>

<p>So for the first time in many, many years, I decided to purchase a new computer. I know how she treats electronic devices (i.e. badly) so I did not want to invest into something too expensive, but I still wanted the best bang for the bucks. Daughter had also expressed the wish to get a 2-in-1 that she can convert into a tablet for displaying music sheet when playing the piano.</p>

<p>I got her a Lenovo Ideapad Flex5 14 aka 14ARE05 (awkward name), a budget-friendly 2-in-1 notebook computer with a 14” display, AMD Ryzen 4500U processor, 16 GB or RAM and 512 GB or SDD storage, 10+ hours of battery life. For $950 CAD (around $700 USD) it is a reasonably priced considering how Canadians usually get an unfavourable exchange rate.</p>

<p>The big unknown was how well the machine would run Linux. I opted for Ubuntu because daughter will have to install software by herself; Ubuntu being the most widespread distribution, she is more likely to find online resources and instructions that apply to her system.</p>

<p>I also installed a Windows 10 VM so that she has access to a Windows environment in the event that her school or work require the use of proprietary software, but I doubt she will ever need to start it.</p>

<p>I kept the original Windows 10 OS, shrinking it to minimum: this is for firmware updates only and she should never need to use it.</p>

<p>The system automatically boots into Ubuntu 20.04. Everything worked out of the box save for two small details: display brightness control and automatic screen rotation.</p>

<p>With the stock Ubuntu kernel (5.4), brightness control has no effect at all. To solve that I installed one of the latest mainline kernel (5.7.8) and brightness can now somehow be adjusted: increasing works fine, decreasing goes halfway down and then turns off the display altogether, but you can turn it back on by going up. A bit quirky, but it still works.</p>

<p>Kernel 5.7.9 introduced a bug where the touch-screen became unresponsive, so I stayed on 5.7.8, but I expect newer versions to fix that. It is an experimental kernel after all.</p>

<p><em>2021-01 edit: the 5.8.x family of kernels had a bug where the integrated microphone ceased to function. However all is well now with the 5.10 kernel</em></p>

<p>As for automatic screen rotation, it looks like the orientation sensor is detected but the driver does not read values properly. I showed daughter how to change display orientation manually and it is not a big deal.</p>

<p>I am pretty sure it is only a matter of time until somebody figures it out. This Lenovo model was just released and while I was expecting some problems, I must say that overall the system is perfectly usable as is.</p>

<p>So would I advise the purchase of the Lenovo Ideapad Flex 5 14 (AMD) to use with Linux?</p>

<p>Yes, definitely. For the price, this machine has very solid specs and can be used as a fully functional daily driver running Linux.</p>

<p>— Kicou</p>
]]></content:encoded>
      <guid>https://blog.kicou.info/linux-on-a-flex-5</guid>
      <pubDate>Fri, 24 Jul 2020 14:18:21 +0000</pubDate>
    </item>
  </channel>
</rss>