Automatic mounting of hdd on system startup:  [Solved]

Message
Author
User avatar
fehlix
Developer
Posts: 12867
Joined: Wed Apr 11, 2018 5:09 pm

Re: Automatic mounting of hdd on system startup:

#11 Post by fehlix »

wdscharff wrote: Tue Aug 16, 2022 9:44 am 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.
+1 - a simpel text-file posted may be either as attachment or as text-block (preferred) between those [code] code.tags
[/code
] would certainly help those who try to help or motivate to help.

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

Re: Automatic mounting of hdd on system startup:

#12 Post by wdscharff »

In principle, this sounds like one of the popular ownership/rights problems and I'll give you a hint in the dark, crystal ball and all ....

There are several solutions if you have problems with the owner of the directories/files of a mounted disk.
Absolutely simple, with a file manager that still has a root function on the corresponding mount point e.g.
/media/winni/7e735c5b-cf57-4950-bfce-885a991a495f/
or if you have a name for the disk
/media/winni/qvo/

With mx, the mountpoint is usually in /media , then comes the user name and the device name.
Simply mark the device name with the root file manager and allow writing/reading for all.
is of course against the rules, because ALL means all!

Via the command line, you explicitly enable reading/writing for a specific user, which looks like this for the two devices

sudo chown -R winni /media/winni/qvo/

sudo chown -R winni /run/media/winni/7e735c5b-cf57-4950-bfce-885a991a495f/

more about the chown command in the linux wiki of your choice (just google it)
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

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

Re: Automatic mounting of hdd on system startup:

#13 Post by Kester »

wdscharff,

Thank for your comments. Yes I had read the 'how to ask for help' info and I did not see anything about not posting file attachments - I fail to understand why, if attachments are not permitted, the facility is included for posters. Also I was responding directly to another member who specifically asked me to forward the information. With the attachment facility available I assumed that was the best way to forward it because the system information from "Quick System Info" was rather lengthy. I chose docx because it is such a widely used format and I'm sure fehlix will tell me if I was wrong in choosing that method.

I found your tone to be somewhat unnecessarily aggressive particularly considering I am a new, inexperienced member. My experience of this forum up to now has been very positive finding those responding to my requests for help to be patient, understanding and confidence building in their replies. It is a pity that your input has been so very different and has soured the atmosphere for me. If I needed to be guided in how I post, it could be done in a more polite and helpful way than your method.

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

Re: Automatic mounting of hdd on system startup:

#14 Post by wdscharff »

Your answer is inappropriate.
The forum rules are clear.
Your reaction to my comment is demotivating.
I regret having given you a tip, this will certainly not happen again.
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

User avatar
Eadwine Rose
Administrator
Posts: 15098
Joined: Wed Jul 12, 2006 2:10 am

Re: Automatic mounting of hdd on system startup:

#15 Post by Eadwine Rose »

When we ask for quick system info, we do so for a reason. It may seem lengthy to you, but that is your opinion. You will see us asking it everywhere till we see blue in the face sometimes. In order to help you we need to see it, as it is, pasted here, not in a doc or pastebin. It has been designed as formatted for the forum.

As for other things that are personal: take it up in a PM please. Thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

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

Re: Automatic mounting of hdd on system startup:

#16 Post by fehlix »

Kester wrote: Tue Aug 16, 2022 9:20 am 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.
Now try this:
Unmount in Thunar filemanger the ntfs partition sda1
and mount with disk-manger /dev/sda1
as you have done before
and now do post the content of the file
/etc/fstab
as text
between thos code-tags [code] content of fstab here[/code]
You can press the [</>] button above the post-editor
to insert the code-tags.

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

Re: Automatic mounting of hdd on system startup:

#17 Post by Kester »

Hi all,

I'm sorry but have got into a bit of a muddle. I was upset by your first post on this thread wdscharff and my response was to that not your second much more helpful input so apologies for the misunderstanding. Please don't let us fall out over it and please also bear in mind that I am an 81 year old fogey and that some techological issues can go over my head but I am willing to try.

Thanks too to you again fehlix and Eadwine Rose for putting me straight on attachments - perhaps an explanation of how best to add text to posts, as you have carefully explained to me fehlix, could be included in the 'How to get help' item for the benefit of new members - I suspect many ex Ubuntu versions users, like me, will be joining up.

fehlix, I'll post again with the information you require.

Thanks.

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

Re: Automatic mounting of hdd on system startup:

#18 Post by Kester »

Hi fehlix,

Hope this is OK (etc/fstab file after unmounting HDD via Thunar and mounting via Disk Manager):

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sdc1 :
UUID=9e69356d-94db-4b4f-b620-fa052a82fd20	/	ext4	noatime	1	1
#Entry for /dev/sda1 :
UUID=629DBC5D48080494	/media/HDD	ntfs	defaults,umask=0222,x-gvfs-show	0	0
#Entry for /dev/sdc2 :
UUID=5144ed61-9a42-48e6-bac5-9d2c2e36e328	swap	swap	defaults	0	0
Cheers.

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

Re: Automatic mounting of hdd on system startup:  [Solved]

#19 Post by fehlix »

Kester wrote: Tue Aug 16, 2022 12:15 pm Hi fehlix,

Hope this is OK (etc/fstab file after unmounting HDD via Thunar and mounting via Disk Manager):

Code: Select all

#Entry for /dev/sda1 :
UUID=629DBC5D48080494	/media/HDD	ntfs	defaults,umask=0222,x-gvfs-show	0	0
OK, now open disk-manager again.
And select ntfs-3g from the drop down list, instead of ntfs (readonly),
and post again /etc/fstab

User avatar
seaken64
Posts: 819
Joined: Wed Jan 02, 2019 1:43 pm

Re: Automatic mounting of hdd on system startup:

#20 Post by seaken64 »

I won't open attachments either.

Please copy the text output from the terminal and paste into the forum post between "code" markers.

Thank you,
Seaken64

Ahh, yes, I see you did that. Good. Thank you. (I didn't notice page 2 of the thread yet)

BTW, while attachments are allowed it is not generally a good idea to use attachments in these cases. It's just a matter of forum "norms", as you are learning.
MX21-64 XFCE & W11 on Lenovo 330S LT. MX21-KDE & MX21-XFCE on Live USB.
MX18-64 & W7, Fedora on HP Core2 DT
MX21-32 XFCE w/ MX-Fluxbox on P4HT DT w/ antiX21, SUSE Tumbleweed, Q4OS, WXP
antiX21 on Compaq PIII 1 Ghz DT, w/ Debian, MX18FB, W2K

Post Reply

Return to “Hardware /Configuration”