Group: Hardware/Software/FSDG distributions

From LibrePlanet
Jump to: navigation, search
(Small distributions: move adding support for a device)
(Boot software interfaces support: Add Dragora BIOS.)
 
(180 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
Having all the hardware of a given computer being able to work with only free software is not enough as you also need to be able to run an FSDG compliant distribution on that computer.
+
This page is meant to document what type of hardware FSDG compliant can and/or want to support.
  
This article is meant to summarize the hardware requirement of FSDG compliant distributions.
+
For instance having FSDG compliant distributions that support many architecture is interesting for several reasons:
 +
* To get the RYF certification for a computer, being able to use all the components of that computer with free software is not enough as that computer also needs run an FSDG compliant distribution on that computer. See the [http://www.fsf.org/resources/hw/endorsement/criteria RYF endorsement criteria for more details on that certification].
 +
* Users that want a fully free system can also build systems similar to the ones that got the RYF certification themselves and/or get some help to do it, and here they also need FSDG compliant distributions to run on their computers.
 +
* As some computers can run fully free software, with some of the hardware components not working, it's also very interesting to be able to have a distribution to support such hardware. See [https://www.fsf.org/resources/hw/single-board-computers the article on single-board-computers on the FSF website] for more details.
 +
 
 +
So it is very interesting to document that.
 +
 
 +
It is also interesting to combine that information with information about what type of users are able to use the FSDG distributions. For instance if an architecture is supported only by FSDG compliant distributions that are for technical users with good command line knowledge, it would then dramatically limit the amount of people able to use that computers with that architecture with fully free software.
 +
 
 +
The release type (Rolling release, stable releases) and the release frequency is also important to take into account:
 +
* For users, [https://wiki.parabola.nu/Rolling_vs._LTS there are various advantages and disadvantages of using distributions that have rolling releases or stable releases]. Less technical users seem to prefer LTS as less (frequent) maintenance is required.
 +
* For adding support for devices in distributions, rolling releases gets the job done faster, but many users might prefer to use stable releases.
  
 
== General purpose GNU/Linux distributions ==
 
== General purpose GNU/Linux distributions ==
  
 
=== General information ===
 
=== General information ===
{| border="0" style="font-size: smaller"
+
{| class="wikitable" border="1"
 
|- bgcolor="#6699ff"
 
|- bgcolor="#6699ff"
 
! Distribution
 
! Distribution
Line 14: Line 25:
 
! Release type
 
! Release type
 
|-
 
|-
! GuixSD
+
! [https://dragora.org Dragora]
| Technical users with good command line knowledge (or willing to learn it)
+
| Technical users:
| ?
+
* Graphical installation
 +
* No graphical package manager<ref>https://dragora.org/manual/en/html_node/pkgmanagement.html</ref>
 +
* Very few packages<ref>http://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes</ref>
 +
| Stable releases
 +
Rolling releases are also possible
 +
|-
 +
! [http://www.gnu.org/software/guix/ Guix System]
 +
| Technical users:
 +
* Mostly graphical installation
 +
* The knowledge of the scheme guile programing language is required to administrate the system
 +
* No integrated graphical package manager yet.<ref>So far the only graphical tools are either very domain specific tools (like a web interface for using Guix to do scientific experiments) or are too experimental to be packaged into Guix.</ref>
 +
| Rolling release
 
|-
 
|-
! Hyperbola
+
! [https://www.hyperbola.info/ Hyperbola]
| Technical users with good command line knowledge (or willing to learn it)
+
| Everybody?
 +
* Can the installation be done graphically?
 +
* It has a graphical package manager ([https://www.hyperbola.info/packages/community/x86_64/octopi/ octopi]). Is it installed during the graphical installation?
 +
* Does the user needs to mess up with configuration files?
 
| Stable releases
 
| Stable releases
 
|-
 
|-
! Parabola
+
! [https://en.wikipedia.org/wiki/Parabola_GNU/Linux-libre Parabola]
| Technical users with good command line knowledge (or willing to learn it)
+
| Everybody:
 +
* The installation can be done graphically
 +
* A graphical package manager ([https://www.parabola.nu/packages/pcr/x86_64/octopi/ octopi]) is [https://git.parabola.nu/calamares.git/tree/src/modules/pacstrap-gui/pacstrap-gui.conf?h=merge-2019-05 installed during the graphical installation]
 +
* Users typically need to mess up with configuration files only for command line and server software
 
| Rolling releases
 
| Rolling releases
 
|-
 
|-
! PureOS
+
! [https://pureos.net/ PureOS]
| Everybody
+
| Everybody:
| Rolling release
+
* The installation can be done graphically
 +
* There is a graphical package manager installed during the graphical installation
 +
| Stable releases
 
|-
 
|-
! Trisquel 8
+
! [https://en.wikipedia.org/wiki/Trisquel Trisquel]
| Everybody
+
| Everybody:
 +
* The installation can be done graphically
 +
* There is a graphical package manager installed during the graphical installation
 
| Stable releases
 
| Stable releases
 
|-
 
|-
Line 37: Line 69:
  
 
=== Architectures support ===
 
=== Architectures support ===
{| border="0" style="font-size: smaller"
+
{| class="wikitable" border="1"
 
|- bgcolor="#6699ff"
 
|- bgcolor="#6699ff"
 
! Distribution or software
 
! Distribution or software
! x86 32bit support
+
! ARM 32bit
! x86 64bit support
+
! ARM 64bit
! ARM 32bit support
+
! MIPS 64bit little endian
! ARM 64bit support
+
! PowerPC 32bit big endian
! PowerPC 64bit little endian support
+
! PowerPC 64bit little endian
 +
! Riscv 64bit
 +
! x86 32bit
 +
! x86 64bit
 
|-
 
|-
! [http://www.gnu.org/software/guix/ GuixSD]
+
! [https://dragora.org Dragora 3.0 beta2]
| {{yes|i686}}
+
| {{no}}<ref name="dragora-bootstrap">Dragora can also be bootstraped from source, but there is no guarantee that it will work for unsupported architectures.</ref>
 +
| {{no}}<ref name="dragora-bootstrap"/>
 +
| {{no}}<ref name="dragora-bootstrap"/>
 +
| {{no}}<ref name="dragora-bootstrap"/> <!-- PowerPC 32bit big endian -->
 +
| {{no}}<ref name="dragora-bootstrap"/>
 +
| {{no}}<ref name="dragora-bootstrap"/>
 +
| {{no}}<ref name="dragora-bootstrap"/>
 
| {{yes}}
 
| {{yes}}
 +
|-
 +
! [http://www.gnu.org/software/guix/ Guix System]
 
| {{yes|armhf}}
 
| {{yes|armhf}}
 
| {{yes}}
 
| {{yes}}
| ?
+
 
 +
| style="background: #FFFF00; text-align: {{{align|center}}};" | Cross compilation only<ref>Guix still support cross compiling for mips64el-linux-gnu</ref>
 +
| style="background: #FFFF00; text-align: {{{align|center}}};" | Cross compilation only<ref>Guix support cross compiling for powerpc-linux-gnu.</ref>
 +
| {{yes|POWER9, experimental}}<ref>The Guix 1.3.0 release blog post (https://guix.gnu.org/en/blog/2021/gnu-guix-1.3.0-released/) states that "POWER9 support is now available as a technology preview"</ref>
 +
| style="background: #FFFF00; text-align: {{{align|center}}};" | Cross compilation only<ref>Guix support cross compiling for riscv64-linux-gnu.</ref>
 +
| {{yes|i686}}
 +
| {{yes}}
 
|-
 
|-
 
! [https://www.hyperbola.info/ Hyperbola]
 
! [https://www.hyperbola.info/ Hyperbola]
| {{yes|i686}}
 
| {{yes}}
 
 
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
 +
| {{no}} <!-- PowerPC 32bit big endian -->
 +
| {{no}}
 +
| {{no}}
 +
| {{yes|i686}}
 +
| {{yes}}
 
|-
 
|-
 
! [https://en.wikipedia.org/wiki/Parabola_GNU/Linux-libre Parabola]
 
! [https://en.wikipedia.org/wiki/Parabola_GNU/Linux-libre Parabola]
 +
| {{yes|armv7h}}
 +
| {{yes|experimental, through armv7h only}}<ref>For it to work:
 +
* You need to install the linux-libre-aarch64 kernel
 +
* You need a processor that also support running 32bit arm code
 +
Also note that bootloaders for aarch64 computers are not packaged yet, so you'll need to compile them yourself for now.</ref>
 +
| {{no|No, discontinued}}<ref>https://www.parabola.nu/news/parabola-support-for-mips64el-discontinued/</ref>
 +
| {{no}} <!-- PowerPC 32bit big endian -->
 +
| style="background: #FF8000; text-align: {{{align|center}}};" | [https://labs.parabola.nu/projects/ppc64le Unfinished]
 +
| style="background: #FF8000; text-align: {{{align|center}}};" | [https://labs.parabola.nu/projects/riscv64 Unfinished]
 
| {{yes|i686}}
 
| {{yes|i686}}
 
| {{yes}}
 
| {{yes}}
| {{yes|armv7h}}
+
|-
 +
! [https://pureos.net/ PureOS 10 (byzantium)]
 +
| {{no}}
 +
| {{yes|Yes, can be installed with debootstrap<ref>This can be done in two stages like with debian. The first stage can be done this way: debootstrap --foreign --arch arm64 byzantium ./rootfs https://repo.puri.sm/pureos
 +
Amber can probably also be installed but I lacked older hardware that was supported by its kernel. Adding the dtb made it boot on Amber though.</ref>}}
 +
| {{no}}
 +
| {{no}} <!-- PowerPC 32bit big endian -->
 +
| {{no}}
 +
| {{no}}
 
| {{no}}
 
| {{no}}
| {{no|Unfinished/WIP?}}
+
| {{yes}}
 
|-
 
|-
! [https://pureos.net/ PureOS]
+
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 10 (nabia)]
 +
| {{yes|armhf}}<ref>If we look at the [https://packages.trisquel.org/nabia/coreutils coreutils package], we can see x86_64 and armhf. There is also [https://packages.trisquel.org/search?suite=nabia&section=all&arch=any&searchon=names&keywords=u-boot many u-boot packages for armhf computers]</ref>
 +
| {{no}}
 +
| {{no}}
 +
| {{no}} <!-- PowerPC 32bit big endian -->
 +
| {{no}}
 +
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{yes}}
 
| {{yes}}
 +
|-
 +
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 11 (aramo)]
 +
| {{yes|armhf}}<ref name="trisquel-11-archs">If we look at the [https://packages.trisquel.org/aramo/coreutils coreutils package], we can see amd64, arm64, armhf, i386, ppc64el. And if we look at https://cdimage.trisquel.info/trisquel-images we don't have i386 anymore.</ref>
 +
| {{yes|arm64}}<ref name="trisquel-11-archs"></ref>
 
| {{no}}
 
| {{no}}
| {{yes|Through debootstrap?}}
+
| {{no}} <!-- PowerPC 32bit big endian -->
 +
| {{yes|ppc64el}}<ref name="trisquel-11-archs"></ref>
 
| {{no}}
 
| {{no}}
 +
| {{no|i386}}<ref name="trisquel-11-archs"></ref>
 +
| {{yes|amd64}}<ref name="trisquel-11-archs"></ref>
 +
|}
 +
 +
=== Boot software interfaces support ===
 +
 +
Many ARM single board computers contains a boot ROM (usually called bootrom) that is small and read-only and that loads the bootloader from an external peripheral like a microSD or the internal memory (like an eMMC for instance). There the bootloader replaces something like GRUB and the BIOS on x86. This situation usually puts the distributions in control as they can ship the bootloaders they want for these computers, so it's up to them to choose the details of how the computer boots (though the downside is that they might need to build and package a bootloader for each devices they want to support).
 +
 +
In contrast, on most x86 computers and on some ARM computers it doesn't work like that. There is a boot software like a BIOS or UEFI on a memory chip that is soldered on the mainboard, and it's a lot more difficult for users to replace that software with free software or to recover from code that doesn't boot.
 +
 +
This makes it interesting to document what boot software interfaces FSDG distributions supports, because if a distribution doesn't support the BIOS interface anymore, then it won't work on computers with that Interface (like laptops with Libreboot and SeaBIOS instead of GRUB).
 +
 +
And even if users have Libreboot and can change the way the computer boots, they are often afraid to try to change how things work by themselves: if something goes wrong, most users don't know how to recover form it (it requires advanced hardware tools like flash programmer, to disassemble the computer, etc).
 +
 +
And in case of computers with nonfree BIOS and UEFI users don't even have the option of changing the way it boots, and can't try to contribute to projects like Libreboot to add more options and get that tested by the community.
 +
 +
{| class="wikitable"  border="1"
 +
|- bgcolor="#6699ff"
 +
! Distribution or software
 +
! BIOS
 +
! Libreboot with GRUB
 +
! UEFI 32bit on 32bit CPU
 +
! UEFI 32bit on 64bit CPU
 +
! UEFI 64bit on 64bit CPU
 +
|-
 +
! [https://dragora.org Dragora]
 +
| {{yes}}<ref name="dragora-bios">Tested with virt-manager, KVM and the Dragora graphical installer and the default options.</ref>.
 +
| <!-- Libreboot -->
 +
| {{no}}<ref name="dragora-uefi">I was told on #dragora on liberachat that UEFI wasn't supported</ref>
 +
| {{no}}<ref name="dragora-uefi"></ref>
 +
| {{no}}<ref name="dragora-uefi"></ref>
 +
|-
 +
! [http://www.gnu.org/software/guix/ Guix System]
 +
| {{yes}}<ref name="guix-manual-bios-uefi">The graphical installer [https://guix.gnu.org/manual/en/guix.html#Disk-Partitioning supports BIOS and UEFI], and there is also support for both in the [https://guix.gnu.org/manual/en/guix.html#Bootloader-Configuration Bootloader configuration settings]</ref>.
 +
| style="background: #FFFF00; text-align: {{{align|center}}};" | Possible <ref>
 +
It's possible to produce a grub configuration without installing grub:
 +
(bootloader (bootloader-configuration (bootloader (bootloader (inherit grub-bootloader) (installer #~(const #t))))))
 +
TODO: Find up to date and working documentation on how to install Guix on Libreboot computers and contribute that information to the Guix installation manual.</ref>
 +
| {{yes}} <!-- UEFI 32bit on 32bit CPU -->
 +
| style="background: #FFFF00; text-align: {{{align|center}}};" | Incomplete <ref>We can [https://guix.gnu.org/manual/en/guix.html#image_002dtype-Reference create images with guix system image -t efi32-raw], and [https://guix.gnu.org/manual/en/guix.html#image_002dtype-Reference define configurations with 32bit UEFI], but there is no official installer for efi32-raw (though we might be able to create one with "guix system image -t efi32-raw gnu/system/install.scm" with gnu/system/install.scm from the Guix source code) and the installer application probably doesn't support efi32-raw yet.</ref>
 +
<!-- UEFI 32bit on 64bit CPU -->
 +
| {{yes}}<ref name="guix-manual-bios-uefi"></ref>
 +
|-
 +
! [https://www.hyperbola.info/ Hyperbola v0.4.2 (milky-way)]
 +
| {{yes}}<ref>The installer boots on a computers with a BIOS (Toshiba NB550D).</ref>
 +
| {{yes|Yes: supported by Hyperbola}}<ref>https://wiki.hyperbola.info/doku.php?id=en:manual:fde_installation</ref>
 +
| {{yes}}<ref>hyperbola-milky-way-v0.4.2-dual.iso was successfully booted in i686 mode on a Dell Venue 8 pro (x86_64 with 32bit UEFI) by selecting "Boot Hyperbola GNU/Linux-libre HyperISO (i686) from HYPER_EFI"</ref>
 +
| {{orange|Difficult}}<ref>Once hyperbola-milky-way-v0.4.2-dual.iso is booted on an x86_64 computer, the grub package has files in /usr/lib/grub/x86_64-efi and /usr/lib/grub/i386-efi. So it's possible to install it on 32bit UEFI with an x86_64 CPU in theory. However booting that ISO and selecting Boot Hyperbola GNU/Linux-libre HyperISO (x86_64) from HYPER_EFI" results in the installer erroring with "Error: Not found while loading vmlinuz". The same ISO works on a Thinkpad X230 (x86_64 with x86_64 UEFI) in UEFI mode with secure boot disabled.</ref>
 +
| {{yes}}<ref>Hyperbola installation instruction [https://wiki.hyperbola.info/doku.php?id=en:manual:reference_installation#format_the_partitions have specific instructions for UEFI]. The installer also boots on computers with UEFI.</ref>
 +
|-
 +
! [https://en.wikipedia.org/wiki/Parabola_GNU/Linux-libre Parabola]
 +
| {{yes}} <!-- BIOS -->
 +
| {{yes|Supported by Parabola}}<ref>Documentation: https://wiki.parabola.nu/Installing_Parabola_on_Libreboot_with_full_disk_encryption_(including_/boot)</ref>
 +
| {{orange|Difficult}}<ref name="parabola-i386-efi">The parabola-2021.08.11-dual.iso was tested and it didn't boot on an x86_64 tablet with a 32bit UEFI (dell venue 8 pro). The same ISO boots fine on an x86_64 computer with a BIOS or an x86_64 computer with UEFI. However the Parabola GRUB package supports many GRUB platforms including i386-efi, so there is still a way to do the installation. Since there are no installation instructions for 32bit UEFI and that none of the (iso) installer have support for it, the only way to do it requires another computer. To do the installation someone could install Parabola on another computer and convert the installation to UEFI 32bit and reuse it on 32bit UEFI computer. Another way would be to create a bootable image with commands like dd, udisksctl loop-setup, pacstrap, and chroot inside and install an UEFI 32bit bootloader.</ref>
 +
| {{orange|Difficult}}<ref name="parabola-i386-efi"></ref>
 +
| {{yes}}<ref>Parabola installation instructions [https://wiki.parabola.nu/Installation_Guide#GRUB_configuration have specific instructions for UEFI.]</ref>
 +
|-
 +
! [https://pureos.net/ PureOS 10 (byzantium)]
 +
| {{yes}} <ref>The installer image boots fine on a qemu-kvm libvirt virtual machine running SeaBIOS on Parabola x86_64, and the installer (calamares) then detect the BIOS without issue.</ref>
 +
|
 +
| {{no}}<ref name="pureos-i686">There is no i686 support in PureOS.</ref>
 +
| {{orange|Difficult}}<ref>The [https://downloads.puri.sm/byzantium/gnome/2022-06-02/pureos-10~devel-gnome-live-20220602_amd64.iso official PureOS installer image] doesn't have support for 32bit UEFI (it only has bootx64.efi in /EFI/boot). But we can still install it (for instance with debootstrap, or by installing it on another computer first), because there is a grub-efi-ia32 package that can enable to boot on systems with 32bit UEFI.</ref>
 +
| {{yes}} <ref>The installer image boots fine on an UEFI computer, and the installer (calamares) then detect UEFI without issue</ref>
 +
|-
 +
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 10 (etiona)]
 +
| {{yes}} <!-- BIOS -->
 +
|
 +
| {{no}}<ref>There is no i686 support yet in Trisquel 10.</ref>
 +
| {{orange|Difficult}}<ref name="trisquel-grub-efi-ia32">Trisquel has a grub-efi-ia32, so there is a way to install it. But there are no installation instructions for 32bit UEFI and that none of the (iso) installer have support for it, so the only way to do it requires another computer. To do the installation someone could install Trisquel on another computer and convert the installation to UEFI 32bit and reuse it on 32bit UEFI computer. Another way would be to create a bootable image with commands like dd, udisksctl loop-setup, debootstrap , and chroot inside and install an UEFI 32bit bootloader.</ref>
 +
| {{yes}} <!-- UEFI 64bit on 64bit CPU -->
 +
|-
 +
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 11 (aramo)]
 +
| {{yes}}<ref>I tested booting the x86_64 installer on a computer with a BIOS. In addition an upgrade from Trisquel 10 to Trisquel 11 on the same computer worked and the computer boots fine.</ref>
 +
|
 +
| {{no}}<ref>There is no i686 support yet in Trisquel 11. Even if coreutils has an i386 package, most packages are probably missing (like like libreoffice-writer, abiword, etc). And there is also no i386 installer. So maybe the i386 packages are part of some 32bit compatibility feature only, or maybe the work is unfinished, etc. </ref>
 +
| {{orange|Difficult}}<ref name="trisquel-grub-efi-ia32"></ref>
 +
| {{yes}} <!-- UEFI 64bit on 64bit CPU -->
 +
|}
 +
 +
=== UEFI secure/restricted boot ===
 +
 +
Some computers vendor sell computers with what they call "secure boot". When it cannot be turned off, it becomes an anti-feature and the FSF calls it "restricted boot".
 +
 +
In 2012, the FSF wrote [https://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/campaigns/secure-boot-vs-restricted-boot/whitepaper.pdf a whitepaper] on the topic and advised that:
 +
The best solution currently available for operating system distributions
 +
includes:
 +
1. fully supporting user-generated keys, including providing tools and full
 +
documentation for booting and installing both modified and official
 +
versions of the distribution using this method;
 +
2. using a GPLv3-covered bootloader to help protect users against the
 +
dangers of Restricted Boot;
 +
3. avoiding requiring or encouraging users to trust Microsoft or any com-
 +
pany which makes proprietary software; and
 +
4. joining the FSF and the broader free software movement in pressuring
 +
computer distributors to facilitate easy and independent installation of
 +
free software operating systems on any computer.
 +
 +
And they also pointed to community resources where to report computers with restricted boot:
 +
We will help provide information about which computers and compo-
 +
nents are most compatible with free software, including making people
 +
aware of which machines have Restricted Boot. Much of this informa-
 +
tion will be found at http://h-node.org.
 +
 +
Since the release of Windows 10, Windows 10 certified computer are not required anymore to enable users to disable "secure boot"<ref>According to [https://en.wikipedia.org/wiki/Windows_10 the Wikipedia article on Windows 10], "As with Windows 8, all certified devices must ship with UEFI Secure Boot enabled by default. Unlike Windows 8, OEMs are no longer required to make Secure Boot settings user-configurable, meaning that devices may optionally be locked to run only Microsoft-signed operating systems."</ref>.
 +
 +
At the time of writing, h-node list [https://h-node.org/notebooks/catalogue/en/1/1/undef/E-garbage/undef/undef/compatibility/undef/undef/undef 23 computers that cannot run free distros for some reasons], but there is no way to explicitly filter for computers with restricted boot. It's also not clear if that list contains one or more computers that use restricted boot.<ref>Some of the computers reach the distribution boot menu (like "Install Trisquel", "Try Trisquel without installing") but have a black screen after that. These computers don't have restricted boot. Some other could have restricted boot but they would need more tests to know if it's the case or not.</ref>
 +
 +
In case there is no menu to disable restricted boot, some workaround might still exist, for instance if some keys are removed, the computer is expected not to check signatures anymore. There is also free software source code and documentation<ref>Example: https://blog.hansenpartnership.com/owning-your-windows-8-uefi-platform/</ref> exist to do that but we don't know if it still requires signed tools to be able to replace the keys in the first place, or if some UEFI can simply allow users to replace the keys easily in their menu. Better documentation is needed.
 +
 +
Finally distributions could also for instance try to ship a set of public and private keys in packages (and ideally use the same keys in all distributions to be able to boot all of them), and provide installation instructions or configuration to use these keys to disable the boot security and enable users and contributors to not have to deal with complicated configuration and handling of security keys or not be able to run modified bootloaders. Since the distributions typically enforce [https://mjg59.dreamwidth.org/55105.html some restriction] when secure boot is on<ref>For instance they disable kexec, access to physical memory from programs, etc.</ref> the signed programs could also report secure boot as off to avoid the distribution automatically enforcing these extra restrictions.
 +
 +
{| class="wikitable"  border="1"
 +
! Distribution or software
 +
! Booting with secure boot disabled
 +
! Avoiding trusting Microsoft key
 +
! Full support for user-generated keys
 +
|-
 +
! [https://dragora.org Dragora]
 +
| colspan=3 | N/A: doesn't support UEFI yet.<ref name="dragora-uefi"></ref>
 +
|-
 +
! [http://www.gnu.org/software/guix/ Guix System]
 +
| {{yes}}
 +
| {{yes}}<ref>Guix doesn't have any bootloaders (directly or indirectly) signed by Microsoft.</ref>
 +
| {{No|No documentation}}
 +
|-
 +
! [https://www.hyperbola.info/ Hyperbola v0.4.2 (milky-way)]
 +
| {{yes}}
 +
| {{yes}}<ref>Hyperbola doesn't have any bootloaders (directly or indirectly) signed by Microsoft. Also booting the hyperbola-milky-way-v0.4.2-dual.iso failed on a Thinkpad X230 with secure boot enforced.</ref>
 +
|
 +
|-
 +
! [https://en.wikipedia.org/wiki/Parabola_GNU/Linux-libre Parabola]
 +
| {{yes}}
 +
| {{yes}}<ref>Parabola builds GRUB but also reuses some of Arch Linux packages, like the shim bootloader. Parabola and Arch Linux bootloaders aren't signed by Microsoft. </ref>
 +
| {{No|No documentation}}
 +
|-
 +
! [https://pureos.net/ PureOS 10 (byzantium)]
 +
| {{yes}}
 +
| {{no}}<ref>PureOS byzantium has some bootloader packages from Debian (like shim-signed) that are signed by Microsoft. Though it also has corresponding unsigned packages like shim-unsigned.<br/>
 +
I also tested both the pureos-10~devel-gnome-live-20220602_amd64.iso and pureos-10~devel-plasma-live-20220602_amd64.iso installers on a Thinkpad X230 with the stock boot software (UEFI) with secure boot enforced, and due to some bug (probably in the UEFI) I had to select "debian" to boot on the installer. It then boots normally to PureOS. Without HDD that X230 would also refuse to boot on the PureOS installer.</ref>
 +
| {{No|No documentation}}
 +
|-
 +
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 10 (nabia)]
 +
| {{yes}}
 +
| {{yes}}<ref>Trisquel doesn't have any bootloaders (directly or indirectly) signed by Microsoft.</ref>
 +
|
 
|-
 
|-
! [https://en.wikipedia.org/wiki/Trisquel Trisquel]
+
! [https://en.wikipedia.org/wiki/Trisquel Trisquel 11 (aramo)]
| {{yes|i686}}
 
 
| {{yes}}
 
| {{yes}}
| {{no}}
+
| {{yes}}<ref>I tested the trisquel_11.0_amd64.iso installer on a Thinkpad X230 with the stock boot software (UEFI) with secure boot enforced, and it didn't boot.</ref>
| {{no}}
+
|
| {{no}}
 
 
|}
 
|}
  
=== Adding support for a device ===
+
=== Alternatives to UEFI secure/restricted boot ===
 +
 
 +
There are other ways to implement secure boot than the way it's done in UEFI. For instance:
 +
* With Libreboot+GRUB or Coreboot (which may include nonfree software) + GRUB, we can set a password in GRUB. If we add some seals (for instance with nail polish) to know if the computer was disassembled, we can get better security guarantees than with UEFI secure boot.
 +
* With Libreboot+GRUB / Coreboot+GRUB we can check gpg signatures. So it is possible to use that to check the signature of a kernel and initramfs, and that is much more simple to integrate in GNU/Linux distributions than UEFI secure boot, as doing that is just a matter of configuration. There is even [https://www.coreboot.org/GRUB2#Signed_kernels a tutorial] that was tested with older versions of Trisquel.
 +
* On Puri.sm computers, [https://docs.puri.sm/PureBoot.html PureBoot] is a way to check if the boot has been tempered with while still leaving users in control. It has been widely tested with PureOS. Though in practice it still somehow depends on nonfree software since part of it is implemented in the boot software which uses some nonfree software (Intel FSP, a stripped down Management engine firmware), to make the computer boot.
 +
 
 +
=== Partitioning ===
  
==== Minimum hardware requirements ====
+
These factors have an impact on how it is possible to boot a given computer:
 +
* The CPU architecture or the specific computer
 +
* The partitioning scheme, if LVM or LUKS are used, etc
 +
* The distribution
  
==== ARM devices ====
+
For instance if you have an ARM 64bit computer with Guix, you might not be able to use full boot encryption because:
 +
* You cannot have a separate /boot partition
 +
* What is in /boot partition needs to be loaded by the bootloader, so if it's encrypted the bootloader needs to open that partition
 +
* You don't have GRUB for ARM yet in Guix and u-boot doesn't support opening encrypted partitions
  
For ARM devices, you typically need to add a package for a free software bootloader that supports the device, and make sure that upstream Linux has enough hardware support to make the device useful.
+
For some reasons (a Mediawiki or syntax bug?) the partitioning table ends up in the next section, but it should be in this section.
 +
 
 +
{| class="wikitable"  border="1"
 +
|-
 +
! Distribution
 +
! Bootloader
 +
! Architectures
 +
! Separate /boot
 +
! encrypted /
 +
! LVM
 +
! Filesystems supported for /
 +
|-
 +
! rowspan=2 | Guix
 +
! GRUB
 +
!
 +
* i686-linux
 +
* x86_64-linux
 +
| rowspan=2 </noinclude>style="background: #ff9090; color: black; vertical-align: middle; text-align: {{{align|center}}};"<noinclude>  | No<ref>According to the [https://issues.guix.gnu.org/48172 bug #48172], Guix cannot have a separate /boot because it loads the kernel and initrd/initramfs from /gnu/store</ref>
 +
| {{yes}}
 +
| ?
 +
| Only<ref>[https://guix.gnu.org/en/manual/devel/en/guix.html The guix manual] states that "Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.".</ref>:
 +
* btrfs
 +
* ext4
 +
* F2FS
 +
* JFS
 +
* XFS
 +
|-
 +
! u-boot
 +
!
 +
* aarch64-linux
 +
| colspan=2 </noinclude>style="background: #ff9090; color: black; vertical-align: middle; text-align: {{{align|center}}};"<noinclude> | No<ref>u-boot can't open LUKS or LVM partitions, there is no way to have a separate /boot and there is no kexec based bootloader packaged.</ref>
 +
| Only<ref>At the time of writing, Guix uses u-boot 2022.10, which only supports ext4 and btrfs. And btrfs is only enabled in configurations for computers not supported by guix or for u-boot-sandbox.</ref>:
 +
* ext4
 +
|-
 +
! rowspan=2 | Parabola
 +
! GRUB
 +
!
 +
* i686
 +
* x86_64
 +
| {{yes}}
 +
| {{yes}}
 +
| {{yes}}
 +
| rowspan=2| See [[Group:Software/FSDG_distributions/Filesystems]].
 +
|-
 +
! u-boot
 +
!
 +
* armv7h
 +
| {{yes}}
 +
| colspan=2 | yes but with a separate unencrypted /boot
 +
|-}
  
 
== Small distributions ==
 
== Small distributions ==
  
{| border="0" style="font-size: smaller"
+
{| class="wikitable" border="1"
 
|- bgcolor="#6699ff"
 
|- bgcolor="#6699ff"
 
! Distribution or software
 
! Distribution or software
 +
! Usage
 
! Audience
 
! Audience
 
! Release type
 
! Release type
Line 100: Line 386:
 
! [https://librecmc.org libreCMC]
 
! [https://librecmc.org libreCMC]
 
|
 
|
 +
* WiFi access point and small network equipements
 +
* Ben Nanonote (tiny portable device)
 +
|
 +
* LibreCMC can probably be used without any command line knowledge, but it requires some networking knowledge (like what is 'DHCP', what is an IP address, etc). See also [[Group:Software/FSDG_distributions/DistroConfiguration|DistroConfiguration]] for more details.
 +
* The installation might be more or less complex depending on the device. Some compatible devices are RYF compliant so they can just be bought with LibreCMC already installed.
 
| Stable releases
 
| Stable releases
 
|-
 
|-
 
! [http://proteanos.com/ ProteanOS]
 
! [http://proteanos.com/ ProteanOS]
|
+
| ?
|
+
| ?
 +
| ?
 
|-
 
|-
 
! [https://replicant.us/ Replicant]
 
! [https://replicant.us/ Replicant]
| Extremely basic command line knowledge required for the installation
+
|
 +
* Android distribution for smartphones and tablets
 +
|
 +
* No need to know the command line to use it.
 +
* Users need to have extremely basic command line knowledge for the installation. Devices can also be bought with Replicant already installed. Though these devices are not RYF certified.
 
| Stable releases  
 
| Stable releases  
 
|-
 
|-
 
|}
 
|}
  
=== Architectures support ===
+
=== Target architectures support ===
{| border="0" style="font-size: smaller"
+
 
 +
This section mentions which architecture the small distributions can run on. For instance Replicant runs on ARM (smartphones and tablets).
 +
 
 +
{| class="wikitable" border="1"
 
|- bgcolor="#6699ff"
 
|- bgcolor="#6699ff"
 
! Distribution or software
 
! Distribution or software
! x86 32bit support
+
! ARM 32bit
! x86 64bit support
+
! ARM 64bit
! ARM 32bit support
+
! MIPS 32bit big endian
! ARM 64bit support
+
! MIPS 64bit little endian
! MIPS support
+
! PowerPC 32bit big endian
 +
! PowerPC 64bit little endian
 +
! Riscv 32bit
 +
! Riscv 64bit
 +
! x86 32bit
 +
! x86 64bit
 
|-
 
|-
| libreCMC
+
! [https://librecmc.org libreCMC]
| {{no|Requires to build from source}}
+
| {{yes|built for cortexa9}}<ref>https://librecmc.org/librecmc/downloads/snapshots/v1.5.10/targets/mvebu/cortexa9/</ref>
| {{no|Requires to build from source}}
 
| {{no|Requires to build from source}}
 
 
| {{no}}
 
| {{no}}
 
| {{yes}}
 
| {{yes}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 +
| {{yes|Requires to build from source}}
 +
| {{yes|Requires to build from source}}
 
|-
 
|-
| ProteanOS
+
! [http://proteanos.com/ ProteanOS]
| ?
+
| {{no}}<ref name="proteanos-supported-pc">http://proteanos.com/doc/install/pc/</ref>
| ?
+
| {{no}}<ref name="proteanos-supported-pc"></ref>
| ?
+
| {{no}}<ref name="proteanos-supported-pc"></ref>
| ?
+
| {{no}}<ref name="proteanos-supported-pc"></ref>
| ?
+
| {{no}}<ref name="proteanos-supported-pc"></ref>
 +
| {{no}}<ref name="proteanos-supported-pc"></ref>
 +
| {{no}}<ref name="proteanos-supported-pc"></ref>
 +
| {{no}}<ref name="proteanos-supported-pc"></ref>
 +
| {{yes}}<ref name="proteanos-supported-pc"></ref>
 +
| {{yes}}<ref name="proteanos-supported-pc"></ref>
 
|-  
 
|-  
| Replicant
+
! [https://replicant.us/ Replicant]
 +
| {{yes|Probably requires ARMv7}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 +
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
| {{yes}}
 
 
| {{no}}
 
| {{no}}
 
| {{no}}
 
| {{no}}
 +
|-
 +
|}
 +
 +
=== Host architectures support ===
 +
 +
This section mentions which architecture can be used to build the small distributions. For instance Replicant can only be built on x86_64 GNU/Linux computers.
 +
 +
{| class="wikitable"  border="1"
 +
|- bgcolor="#6699ff"
 +
! Distribution or software
 +
! x86 32bit
 +
! x86 64bit
 +
|-
 +
! [https://librecmc.org libreCMC]
 +
| ?
 +
| {{Yes}}
 +
|-
 +
! [http://proteanos.com/ ProteanOS]
 +
|-
 +
! [https://replicant.us/ Replicant]
 +
| {{no}}
 +
| {{Yes}}
 
|-
 
|-
 
|}
 
|}
Line 147: Line 488:
 
== Adding support for a device ==
 
== Adding support for a device ==
  
{| border="0" style="font-size: smaller"
+
{| class="wikitable" border="1"
 
|- bgcolor="#6699ff"
 
|- bgcolor="#6699ff"
 
! Distribution or software
 
! Distribution or software
 
! Adding support for a device
 
! Adding support for a device
 +
|-
 +
! General purpose GNU/Linux distributions
 +
|
 +
* You may need to package device specific software like bootloaders for non-x86 devices
 +
* You may need to update or write installation instructions for the device if the existing ones do not support the device
 +
* You need to upstream the code that makes the hardware work if it's not already done
 
|-
 
|-
 
! [https://librecmc.org libreCMC]
 
! [https://librecmc.org libreCMC]
Line 159: Line 506:
 
|-
 
|-
 
! [https://replicant.us/ Replicant]
 
! [https://replicant.us/ Replicant]
| You need to add a vendor/device/the-vendor/the-device repository with the hardware configuration
+
|  
 +
* You need to add a vendor/device/the-vendor/the-device repository with the hardware configuration
 +
* You may need to package the code that makes the hardware work if it's not already done
 
|-
 
|-
 
|}
 
|}
  
== TODO ==
+
== See also ==
* Point to https://wiki.parabola.nu/Rolling_vs._LTS
+
* [[Group:Software/FSDG distributions]]
 +
 
 +
== References ==
 +
<references/>
 +
 
 +
{{featured resource|month=August|year=2020}}

Latest revision as of 12:04, 6 August 2024

Introduction

This page is meant to document what type of hardware FSDG compliant can and/or want to support.

For instance having FSDG compliant distributions that support many architecture is interesting for several reasons:

  • To get the RYF certification for a computer, being able to use all the components of that computer with free software is not enough as that computer also needs run an FSDG compliant distribution on that computer. See the RYF endorsement criteria for more details on that certification.
  • Users that want a fully free system can also build systems similar to the ones that got the RYF certification themselves and/or get some help to do it, and here they also need FSDG compliant distributions to run on their computers.
  • As some computers can run fully free software, with some of the hardware components not working, it's also very interesting to be able to have a distribution to support such hardware. See the article on single-board-computers on the FSF website for more details.

So it is very interesting to document that.

It is also interesting to combine that information with information about what type of users are able to use the FSDG distributions. For instance if an architecture is supported only by FSDG compliant distributions that are for technical users with good command line knowledge, it would then dramatically limit the amount of people able to use that computers with that architecture with fully free software.

The release type (Rolling release, stable releases) and the release frequency is also important to take into account:

General purpose GNU/Linux distributions

General information

Distribution Audience Release type
Dragora Technical users:
  • Graphical installation
  • No graphical package manager[1]
  • Very few packages[2]
Stable releases

Rolling releases are also possible

Guix System Technical users:
  • Mostly graphical installation
  • The knowledge of the scheme guile programing language is required to administrate the system
  • No integrated graphical package manager yet.[3]
Rolling release
Hyperbola Everybody?
  • Can the installation be done graphically?
  • It has a graphical package manager (octopi). Is it installed during the graphical installation?
  • Does the user needs to mess up with configuration files?
Stable releases
Parabola Everybody: Rolling releases
PureOS Everybody:
  • The installation can be done graphically
  • There is a graphical package manager installed during the graphical installation
Stable releases
Trisquel Everybody:
  • The installation can be done graphically
  • There is a graphical package manager installed during the graphical installation
Stable releases

Architectures support

Distribution or software ARM 32bit ARM 64bit MIPS 64bit little endian PowerPC 32bit big endian PowerPC 64bit little endian Riscv 64bit x86 32bit x86 64bit
Dragora 3.0 beta2 No[4] No[4] No[4] No[4] No[4] No[4] No[4] Yes
Guix System armhf Yes Cross compilation only[5] Cross compilation only[6] POWER9, experimental[7] Cross compilation only[8] i686 Yes
Hyperbola No No No No No No i686 Yes
Parabola armv7h experimental, through armv7h only[9] No, discontinued[10] No Unfinished Unfinished i686 Yes
PureOS 10 (byzantium) No Yes, can be installed with debootstrap[11] No No No No No Yes
Trisquel 10 (nabia) armhf[12] No No No No No No Yes
Trisquel 11 (aramo) armhf[13] arm64[13] No No ppc64el[13] No i386[13] amd64[13]

Boot software interfaces support

Many ARM single board computers contains a boot ROM (usually called bootrom) that is small and read-only and that loads the bootloader from an external peripheral like a microSD or the internal memory (like an eMMC for instance). There the bootloader replaces something like GRUB and the BIOS on x86. This situation usually puts the distributions in control as they can ship the bootloaders they want for these computers, so it's up to them to choose the details of how the computer boots (though the downside is that they might need to build and package a bootloader for each devices they want to support).

In contrast, on most x86 computers and on some ARM computers it doesn't work like that. There is a boot software like a BIOS or UEFI on a memory chip that is soldered on the mainboard, and it's a lot more difficult for users to replace that software with free software or to recover from code that doesn't boot.

This makes it interesting to document what boot software interfaces FSDG distributions supports, because if a distribution doesn't support the BIOS interface anymore, then it won't work on computers with that Interface (like laptops with Libreboot and SeaBIOS instead of GRUB).

And even if users have Libreboot and can change the way the computer boots, they are often afraid to try to change how things work by themselves: if something goes wrong, most users don't know how to recover form it (it requires advanced hardware tools like flash programmer, to disassemble the computer, etc).

And in case of computers with nonfree BIOS and UEFI users don't even have the option of changing the way it boots, and can't try to contribute to projects like Libreboot to add more options and get that tested by the community.

Distribution or software BIOS Libreboot with GRUB UEFI 32bit on 32bit CPU UEFI 32bit on 64bit CPU UEFI 64bit on 64bit CPU
Dragora Yes[14]. No[15] No[15] No[15]
Guix System Yes[16]. Possible [17] Yes Incomplete [18] Yes[16]
Hyperbola v0.4.2 (milky-way) Yes[19] Yes: supported by Hyperbola[20] Yes[21] Difficult[22] Yes[23]
Parabola Yes Supported by Parabola[24] Difficult[25] Difficult[25] Yes[26]
PureOS 10 (byzantium) Yes [27] No[28] Difficult[29] Yes [30]
Trisquel 10 (etiona) Yes No[31] Difficult[32] Yes
Trisquel 11 (aramo) Yes[33] No[34] Difficult[32] Yes

UEFI secure/restricted boot

Some computers vendor sell computers with what they call "secure boot". When it cannot be turned off, it becomes an anti-feature and the FSF calls it "restricted boot".

In 2012, the FSF wrote a whitepaper on the topic and advised that:

The best solution currently available for operating system distributions
includes:
1. fully supporting user-generated keys, including providing tools and full
documentation for booting and installing both modified and official
versions of the distribution using this method;
2. using a GPLv3-covered bootloader to help protect users against the
dangers of Restricted Boot;
3. avoiding requiring or encouraging users to trust Microsoft or any com-
pany which makes proprietary software; and
4. joining the FSF and the broader free software movement in pressuring
computer distributors to facilitate easy and independent installation of
free software operating systems on any computer.

And they also pointed to community resources where to report computers with restricted boot:

We will help provide information about which computers and compo-
nents are most compatible with free software, including making people
aware of which machines have Restricted Boot. Much of this informa-
tion will be found at http://h-node.org.

Since the release of Windows 10, Windows 10 certified computer are not required anymore to enable users to disable "secure boot"[35].

At the time of writing, h-node list 23 computers that cannot run free distros for some reasons, but there is no way to explicitly filter for computers with restricted boot. It's also not clear if that list contains one or more computers that use restricted boot.[36]

In case there is no menu to disable restricted boot, some workaround might still exist, for instance if some keys are removed, the computer is expected not to check signatures anymore. There is also free software source code and documentation[37] exist to do that but we don't know if it still requires signed tools to be able to replace the keys in the first place, or if some UEFI can simply allow users to replace the keys easily in their menu. Better documentation is needed.

Finally distributions could also for instance try to ship a set of public and private keys in packages (and ideally use the same keys in all distributions to be able to boot all of them), and provide installation instructions or configuration to use these keys to disable the boot security and enable users and contributors to not have to deal with complicated configuration and handling of security keys or not be able to run modified bootloaders. Since the distributions typically enforce some restriction when secure boot is on[38] the signed programs could also report secure boot as off to avoid the distribution automatically enforcing these extra restrictions.

Distribution or software Booting with secure boot disabled Avoiding trusting Microsoft key Full support for user-generated keys
Dragora N/A: doesn't support UEFI yet.[15]
Guix System Yes Yes[39] No documentation
Hyperbola v0.4.2 (milky-way) Yes Yes[40]
Parabola Yes Yes[41] No documentation
PureOS 10 (byzantium) Yes No[42] No documentation
Trisquel 10 (nabia) Yes Yes[43]
Trisquel 11 (aramo) Yes Yes[44]

Alternatives to UEFI secure/restricted boot

There are other ways to implement secure boot than the way it's done in UEFI. For instance:

  • With Libreboot+GRUB or Coreboot (which may include nonfree software) + GRUB, we can set a password in GRUB. If we add some seals (for instance with nail polish) to know if the computer was disassembled, we can get better security guarantees than with UEFI secure boot.
  • With Libreboot+GRUB / Coreboot+GRUB we can check gpg signatures. So it is possible to use that to check the signature of a kernel and initramfs, and that is much more simple to integrate in GNU/Linux distributions than UEFI secure boot, as doing that is just a matter of configuration. There is even a tutorial that was tested with older versions of Trisquel.
  • On Puri.sm computers, PureBoot is a way to check if the boot has been tempered with while still leaving users in control. It has been widely tested with PureOS. Though in practice it still somehow depends on nonfree software since part of it is implemented in the boot software which uses some nonfree software (Intel FSP, a stripped down Management engine firmware), to make the computer boot.

Partitioning

These factors have an impact on how it is possible to boot a given computer:

  • The CPU architecture or the specific computer
  • The partitioning scheme, if LVM or LUKS are used, etc
  • The distribution

For instance if you have an ARM 64bit computer with Guix, you might not be able to use full boot encryption because:

  • You cannot have a separate /boot partition
  • What is in /boot partition needs to be loaded by the bootloader, so if it's encrypted the bootloader needs to open that partition
  • You don't have GRUB for ARM yet in Guix and u-boot doesn't support opening encrypted partitions

For some reasons (a Mediawiki or syntax bug?) the partitioning table ends up in the next section, but it should be in this section.

Small distributions

Distribution Bootloader Architectures Separate /boot encrypted / LVM Filesystems supported for /
Guix GRUB
  • i686-linux
  • x86_64-linux
No[45] Yes ? Only[46]:
  • btrfs
  • ext4
  • F2FS
  • JFS
  • XFS
u-boot
  • aarch64-linux
No[47] Only[48]:
  • ext4
Parabola GRUB
  • i686
  • x86_64
Yes Yes Yes See Group:Software/FSDG_distributions/Filesystems.
u-boot
  • armv7h
Yes yes but with a separate unencrypted /boot
Distribution or software Usage Audience Release type
libreCMC
  • WiFi access point and small network equipements
  • Ben Nanonote (tiny portable device)
  • LibreCMC can probably be used without any command line knowledge, but it requires some networking knowledge (like what is 'DHCP', what is an IP address, etc). See also DistroConfiguration for more details.
  • The installation might be more or less complex depending on the device. Some compatible devices are RYF compliant so they can just be bought with LibreCMC already installed.
Stable releases
ProteanOS ? ? ?
Replicant
  • Android distribution for smartphones and tablets
  • No need to know the command line to use it.
  • Users need to have extremely basic command line knowledge for the installation. Devices can also be bought with Replicant already installed. Though these devices are not RYF certified.
Stable releases

Target architectures support

This section mentions which architecture the small distributions can run on. For instance Replicant runs on ARM (smartphones and tablets).

Distribution or software ARM 32bit ARM 64bit MIPS 32bit big endian MIPS 64bit little endian PowerPC 32bit big endian PowerPC 64bit little endian Riscv 32bit Riscv 64bit x86 32bit x86 64bit
libreCMC built for cortexa9[49] No Yes No No No No No Requires to build from source Requires to build from source
ProteanOS No[50] No[50] No[50] No[50] No[50] No[50] No[50] No[50] Yes[50] Yes[50]
Replicant Probably requires ARMv7 No No No No No No No No No

Host architectures support

This section mentions which architecture can be used to build the small distributions. For instance Replicant can only be built on x86_64 GNU/Linux computers.

Distribution or software x86 32bit x86 64bit
libreCMC ? Yes
ProteanOS
Replicant No Yes

Adding support for a device

Distribution or software Adding support for a device
General purpose GNU/Linux distributions
  • You may need to package device specific software like bootloaders for non-x86 devices
  • You may need to update or write installation instructions for the device if the existing ones do not support the device
  • You need to upstream the code that makes the hardware work if it's not already done
libreCMC
ProteanOS
Replicant
  • You need to add a vendor/device/the-vendor/the-device repository with the hardware configuration
  • You may need to package the code that makes the hardware work if it's not already done

See also

References

  1. https://dragora.org/manual/en/html_node/pkgmanagement.html
  2. http://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes
  3. So far the only graphical tools are either very domain specific tools (like a web interface for using Guix to do scientific experiments) or are too experimental to be packaged into Guix.
  4. 4.04.14.24.34.44.54.6 Dragora can also be bootstraped from source, but there is no guarantee that it will work for unsupported architectures.
  5. Guix still support cross compiling for mips64el-linux-gnu
  6. Guix support cross compiling for powerpc-linux-gnu.
  7. The Guix 1.3.0 release blog post (https://guix.gnu.org/en/blog/2021/gnu-guix-1.3.0-released/) states that "POWER9 support is now available as a technology preview"
  8. Guix support cross compiling for riscv64-linux-gnu.
  9. For it to work:
    • You need to install the linux-libre-aarch64 kernel
    • You need a processor that also support running 32bit arm code
    Also note that bootloaders for aarch64 computers are not packaged yet, so you'll need to compile them yourself for now.
  10. https://www.parabola.nu/news/parabola-support-for-mips64el-discontinued/
  11. This can be done in two stages like with debian. The first stage can be done this way: debootstrap --foreign --arch arm64 byzantium ./rootfs https://repo.puri.sm/pureos Amber can probably also be installed but I lacked older hardware that was supported by its kernel. Adding the dtb made it boot on Amber though.
  12. If we look at the coreutils package, we can see x86_64 and armhf. There is also many u-boot packages for armhf computers
  13. 13.013.113.213.313.4 If we look at the coreutils package, we can see amd64, arm64, armhf, i386, ppc64el. And if we look at https://cdimage.trisquel.info/trisquel-images we don't have i386 anymore.
  14. Tested with virt-manager, KVM and the Dragora graphical installer and the default options.
  15. 15.015.115.215.3 I was told on #dragora on liberachat that UEFI wasn't supported
  16. 16.016.1 The graphical installer supports BIOS and UEFI, and there is also support for both in the Bootloader configuration settings
  17. It's possible to produce a grub configuration without installing grub: (bootloader (bootloader-configuration (bootloader (bootloader (inherit grub-bootloader) (installer #~(const #t)))))) TODO: Find up to date and working documentation on how to install Guix on Libreboot computers and contribute that information to the Guix installation manual.
  18. We can create images with guix system image -t efi32-raw, and define configurations with 32bit UEFI, but there is no official installer for efi32-raw (though we might be able to create one with "guix system image -t efi32-raw gnu/system/install.scm" with gnu/system/install.scm from the Guix source code) and the installer application probably doesn't support efi32-raw yet.
  19. The installer boots on a computers with a BIOS (Toshiba NB550D).
  20. https://wiki.hyperbola.info/doku.php?id=en:manual:fde_installation
  21. hyperbola-milky-way-v0.4.2-dual.iso was successfully booted in i686 mode on a Dell Venue 8 pro (x86_64 with 32bit UEFI) by selecting "Boot Hyperbola GNU/Linux-libre HyperISO (i686) from HYPER_EFI"
  22. Once hyperbola-milky-way-v0.4.2-dual.iso is booted on an x86_64 computer, the grub package has files in /usr/lib/grub/x86_64-efi and /usr/lib/grub/i386-efi. So it's possible to install it on 32bit UEFI with an x86_64 CPU in theory. However booting that ISO and selecting Boot Hyperbola GNU/Linux-libre HyperISO (x86_64) from HYPER_EFI" results in the installer erroring with "Error: Not found while loading vmlinuz". The same ISO works on a Thinkpad X230 (x86_64 with x86_64 UEFI) in UEFI mode with secure boot disabled.
  23. Hyperbola installation instruction have specific instructions for UEFI. The installer also boots on computers with UEFI.
  24. Documentation: https://wiki.parabola.nu/Installing_Parabola_on_Libreboot_with_full_disk_encryption_(including_/boot)
  25. 25.025.1 The parabola-2021.08.11-dual.iso was tested and it didn't boot on an x86_64 tablet with a 32bit UEFI (dell venue 8 pro). The same ISO boots fine on an x86_64 computer with a BIOS or an x86_64 computer with UEFI. However the Parabola GRUB package supports many GRUB platforms including i386-efi, so there is still a way to do the installation. Since there are no installation instructions for 32bit UEFI and that none of the (iso) installer have support for it, the only way to do it requires another computer. To do the installation someone could install Parabola on another computer and convert the installation to UEFI 32bit and reuse it on 32bit UEFI computer. Another way would be to create a bootable image with commands like dd, udisksctl loop-setup, pacstrap, and chroot inside and install an UEFI 32bit bootloader.
  26. Parabola installation instructions have specific instructions for UEFI.
  27. The installer image boots fine on a qemu-kvm libvirt virtual machine running SeaBIOS on Parabola x86_64, and the installer (calamares) then detect the BIOS without issue.
  28. There is no i686 support in PureOS.
  29. The official PureOS installer image doesn't have support for 32bit UEFI (it only has bootx64.efi in /EFI/boot). But we can still install it (for instance with debootstrap, or by installing it on another computer first), because there is a grub-efi-ia32 package that can enable to boot on systems with 32bit UEFI.
  30. The installer image boots fine on an UEFI computer, and the installer (calamares) then detect UEFI without issue
  31. There is no i686 support yet in Trisquel 10.
  32. 32.032.1 Trisquel has a grub-efi-ia32, so there is a way to install it. But there are no installation instructions for 32bit UEFI and that none of the (iso) installer have support for it, so the only way to do it requires another computer. To do the installation someone could install Trisquel on another computer and convert the installation to UEFI 32bit and reuse it on 32bit UEFI computer. Another way would be to create a bootable image with commands like dd, udisksctl loop-setup, debootstrap , and chroot inside and install an UEFI 32bit bootloader.
  33. I tested booting the x86_64 installer on a computer with a BIOS. In addition an upgrade from Trisquel 10 to Trisquel 11 on the same computer worked and the computer boots fine.
  34. There is no i686 support yet in Trisquel 11. Even if coreutils has an i386 package, most packages are probably missing (like like libreoffice-writer, abiword, etc). And there is also no i386 installer. So maybe the i386 packages are part of some 32bit compatibility feature only, or maybe the work is unfinished, etc.
  35. According to the Wikipedia article on Windows 10, "As with Windows 8, all certified devices must ship with UEFI Secure Boot enabled by default. Unlike Windows 8, OEMs are no longer required to make Secure Boot settings user-configurable, meaning that devices may optionally be locked to run only Microsoft-signed operating systems."
  36. Some of the computers reach the distribution boot menu (like "Install Trisquel", "Try Trisquel without installing") but have a black screen after that. These computers don't have restricted boot. Some other could have restricted boot but they would need more tests to know if it's the case or not.
  37. Example: https://blog.hansenpartnership.com/owning-your-windows-8-uefi-platform/
  38. For instance they disable kexec, access to physical memory from programs, etc.
  39. Guix doesn't have any bootloaders (directly or indirectly) signed by Microsoft.
  40. Hyperbola doesn't have any bootloaders (directly or indirectly) signed by Microsoft. Also booting the hyperbola-milky-way-v0.4.2-dual.iso failed on a Thinkpad X230 with secure boot enforced.
  41. Parabola builds GRUB but also reuses some of Arch Linux packages, like the shim bootloader. Parabola and Arch Linux bootloaders aren't signed by Microsoft.
  42. PureOS byzantium has some bootloader packages from Debian (like shim-signed) that are signed by Microsoft. Though it also has corresponding unsigned packages like shim-unsigned.
    I also tested both the pureos-10~devel-gnome-live-20220602_amd64.iso and pureos-10~devel-plasma-live-20220602_amd64.iso installers on a Thinkpad X230 with the stock boot software (UEFI) with secure boot enforced, and due to some bug (probably in the UEFI) I had to select "debian" to boot on the installer. It then boots normally to PureOS. Without HDD that X230 would also refuse to boot on the PureOS installer.
  43. Trisquel doesn't have any bootloaders (directly or indirectly) signed by Microsoft.
  44. I tested the trisquel_11.0_amd64.iso installer on a Thinkpad X230 with the stock boot software (UEFI) with secure boot enforced, and it didn't boot.
  45. According to the bug #48172, Guix cannot have a separate /boot because it loads the kernel and initrd/initramfs from /gnu/store
  46. The guix manual states that "Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.".
  47. u-boot can't open LUKS or LVM partitions, there is no way to have a separate /boot and there is no kexec based bootloader packaged.
  48. At the time of writing, Guix uses u-boot 2022.10, which only supports ext4 and btrfs. And btrfs is only enabled in configurations for computers not supported by guix or for u-boot-sandbox.
  49. https://librecmc.org/librecmc/downloads/snapshots/v1.5.10/targets/mvebu/cortexa9/
  50. 50.050.150.250.350.450.550.650.750.850.9 http://proteanos.com/doc/install/pc/

This page was a featured resource in August 2020.