Installing other distributions

From ParabolaWiki
Jump to: navigation, search

1 Introduction

Parabola has support for installing through methods like pacstrap or debootstrap various other FSDG compliant distributions, directly from Parabola.

The Libreplanet wiki also has a page on the hardware architectures supported by various FSDG distributions which can be helpful to see which architectures are supported for a given distribution or which distributions are supported for a given architecture.

2 Distributions

2.1 Gnewsense

According to the Versions section of the wikipedia article on Gnewsense, all the released versions of Gnewsense are not maintained anymore.

This means that if you install it, you will most probably get very serious security issues along the way.

Though there are probably some very specific cases where it's still useful to do that.

Also there is no gnewsense-keyring package yet in Parabola. So it would be a good idea to add them it to prevent huge security issues during the installation of gnewsense.

According to the gnewsense website, Gnewsense development has restarted, however there are no new release yet.

2.2 GuixSD

See Using_GNU_Guix_on_Parabola for more details on GuiX in Parabola.

With GuiX you can easily generate installable GuiXSD images but generating a chroot is way more complicated.

We also need to package a more recent version of GuiX in Parabola.

2.3 Hyperbola

To install a hyperbola chroot, you first need to install the required packages:

# pacman -S hyperbola-archlinux-keyring hyperbola-keyring hyperbola-mirrorlist hyperbola-pacstrap-config

Then add hyperbola to the packages trust:

# pacman-key --populate hyperbola
# pacman-key --populate hyperbola-archlinux

Note that it will also have the effect of trusting the hyperbola keyrings.

Then to install the i686 version of hyperbola in a chroot you can use the following:

# mkdir -p hyperbola-rootfs
# pacstrap -G -C /usr/share/pacstrap/hyperbola/pacman.conf.i686 hyperbola-rootfs

And for the x86_64 version:

# mkdir -p hyperbola-rootfs
# pacstrap -G -C /usr/share/pacstrap/hyperbola/pacman.conf.x86_64 hyperbola-rootfs

We can then verify that we have installed hyperbola:

# arch-chroot hyperbola/
==> WARNING: hyperbola/ is not a mountpoint. This may have undesirable side effects.
[root@primarylaptop /]# lsb_release -a
LSB Version:	1.4
Distributor ID:	Hyperbola
Description:	Hyperbola GNU/Linux-libre
Release:	milky-way-v0.3
Codename:	stable

2.4 PureOS

To install PureOS, you need to install debootstrap and pureos-archive-keyring to have the signatures checked automatically.

# pacman -S debootstrap pureos-archive-keyring

There is a page on PureOS architectures support in the Libreplanet wiki, with cross-architecture installation instructions to generate a bootable image for a single board computer with a bootloader that is already installed on a dedicated flash chip.

The instructions can easily be adapted to:

  • Install PureOS chroots
  • Install PureOS for various architectures

The instructions were made with Parabola, so if they are up to date they should work with Parabola.

2.5 Trisquel

To install Trisquel you need to install debootstrap and the Trisquel keyring to make it automatically check the signatures

# pacman -S debootstrap trisquel-keyring

2.5.1 Trisquel 8

To generate a chroot for the i686 architecture you can use the following:

# mkdir -p trisquel-8-rootfs
# debootstrap --arch i386 flidas trisquel-8-rootfs http://archive.trisquel.info/trisquel

And for the x86_64 architecture:

# mkdir -p trisquel-8-rootfs
# debootstrap --arch amd64 flidas trisquel-8-rootfs http://archive.trisquel.info/trisquel

2.5.2 Trisquel 7 and older

It's also possible to install older versions of Trisquel.

However, according to the Release history of the Trisquel wikipedia article they are not maintained.

This means that if you install it, you will most probably get very serious security issues along the way.

Though there are some very specific cases where it's still useful to do that, for instance to compile old versions of Replicant in order to do some tests for tracking bugs.