The link is most likely not working because the partition has been mounted somewhere different from last time.
If the partition is internal (on your HDD) rather than on a USB or external HDD, read on.
First, get the name of your partition. You can use either the path (eg. /dev/sdb1) or the UUID. Either one will work.
Open a terminal (Accessories > Terminal) and type in:
- Code: Select all
sudo fdisk -l
When prompted, enter your root password.
This will list your available partitions. Find the one you want and note its location (eg. /dev/sdb1) and system (eg. Linux)
Now, still in the terminal, type:
- Code: Select all
sudo mkdir /media/sdb1
where sdb1 matches the value found earlier.
If the directory already exists, we'll probably need to choose another one.
Assuming it doesn't exist, run:
- Code: Select all
sudo mount /dev/sdb1 -t ext4 /media/sdb1
where sdb1 matches the earlier value. If it's a Windows partition, change ext4 to ntfs. If it's linux, ext4 is likely.
If it won't mount because the device is already mounted, eject it and try again.
It if works, type in:
- Code: Select all
sudo gedit /etc/fstab
You may instead need to type in sudo pluma /etc/fstab if you're using MATE.
This will open up a text document that lists your automatically mounted partitions.
Add a new line to it like so:
- Code: Select all
/dev/sdb1 /media/sdb1 ext4 defaults 0 0
but substitute in your own values. /dev/sdb1 should be the location you retrieved earlier, /media/sdb1 would be the mount point, ext4 would be the filesystem type.
The device will automatically mount to the new location, so upon reboot any links to that partition should still work.