Assuming that there is no filesystem/partion on your SSD already, you first need to create a new partition on your SSD. |
You can probably also use gparted for that, or via commandline:
sudo fdisk /dev/sda
Press 'n' to create a new partition, and press 'p' for primary partition. When asked for the partion number, enter 1.
At the end, press 'w' to write the changes to the disk.
You will now have a disk with 1 partition, /dev/sda1. This partition doesn't have a filesystem yet, so you can't mount it yet.
Create a filesystem on /dev/sda1, for example EXT4:
sudo mkfs.ext4 /dev/sda1
Now you need to create a new directory where you want to mount your disk.
sudo mkdir /mnt/ssd
You have now created a new folder, but this folder won't be a folder for long We can now mount the physical disk to this folder:
sudo mount -t auto /dev/sda1 /mnt/ssd/
You can also mount it at boot. Use nano or vi or w/e editor you want to edit the file: /etc/fstab. You need to add the following line to /etc/fstab
/dev/sda1 /mnt/ssd ext4 defaults 0 0
And enjoy your HDD/SSD.