Arch to Manjaro – the dirty way

In my lab I’ve been running arch on a NFS server and the filesystem used is ZFS. I think you already know that in Arch the zfs packages are located in AUR.

There are several options like zfs-linux and zfs-dkms. Sadly both are problematic during kernel updates. One solution I found to make these problems go away is to use Manjaro instead of Arch.

In Manjaro the zfs packages are in the repositories. Every kernel you use like linux610 also has a package called linux610-zfs.

First we make sure that everything is up to date

pacman -Syyuu

Then we change the content of the file /etc/pacman.d/mirrorlist to point to Manjaro packages

Server = https://manjaro.ynh.ovh/stable/$repo/$arch

I only put one mirror, feel free to chose your favorite from repo.manjaro.org

Because we will have some issues with the package signatures we temporarily disable the signature check. We edit the file /etc/pacman.conf by commenting one line and adding another

# SigLevel = Required DatabaseOptionalSigLevel = Optional TrustAll

Now we install the Manjaro specific keys:

pacman -Syy pacman -S manjaro-keyring

Then populate the keys thru the system

pacman-key --init pacman-key --populate archlinux manjaro

Now we can revert the key verification options in /etc/pacman.conf

SigLevel = Required DatabaseOptional # SigLevel = Optional TrustAll

Remove the Arch kernel and install the Manjaro one

pacman -Runs linux pacman -S linux610

And reinstall all packages that are allready installed.

 pacman -Qqn |pacman -S - 

The next step is to reconfigure the boot manager. In my case I use systemd-boot

pacman -S systemd-boot-manager bootctl update sdboot-manage gen

Reconfigure the Mirrors

pacman -S pacman-mirrors pacman-mirrors -c France,Germany

Manage the .pacnew files

find /etc/ -name *.pacnew

Despre ZTB.ro

ZTB.ro este un agregator românesc de bloguri care colectează și afișează articole din diverse domenii, oferind vizibilitate bloggerilor și o platformă centralizată pentru cititori. Articolele sunt preluate prin feed-uri RSS/Atom și direcționează traficul către blogurile originale.

Articole recente