Ubuntu: Symbolic links lost after restart



Question:

I have been working on setting up some symbolic links so that I can easily access directories and files on another internal hard drive. When I create the links they work well, but every time that I restart the links are lost. Is there a better way to use links or refresh them?

I am currently creating links like this

ln -s /media/UserName/DiskName  

I am running ubuntu 15.04 64-bit


Solution:1

The reason is quite clear. You did not set mounting rules for this disk in /etc/fstab/.

When system starts, the disk is not mounted.

Just add a line to /etc/fstab for a permanent rule and the problem will be solved.

This is a guide.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »