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 |
Download an iso file, and create a bootable usb drive using it
For this tutorial, I'm going to use the endeaveros iso
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
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