How do I keep a volume mounted when I boot into Ubuntu 18.04
It disappears on every boot.
Thank you
How do I keep a volume mounted when I boot into Ubuntu 18.04
It disappears on every boot.
Thank you
Add an entry to your systems filesystem table (/etc/fstab) is the easiest method in my opinion.
For ext4 you can add the following
UUID=xxxxxxxx /mount-dir ext4 defaults 0 0
where the xxxxxxxx is replaced by your UUID (unique ID for the device/partition) and /mount-dir is replaced by the directory you want it mounted to. (space(s) or tabs can be used between parameters)
To find out the UUID, use sudo blkid
/etc/fstab
file (filesystem table) with aauto
parameter (auto isn't needed for all fs types). You didn't say what type of volume, so I can't be more specific – guiverc May 13 '18 at 04:12UUID=xxxxxxx /mount-dir ext4 defaults 0 0
where UUID=the UUID for your partition, mount-dir is the directory you want it mounted to. You can use your / or /home partition (assuming one of them is ext too) as your guide (usingsudo blkid
to get the UUID for partition, its more specific than /dev/sdxx) – guiverc May 13 '18 at 04:24