Firstly, open the terminal and type the command sudo fdisk -l to check the hard disk partition situation.
Identify the partition to be mounted, then create a mount point (directory), such as /mnt/data, for mounting the partition.
Enter the command “sudo mkdir /mnt/data” to create a mount point.
Mount the partition by using the command sudo mount /dev/sdX /mnt/data, where /dev/sdX is the name of the partition to be mounted.
Optional: To automatically mount a partition at system startup, you can edit the /etc/fstab file and add a line similar to /dev/sdX /mnt/data ext4 defaults 0 0.
To check if the mounting was successful, you can enter the command df -h to view the mounting status.
To unmount a partition, type the command sudo umount /mnt/data.