Automatic mounting of hdd on system startup: [Solved]
Automatic mounting of hdd on system startup:
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.
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.
Re: Automatic mounting of hdd on system startup:
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Automatic mounting of hdd on system startup:
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.
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.
Re: Automatic mounting of hdd on system startup:
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) :)
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) :)
Re: Automatic mounting of hdd on system startup:
FWIW, you may get rid of the password prompt to mount internal drives with one click in Thunar file manger by enablingKester 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.
within "MX Tweak" -> Other-tab the option "Enable mounting of internal drives by non-root users".
Re: Automatic mounting of hdd on system startup:
Thanks fehlix, these MX tools are certainly useful
Re: Automatic mounting of hdd on system startup:
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.
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.
Re: Automatic mounting of hdd on system startup:
Please, post "Quick System Info" if you want to avoid "Help replies" by helpful mind readers, which may help or not.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.
In addtion post details about the filesystems involved:
like the output shown with
Code: Select all
lsblk -f
Re: Automatic mounting of hdd on system startup:
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.
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.
Re: Automatic mounting of hdd on system startup:
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.
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
mx-fluxbox, what else?
In nature there are neither rewards nor punishments.
There are consequences.
my wallpaper gallery