June 9, 2023

Tim Kitchen/Getty Photos

First issues first. Automounting is a vital step in Linux as a result of it makes it such that once you reboot your machine, these connected drives are robotically mounted. That method you do not have to fret about doing it manually. 

That is essential since you may need functions (akin to backups) that save information to these drives. Ought to an utility try to jot down to a drive that is not mounted, it’ll fail. As well as, if you happen to use secondary (or tertiary) drives for file storage, you may wish to have them robotically mounted for comfort.

Additionally: The perfect Linux laptops

Though establishing an automount from the command line will not be all that difficult, it isn’t practically as straightforward as doing so from a GUI. And that is precisely what I’ll present you. As soon as you’ve got taken care of this, your secondary drives (be they inner or exterior) will robotically mount to the situation you outline. 

Let’s get to the steps.

The best way to automount a drive on the GNOME desktop

What you may want: The one belongings you’ll want are a operating occasion of Linux with the GNOME desktop surroundings and a secondary drive connected. That is it.

The very first thing to do is create a brand new folder to function the mount level. Open the GNOME file supervisor and navigate to the folder you wish to home the mount level (you may even place this in your house listing if you happen to like). 

Additionally: Ubuntu Cinnamon makes switching from Home windows to Linux as painless as attainable

Proper-click a clean spot and choose New Folder. When prompted, give the folder a reputation and click on Create.

The GNOME Files right-click menu.

Creating a brand new folder within the GNOME Information app.

Screenshot by Jack Wallen/ZDNET

Subsequent, connected the drive to the desktop machine. When you’ve already connected the drive, you are prepared for the subsequent step.

Open the Functions Overview, sort disks. As soon as the Disks icon seems, click on to open GNOME Disks.

The GNOME Disk drive menu.

Entry the drive mount choices right here.

Screenshot by Jack Wallen/ZDNET

Within the ensuing window, ensure that the Person Session Defaults is within the Off place, and configure the drive as such:

  • Mount Choices: Allow Mount at System Startup and (optionally) you may allow Present in Person Interface. If there aren’t any entries within the last textual content discipline of Mount Choices, it ought to learn nosuid,nodev,nofail,x-gvfs-show.
  • Mount Level: That is the folder you simply created. For instance, if you happen to created FLASH in your house listing, that may be /residence/USER/FLASH (The place USER is your username).

Whenever you’re completed, click on OK. You will be prompted in your consumer password. 

Additionally: 8 issues you are able to do with Linux that you could’t do with MacOS or Home windows

Upon efficiently typing the password, the mount choices might be saved.

The GNOME Disks Mount Options window.

Configuring the automounting of an exterior drive.

Screenshot by Jack Wallen/ZDNET

The ultimate step is to take possession of the drive (so that you save and edit information on the drive). To do this, return to the primary Disks window and ensure the brand new drive is chosen. Click on the right-pointing arrow within the field after which click on Take Possession. You will be prompted in your consumer password once more. Whenever you efficiently sort the password, you then have possession of the drive, so that you now have each learn and write entry.

The GNOME Disks mount menu with Take Ownership selected.

You should take possession of the drive, in any other case you may’t write information or edit current information inside.

Screenshot by Jack Wallen/ZDNET

Whenever you reboot the machine, it will likely be robotically mounted in the identical folder. And that is all there’s to configuring an automounted drive on the GNOME desktop.

Leave a Reply

Your email address will not be published. Required fields are marked *