Where to find manjaro-chroot as package?

Dear Manjaro-Forum-Members,

To setup a legacy free (without pulseaudio, xorg(-server)) system, I installed a basic system with help of this tutorial from linux-aarhus and the Arch Installation Guide

To keep on working on my new system via my already established (legacy) system, it would be useful to have the manjaro-chroot running on my legacy system. The arch-chroot package is part of the arch-install-scripts. So where to find the manjaro-chroot package? It doesn’t seem to be in the repos. There is only a manjaro-chrootbuild, but I think its purpose differs from my needs.

on any USB live iso manjaro , you have manjaro-chroot

That I know, that is how I installed it. But I want to keep working on my system from my legacy system, not from an ISO.

Actually it appears to be missing in buildiso and as stated above it is not in the rep’s

Hi @mielouk,

It’s part of the manjaro-tools-base-git package:

$ pacman -Qo manjaro-chroot
/usr/bin/manjaro-chroot is owned by manjaro-tools-base-git r3038.3ecba91-1

Which can be installed with:

pamac install manjaro-tools-base-git

And it can be used with:

sudo manjaro-chroot -a

…for example.

1 Like

Thank you, that helped a lot! Though the pacman -Qo replied that no packages owns manjaro-chroot.

Now I can update GRUB from within the system.

What does the

-a

do?

Because it wasn’t already installed.

It searches for the other installation to chroot into. If more than one is found, it presents a list to choose from if I recall correctly.

Thank you for your help!

1 Like

It does more than that. It also mounts all of the pseudo-filesystems — i.e. /proc, /sys, /dev, et al — and, if the system boots in native UEFI mode, /boot/efi.

Note: manjaro-chroot was designed to work in combination with ext4 (or similarly traditional filesystems) only. It does not work in combination with btrfs.

4 Likes

Seems to work with XFS.

1 Like

I’ve amended my post. :wink:

1 Like

Because it wasn’t already installed, the command you needed was:

pacman -F manjaro-chroot

# or update the database first
sudo pacman -Fy manjaro-chroot

# you can also specify the path to narrow it down
pacman -F /usr/bin/manjaro-chroot
3 Likes

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