Installing to zfs

Not sure if this is the right place to ask this and I apologize if it isn't. I want to install Garuda onto zfs but I haven't been able to find a guide anywhere, and could not figure out how to do it. I was wondering if anyone else has successfully does this and knows how or if it's even possible.

There is no option to choose a shell in the installer, if that is what you mean. You can change your shell after the installation is up, either from the Garuda Assistant GUI menu or manually from the command line.

Edit:

My apologies, I read that as ZSH initially. Installing to ZFS is also not an option I am afraid. You can add the Chaotic-AUR and Garuda tools on top of a vanilla Arch install and wind up with a Garuda-ish system, however it is an unsupported setup. The installer allows for a Btrfs root only.

zfs is a filesystem…

I don’t think there is an easy way to do this. It is theoretically possible but probably more work than would be worth it.

I decided to go with the plan of installing another arch based distro that supports zfs and add Garuda stuff to it, but I get a 404 error whenever I try downloading the chaotic aur mirrorlist with pacman.

First you have to install the keyring:

First, install the primary key - it can then be used to install our keyring and mirrorlist.

 pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com
 pacman-key --lsign-key FBA220DFC880C036
 pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'

Append (adding to the end of the file) to /etc/pacman.conf:

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

Whenever I set up the Chaotic-AUR on a non-Garuda install I refer to the “How to use it?” section on this page: https://aur.chaotic.cx

Note: in addition to adding the Chaotic-AUR repo to your /etc/pacman.conf, if you want Garuda packages you will have to add the Garuda repo as well. On a stock Garuda install the Garuda repo is first, above the rest of the repos in the list:

[garuda]
Include = /etc/pacman.d/chaotic-mirrorlist

The Chaotic-AUR is last, below the rest of the repos. The order is significant, as repos on the top of the list are sourced first in the case of a package being available from more than one repo.

I followed the instructions on the website and I was able to install the keyring but the mirror list still says error 404. Is it possible it's down currently?

Try commenting out the CDN mirror in the mirrorlist (/etc/pacman.d/chaotic-mirrorlist). It should be the first one.

It may be helpful to comment out servers that are geographically very distant from you as well.

I don't have that file. Here is what it says when I try to install the mirror list. ❯ pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
:: Retrieving packages...
chaotic-mirrorlist.pkg.tar.zst failed to download
error: failed retrieving file 'chaotic-mirrorlist.pkg.tar.zst' from cdn-mirror.chaotic.cx : The requested URL returned error: 404
warning: failed to retrieve some files

Ah, I see--I was misunderstanding what step you were on.

Yes, I can reproduce this:

sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
[sudo] password for jeremy:
:: Retrieving packages...
 chaotic-keyring                                           26.9 KiB  64.9 KiB/s 00:00 [-------------------------------------------------] 100%
 chaotic-mirrorlist.pkg.tar.zst failed to download
error: failed retrieving file 'chaotic-mirrorlist.pkg.tar.zst' from cdn-mirror.chaotic.cx : The requested URL returned error: 404
warning: failed to retrieve some files

It could be a mirror issue, or something else. I'll put a note in the team chat to see if one of the Chaotic guys can take a look. :eyes:

2 Likes

Thank you very much for your help

@RoyalPenguin all fixed. :slightly_smiling_face:

sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
[sudo] password for jeremy:
:: Retrieving packages...
 chaotic-keyring            26.9 KiB  41.4 KiB/s 00:01 [-----------------------------] 100%
 chaotic-mirrorlist          3.4 KiB  7.24 KiB/s 00:00 [-----------------------------] 100%
loading packages...
warning: chaotic-keyring-20220803-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) chaotic-keyring-20220803-1  chaotic-mirrorlist-20230304-2

Total Installed Size:  0.03 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.