English Chinese (Simplified)
mount -o bind /dev /mnt/root/dev
mount -o bind /proc /mnt/root/proc
mount -o bind /sys /mnt/root/sys
mount -o bind /run /mnt/root/run
Change your filesystem into the one mounted under `/mnt/root`.
chroot /mnt/root
For default Instalation in BTRF
mkdir -p /mnt/
If you are using the default Fedora layout, there will be one `/dev/sda1` partition that holds the `/boot` directory and one `/dev/sda2` that holds the root file system.
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/root/boot
Home Partition is mounted automatically under `/mnt/home`
For Default Instalation in LUKS.
Make sure crypt module in use:
sudo modprobe dm-crypt
Find out which drive it was with the following command:
You must mount `/dev/sda3 myvolume`
Use `cryptsetup`, device is accessible under `/dev/mapper/myvolume``
sudo cryptsetup luksOpen /dev/sde3 myvolume
Scan for LVM volumes and choose the right volume group name that you are looking for:
sudo vgscan
If it is eg. Fedora, activate it
sudo vgchange -ay system
Find out root volume