In trying to solve a different issue where I cannot boot, I need to chroot into my existing Manjaro partition from a live USB. My Manjaro install has full-disk encryption which was done with the guided installer. I am following the tutorial here in attempting to chroot into my encrypted partition currently.
I ran the following two commands to view my partitions from the live USB first:
# lsblk -p
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
/dev/loop0 7:0 0 44.8M 1 loop /run/miso/sfs/livefs
/dev/loop1 7:1 0 225.3M 1 loop /run/miso/sfs/mhwdfs
/dev/loop2 7:2 0 770M 1 loop /run/miso/sfs/desktopfs
/dev/loop3 7:3 0 372.7M 1 loop /run/miso/sfs/rootfs
/dev/sda 8:0 0 238.5G 0 disk
├─/dev/sda1 8:1 0 100M 0 part
├─/dev/sda2 8:2 0 256M 0 part
└─/dev/sda3 8:3 0 238.1G 0 part
/dev/sdb 8:16 1 7.5G 0 disk
├─/dev/sdb1 8:17 1 1.4G 0 part /run/miso/bootmnt
└─/dev/sdb2 8:18 1 4M 0 part
[manjaro manjaro]# df
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.8G 92M 7.8G 2% /run
/dev/sdb1 1.5G 1.5G 0 100% /run/miso/bootmnt
cowspace 256M 0 256M 0% /run/miso/cowspace
overlay_root 12G 13M 12G 1% /run/miso/overlay_root
/dev/loop0 45M 45M 0 100% /run/miso/sfs/livefs
/dev/loop1 226M 226M 0 100% /run/miso/sfs/mhwdfs
/dev/loop2 771M 771M 0 100% /run/miso/sfs/desktopfs
/dev/loop3 373M 373M 0 100% /run/miso/sfs/rootfs
overlay 12G 13M 12G 1% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 7.8G 8.0K 7.8G 1% /tmp
tmpfs 7.8G 1.5M 7.8G 1% /etc/pacman.d/gnupg
tmpfs 1.6G 16K 1.6G 1% /run/user/1000
I also received the following from gparted (truncated):
Partition Name File System
/dev/sda1 UEFI_SYSTEM fat32
/dev/sda2 MANJARO_BOOT ext2
/dev/sda3 MANJARO_LVM [Encrypted]
In following the tutorial, I ran # cryptsetup open --type luks /dev/sda3 root
, which prompted me for a passphrase which I then entered correctly.
I then followed the next step and entered # mount /dev/mapper/root /mnt
however this returned the following message which is preventing me from continuing the chroot process:
mount: unknown filesystem type 'LVM2_member'
How can I successfully mount in order to complete the chroot process?
EDIT:
These are the commands that allowed me to successfully chroot:
$ cryptsetup luksOpen /dev/sda3 cryptdisk
$ vgchange -a y
$ mount /dev/mapper/ManjaroVG-ManjaroRoot /mnt
$ mount /dev/sda1 /mnt/boot
$ manjaro-chroot /mnt