Tuesday, June 6, 2023
HomeTechnologyHow to automount a drive in Linux the GUI way with GNOME

How to automount a drive in Linux the GUI way with GNOME

Tim Kitchen/Getty Photographs

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

That is essential since you might need functions (comparable to backups) that save recordsdata to these drives. Ought to an software try to write down to a drive that is not mounted, it is going to fail. As well as, in the event you use secondary (or tertiary) drives for file storage, you may wish to have them mechanically mounted for comfort.

Additionally: One of the best Linux laptops

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

Let’s get to the steps.

Easy methods to automount a drive on the GNOME desktop

What you may want: The one belongings you’ll want are a working occasion of Linux with the GNOME desktop atmosphere 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 in the event you like). 

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

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 following 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, make sure 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 closing textual content subject of Mount Choices, it ought to learn nosuid,nodev,nofail,x-gvfs-show.
  • Mount Level: That is the folder you simply created. For instance, in the event you created FLASH in your house listing, that will be /house/USER/FLASH (The place USER is your username).

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

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

Upon efficiently typing the password, the mount choices shall 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 recordsdata on the drive). To try this, return to the principle 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 to your consumer password once more. If 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 need to take possession of the drive, in any other case you may’t write recordsdata or edit current recordsdata inside.

Screenshot by Jack Wallen/ZDNET

If you reboot the machine, it will likely be mechanically mounted in the identical folder. And that is all there may be to configuring an automounted drive on the GNOME desktop.




Please enter your comment!
Please enter your name here

Most Popular

Recent Comments