installing-fedora-on-power9.html 7.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /><meta name="keywords" content="GNU, Emacs, Libre Software, Hurd, Guile, Guix" /><meta name="description" content="GNUcode.me is a website focusing on libre software projects, especially the GNU project." /><link type="application/atom+xml" rel="alternate" title="GNUcode.me -- Feed" href="/feed.xml" /><a rel="me" href="https://fosstodon.org/@thegnuguy"></a><link type="text/css" href="css/footer.min.css" rel="stylesheet"></link><link type="text/css" href="css/header.min.css" rel="stylesheet"></link><link type="text/css" href="css/main.min.css" rel="stylesheet"></link><title>Installing Fedora on Power9 — GNUcode.me</title></head><body><header><nav><ul><li><a href="index.html">GNUcode.me</a></li><li><a href="services.html">Services</a></li><li><a href="about.html">About</a></li><li><a href="business-ideas.html">Business-ideas</a></li></ul></nav></header><h1>Installing Fedora on Power9</h1><main><section class="basic-section-padding"><article><h3>by Joshua Branson — March 06, 2023</h3><div><p>My friend has a <a href="https://www.raptorcs.com/TALOSII/">TalosII</a> machine. He currently uses void linux, but void has
  2. dropped their <a href="https://en.wikipedia.org/wiki/Power_ISA">Power ISA</a> support. So I convinced him to give Debian Gnu/Linux a
  3. try. First we downloaded the <a href="https://www.debian.org/">debian</a> image:</p><p>We navigated our way around the website to download a <a href="https://cdimage.debian.org/debian-cd/current/ppc64el/iso-dvd/">complete debian DVD image</a>,
  4. which was about 5 GB. We then tried to figure out how to <a href="https://www.debian.org/CD/verify">verify the installer
  5. image</a>, which basically means, to check that the file we downloaded was not
  6. malware.</p><p>Well let’s first import the debian GPG keys:</p><pre><code>gpg --keyserver hkp://keyserver.ubuntu.com --recv-key \
  7. &quot;1046 0DAD 7616 5AD8 1FBC 0CE9 9880 21A9 64E6 EA7D&quot;
  8. gpg --keyserver hkp://keyserver.ubuntu.com --recv-key \
  9. &quot;DF9B 9C49 EAA9 2984 3258 9D76 DA87 E80D 6294 BE9B&quot;
  10. gpg --keyserver hkp://keyserver.ubuntu.com --recv-key \
  11. &quot;F41D 3034 2F35 4669 5F65 C669 4246 8F40 09EA 8AC3&quot;</code></pre><p>Let’s double check that we have those signing keys:</p><pre><code>gpg --list-keys | grep debian
  12. uid [ unknown] Debian CD signing key &lt;debian-cd@lists.debian.org&gt;
  13. uid [ unknown] Debian CD signing key &lt;debian-cd@lists.debian.org&gt;
  14. uid [ unknown] Debian Testing CDs Automatic Signing Key &lt;debian-cd@lists.debian.org&gt;</code></pre><p>Sweet. Now what? How do we actually and practically, via what commands,
  15. verify the installer images? Well the debian page is not specific about
  16. what to do next. So I had to searching the internet for how to verify debian
  17. images. And I found this awesome <a href="https://danilodellaquila.com/en/blog/how-to-verify-authenticity-of-downloaded-debian-iso-images">blog post</a>. Here’s how we do it:</p><pre><code>wget https://cdimage.debian.org/debian-cd/current/ppc64el/iso-dvd/SHA512SUMS
  18. wget https://cdimage.debian.org/debian-cd/current/ppc64el/iso-dvd/SHA512SUMS.sign
  19. gpg --verify SHA512SUMS.sign
  20. gpg --verify SHA512SUMS.sign SHA512SUMS
  21. sha512sum -c SHA512SUMS 2&gt;/dev/null | grep debian-11.6.0-ppc64el-netinst.iso
  22. debian-11.6.0-ppc64el-netinst.iso: OK</code></pre><p>We then tried to boot the usb debian power image. That failed to boot. Then we
  23. tried burning that image to a DVD. That did not work.</p><p>So I am guessing that Debian GNU/Linux will work on power, BUT the graphical
  24. installer does not currently work on Debian (I found out later that the Debian
  25. ncuruses installer does work on power).</p><p>My friend then installed Ubuntu server. Ubuntu server's installer actually
  26. worked! Then we just turned Ubuntu server into a Xubuntu like environment via
  27. command like: <code>sudo apt install xfce -y</code>.</p><p>Then we rebooted and everything worked! Well, <code>Gnome</code> did not. And <code>Xubuntu</code> did
  28. not, but then we used <code>gdm</code> to log into <code>xfce</code> desktop. That worked flawlessly.</p><p>The <code>netsurf</code> web browser also worked really well! Which meant we could use any
  29. website that had virtually no javascript.</p><p>Then I thought, it would be great to have a modern web browser working on my
  30. friend’s desktop...</p><p>Well it looks like Firefox can run on Power9!</p><p><a href="https://www.talospace.com/search/label/Firefox">https://www.talospace.com/search/label/Firefox</a></p><p>The latest blog post says that you can run Firefox version 110 on
  31. Power9. You can either add in a <code>--disable-webrtc</code> in your
  32. <code>.mozconfig</code> or you can compile Firefox with a tiny patch.</p><p>AND nonguix has a recipe for building Firefox. Let’s see if I can
  33. just install <code>guix</code> set up the <code>nonguix channel</code> and build Firefox that way!</p><p>If the nonguix packaged Firefox doesn’t work, then I can try to set
  34. build firefox from source via this video:</p><p><a href="https://www.youtube.com/watch?v=Hx42tyEWPxk">https://www.youtube.com/watch?v=Hx42tyEWPxk</a></p><p>Devaun was also a possiblity. That is a fork of debian that does not use
  35. <code>systemd</code>. My friend is not a big fan of systemd.</p><p>I was also told that Fedora is probably the easiest linux distribution, in which
  36. to run GNU/Linux on Power9.</p><p>Well installing Fedora was actually easy. The installer just worked.
  37. (Apparently Debian GNU/Linux disables the ast driver by default, which means a
  38. VGA display will not work). And I have a working Firefox. Apparently I can run
  39. a slightly older version of firefox that has a <a href="https://copr.fedorainfracloud.org/coprs/sharkcz/talos/">working javascript JIT.</a></p><p>My friend now has a working Xfce desktop courtesy from <a href="https://getfedora.org/">Fedora GNU/Linux</a>. My only
  40. concern is that this <a href="https://www.talospace.com/2022/12/fedora-37-mini-review-on-blackbird-and.html">blog post</a> seems to suggest that updating Fedora on a Power9
  41. machine is going to be quite annoying. I would not want to have to re-install
  42. Fedora every time they upgrade. I personally no longer have any issues upgrading
  43. my laptop to my distro latest release, because I have found that GNU Guix System
  44. just works really well. And if an upgrade breaks, then I can always roll back
  45. to the previous known working system during the boot process.</p><p>It looks like Fedora can support something like this:</p><p><a href="https://sysguides.com/install-fedora-36-with-snapper-and-grub-btrfs/">https://sysguides.com/install-fedora-36-with-snapper-and-grub-btrfs/</a></p><p>Maybe it is already enabled by default. Who knows.</p><p>I would personally love to recommend my friend to use GNU Guix System, but
  46. currently you cannot boot Guix System from Power9. The next step for me in this
  47. journey to help my friend set up his TalosII is to make sure his AMDGPU works.
  48. This <a href="https://wiki.raptorcs.com/wiki/Troubleshooting/GPU,">wiki article</a> should help with that.</p><p>Also from the <code>#talos-workstation</code> chat log on irc, I found out that the Linux
  49. kernel is having some issues with the graphics drivers on Power9. Currently the
  50. user is required to do some manual fiddling. However those workarounds should
  51. not be necessary by kernel 6.3ish. So until my friend runs Linux 6.3, he will
  52. probably have the best desktop experience in Xfce or KDE. Gnome has some minor
  53. issues apparently.</p></div></article></section></main><footer><p>© 2020 Joshua Branson. The text on this site is free culture under the Creative Commons Attribution Share-Alike 4.0 International license.</p><p>This website is build with Haunt, a static site generator written in Guile Scheme. Source code is <a href="https://notabug.org/jbranso/gnucode.me">available.</a></p><p>The color theme of this website is based off of the famous <a href="#3f3f3f" target="_blank">zenburn</a> theme.</p></footer></body>