Open a terminal in your live ISO environment. Run the following command to list all available drives and partitions:
sudo lsblk -f
Identify and write down your specific partition names:
Replace the example partition name (nvme0n1pX) with the actual Root partition (/) partition found in Step 1.
sudo mkdir -p /mnt
sudo mount -o subvol=@ /dev/nvme0n1p3 /mnt
sudo mkdir -p /mnt
sudo mount /dev/nvme0n1p3 /mnt
sudo mount /dev/nvme0n1p2 /mnt/boot
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
Bind the host system runtime directories to the target mount point:
sudo mount --types proc /proc /mnt/proc
sudo mount --rbind /sys /mnt/sys
sudo mount --rbind /dev /mnt/dev
sudo mount --rbind /run /mnt/run
Set the propagation state to slave to prevent host environment lockups:
sudo mount --make-rslave /mnt/sys
sudo mount --make-rslave /mnt/dev
sudo mount --make-rslave /mnt/run
Execute the chroot command to log into your installed system as the root user:
sudo chroot /mnt
You can now run commands, fix updates, or repair the bootloader directly on your installed operating system.
Once repairs are complete, exit the chroot environment and cleanly unmount the partitions before rebooting:
exit
sudo umount -R /mnt
sudo reboot