Automatic mounting of hdd on system startup:  [Solved]

Message
Author
User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Automatic mounting of hdd on system startup:

#1 Post by Kester »

Hi,

Thanks to help from forum members I have recently set up a full installation of MX-Linux on an external usb hdd. The drive is attached to a desktop computer running Linux Mint 20.3. The Mint OS is installed on an internal 125gb ssd but there is also a 1tb hdd within the desktop which I use for data files and backups etc.

Although I can easily access the internal hdd from within MX-Linux (it appears on the MX desktop), it has to be mounted. This requires my password to authenticate the action. I've no problem with that but it would be convenient if the internal hdd drive mounted automatically when I boot up MX-Linux. If this can be done I would be grateful for advice.

Thank you.

User avatar
Jerry3904
Administrator
Posts: 23412
Joined: Wed Jul 19, 2006 6:13 am

Re: Automatic mounting of hdd on system startup:

#2 Post by Jerry3904 »

Try using Disk Manager to have it automatically mounted.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Re: Automatic mounting of hdd on system startup:

#3 Post by Kester »

Hi Jerry,

Many thanks. That was so easy with no manual editing of the fstab file - just ticked a box in Disk Manager and it was done. I'd read so many different suggestions online with dire warnings of what could happen if you messed up without backing up first. Your solution was perfect so thanks again.

Cheers.

Huckleberry Finn

Re: Automatic mounting of hdd on system startup:

#4 Post by Huckleberry Finn »

Glad you solved it easily.

This is not a big issue, but (just by the way, generally speaking) you need to click the check-mark icon on the post "that was the solution" (#2 in this case).

(You can click it twice: 1st one will remove the current mark, 2nd will mark) :)

User avatar
fehlix
Developer
Posts: 12852
Joined: Wed Apr 11, 2018 5:09 pm

Re: Automatic mounting of hdd on system startup:

#5 Post by fehlix »

Kester wrote: Mon Aug 15, 2022 6:20 am Although I can easily access the internal hdd from within MX-Linux (it appears on the MX desktop), it has to be mounted. This requires my password to authenticate the action.
FWIW, you may get rid of the password prompt to mount internal drives with one click in Thunar file manger by enabling
within "MX Tweak" -> Other-tab the option "Enable mounting of internal drives by non-root users".

User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Re: Automatic mounting of hdd on system startup:

#6 Post by Kester »

Thanks fehlix, these MX tools are certainly useful

User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Re: Automatic mounting of hdd on system startup:

#7 Post by Kester »

UPDATE to SITUATION

Hi,

Although the internal hard drive is mounted on startup it is in 'read only' mode only and appears to be controlled by root. The right click permissions items are all greyed out. Is there a simple way to allow access automatically. This would make things more convenient in using Grsync for backing up files to the internal hard drive. When I untick the drive in Disk Manager, and manually mount the drive on startup, Grsync works happily but with the drive ticked it throws up a string of errors.

Any ideas or suggestions thanks? I've removed the 'Solved' marker for the time being.

Cheers.

PS: the tip to avoid having to use the password continues to work satisfactorily.

User avatar
fehlix
Developer
Posts: 12852
Joined: Wed Apr 11, 2018 5:09 pm

Re: Automatic mounting of hdd on system startup:

#8 Post by fehlix »

Kester wrote: Tue Aug 16, 2022 5:44 am UPDATE to SITUATION

Hi,

Although the internal hard drive is mounted on startup it is in 'read only' mode only and appears to be controlled by root. The right click permissions items are all greyed out. Is there a simple way to allow access automatically. This would make things more convenient in using Grsync for backing up files to the internal hard drive. When I untick the drive in Disk Manager, and manually mount the drive on startup, Grsync works happily but with the drive ticked it throws up a string of errors.

Any ideas or suggestions thanks? I've removed the 'Solved' marker for the time being.

Cheers.

PS: the tip to avoid having to use the password continues to work satisfactorily.
Please, post "Quick System Info" if you want to avoid "Help replies" by helpful mind readers, which may help or not.
In addtion post details about the filesystems involved:
like the output shown with

Code: Select all

lsblk -f
and state which one of the listed partitions is the one you want to have access to.

User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Re: Automatic mounting of hdd on system startup:

#9 Post by Kester »

Hi fehlix,

Thanks for posting back - sorry I'm not the brightest of pupils but hope the attachments will provide the information you require to assist me.

Best regards.
You do not have the required permissions to view the files attached to this post.

User avatar
wdscharff
Posts: 1130
Joined: Mon Feb 24, 2020 1:07 am

Re: Automatic mounting of hdd on system startup:

#10 Post by wdscharff »

Oh please, asking for help, read through how to do it properly
It's under the Welcome, on the main page, on every group page ... post the text, and no file attachments.

I don't have a program on my work system that can read docx, for example, so I'm not going to install office or get my laptop out of the car.
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?

In nature there are neither rewards nor punishments.
There are consequences.


my wallpaper gallery

Post Reply

Return to “Hardware /Configuration”