Before starting, make sure you run the following to be updated.
sudo apt update && sudo apt upgrade
After you are updated and upgraded, create your directory to link your RamDisk mount to by typing in (remember to change the %USER% to your actual user name):
mkdisk -p /media/%USER%/RamDisk/
Then, open up the fstab file by typing the following:
sudo xed /etc/fstab
Then add the following line (Again, remember to change the %USER% to your actual user name and whatever size you want. This example is for a 4GB file. AND ensure your spacing…):
RamDisk /media/%USER%/RamDisk tmpfs defaults,size=4G,x-gvfs-show 0 0
Last of all, you can do the following to see if it maps properly or if you end up with an error:
sudo mount -a
-
This topic was modified 3 weeks, 1 day ago by
Voodoo.