Manjaro-chroot no linux partitions found

I haven’t ever successfully chrooted into my system. I have reinstalled a few times when I could have potentially fixed the issues through chroot. I was wondering if someone could help me figure out why.

  1. First I boot with the manjaro live usb
  2. I initially attempt manjaro-chroot -a which gives me no linux partitions found

Then the steps that I take are:

  1. sudo mkdir -p /mnt/boot/efi
  2. sudo mount /dev/“root partition” /mnt
  3. sudo mount /dev/“efi partition” /mnt/boot/efi or /mnt/boot
  4. chroot /mnt

After mounting the EFI and Linux System partitions:
The chroot fails, not bootable os is found (im paraphrasing)
manjaro-chroot -a still doesn’t work

My installation has 3 partitions

  1. Linux filesystem
  2. EFI System
  3. Linux Swap

I also have 2 extra internal hard drives, and 2 external drives. None of them have OS installations. Maybe its something to do with the fstab?

Id really like to chroot successfully, I am always tinkering around and breaking things. I take notes so that I can go back reverse my changes but I can’t ever get back in.

this is bit of read but has comprehensiveinfo covering all angles, good luck!

3 Likes

The link already supplied by @koshikas gives detailed information on how to proceed, but it may be worth pointing out what looks like a misconception:

When you use mount, anything already in the directory becomes invisible, and so the first step here makes no sense. To quote from the man page for mount:

The previous contents (if any) and owner and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device .

So, after you step 2, there will be a directory called /mnt/boot/efi only if /dev/“root partition” contains a directory called /boot/efi.

6 Likes

@Phemisters is right, but there are a couple more things.

You are also using chroot, and not manjaro-chroot.

You need to mount all the virtual file systems like /proc, /dev, /sys, etc. if you use regular chroot.

For mounting, if you’re using btrfs use:

sudo mount -o subvol=@ /dev/“root partition” /mnt
sudo manjaro-chroot /mnt /bin/bash

Or if ext4, you can use the auto-detection:

sudo manjaro-chroot -a

Once inside the chroot, you can make the directory if you need to:

sudo mkdir /boot/efi

If unsure, provide the output of:

lsblk -f