Tutorial:

How to chroot into your machine from a live environment

Command What it does
sudo Elevate user privliges
chroot CHanges into directory, and defines it as the ROOT
fdisk Lists the devices/disks connected to your machine

Part 0: Setting up the iso

Step 1: Download the iso

Download an iso file, and create a bootable usb drive using it

For this tutorial, I'm going to use the endeaveros iso

Step 2: Look for your usb's device uuid

To make the usb bootable, first we need to know what device we're targeting

There are multiple ways of doing that, here I'll be using

sudo fdisk -l

Part 1: Setting up the chroot

Step 1: Booting into the live environment

First, turn off your computer

Next, plug the usb drive into the computer

Then press the power button back on, and while it's booting up, hold down either F12, F2, or the ESCAPE key