lsblk
will retrieve all partitions. Find the disk that represents the root partition of your server. This is usually the largest partition from the ones listed.
Mount the partition replacing the placeholder with the root partition name:
/dev/sda2
is being mounted to the /mnt
dir.
Root partition for servers with NVMe disks are slightly different, similar to the example below:
/mnt
directory to work on your files.