Mounting

Before we install the base system we need to mount the devices.

First we mount the root system - using the folder /mnt for the temporary mount.

# mount /dev/sda3 /mnt

Then we make folders for /boot/efi and /home.

# mkdir -p /mnt/boot/efi
# mkdir -p /mnt/home

Verify your folder structure

Verify that all folders are created correct.

# find /mnt -type d
/mnt
/mnt/home
/mnt/boot
/mnt/boot/efi

Mount efi and home

Then we mount the efi partition and the home partition in their designated folders

# mount /dev/sda1 /mnt/boot/efi
# mount /dev/sda4 /mnt/home

Verify your mounts

Again - while trust is good - in this case verification is better.

# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0  52.5M  1 loop /run/miso/sfs/livefs
loop0    7:1    0 501.3M  1 loop /run/miso/sfs/rootfs
sda      8:0    0   128G  0 disk 
├─sda1   8:1    0   300M  0 part /mnt/boot/efi
├─sda2   8:2    0     2G  0 part
├─sda3   8:3    0    32G  0 part /mnt
└─sdc4   8:4    0  93.7G  0 part /mnt/home
sr0     11:0    1 617.4M  0 rom  /run/miso/bootmnt

With everything mounted we can proceed to next chapter.