Just mount it to a fixed location in /etc/fstab
, but use a mount option like nofail
or nobootwait
(quick search showed that this is the option for ubuntu users), so your machine still boots when the drive is not connected
is /fstab
a folder? Or do you mean change that actual file?
man fstab
/etc/fstab
is a file that controls auto mount points at boot. You can read about it with the command man fstab
, or search up how to add something to it in a search engine. There are plenty of resources to help you online with creating a mount in the fstab.
But be careful, you can pretty easily break stuff by messing up fstab
Easily? Just don't go deleting things and you're probably fine.
Thank you I believe I have it resolved
It’s recommended to map the mount point to the drive’s GUID. That way if you change your hardware around you can be sure the drive will still mount.
I guess this is a /etc/udev/ thing?
What's the end goal here? You should be able to use fstab to mount the drive to a particular folder on every boot. That should allow you to access the mounted folder consistently.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0