I have an extra hard drive which I access regularly in Ubuntu, and I have a link from my home folder to a folder on this drive. However, this link doesn't work when I first log in because the hard drive hasn't been mounted (or something, I presume). If I browse to the hard drive by going to Computer and selecting the hard disk, then the link because usable for the rest of my session. However, it's annoying to have to do this manual step each time I log in. How I can reproduce this in a startup script?
If this is a fixed drive which is there when the machine is booted, then you can add an entry for the volume to the
For example, on a Ubuntu VM here, I have a
The first zero is a traditional parameter related to the
The second zero is the boot-time check order. Zero means that the volume is not checked for errors on boot. The root filesystem's entry will have a
If you omit these numbers, it isn't a syntax error. They default to zero.
Even if the drive is a removable one, you can still create a
With this setup, you can then add a mount command to your