HDD doesn't mount automatically at boot

@aloun77 you need to do a full shutdown to kill off the hiberfile so it is not read-only…

I use a shortcut with shutdown /s /t 3 or hold the shift key and then select power off…

Mine have fmask=0111 & dmask=0000. I wonder what they are set to when OP boots Neon or other Linux?

Are we knowing what we are advising and why?

A uid=1000 is only correct when there is a user with UID 1000 and when that is the user that has to access the files.

Also, when this is a file system for the benefit of a specific user, then it would be better to mount it somewhere inside that user’s home directory (like /home//thestupidwindowsdisk).

And why weren’t we advised that that is a non-Linux file system earlier? The OP was asked for that information in post #6. Never got an answer.

Also, there was no advice to use /mnt as mounting point. The advice in post #7 was “I created a mounting point in /mnt with Yast”. Thus not /mnt itself (there is no need to create /mnt, it is already there to be used for mount points if one has no better idea for a mount point).

I achieved to change the /etc/fstab file with nano command.

I set the parameter of my NTFS data partition to “defaults”:

`UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /srv btrfs subvol=/@/srv 0 0
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /root btrfs subvol=/@/root 0 0
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /opt btrfs subvol=/@/opt 0 0
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /home btrfs subvol=/@/home 0 0
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
UUID=58E3-4E2B /boot/efi vfat utf8 0 2
UUID=53437f95-bd82-4d2f-9539-806acb3eeb76 /.snapshots btrfs subvol=/@/.snapshots 0 0
UUID=25c18f20-f9ea-4a51-be54-88dbdc31b66d swap swap defaults 0 0
UUID=5826F8A426F88472 /mnt ntfs defaults 0 0

I can now write and save my files in my data partition.

I hope this will be ok in the future.

THanks for your help;

Aloun77
`

All you need to do is open Gnome Disks, and you can set this option. I do this with every single Linux distro. Open the Disks app and select the disk(s) with the partition you want to automount.
In the right hand area, you will see something like this:

  1. Click on the small gears icon below and from the menu, select ‘Edit Mount Options’
  2. Uncheck the slider that says ‘User Session Defaults’
  3. Check the box that says ‘Mount at system startup’
  4. Give it a normal, memorable Display Name in the field designated, and finally
  5. In the ‘Identify As’ field, scroll to where you see LABEL=[name]
  6. Click OK and enter your password.
  7. After this it will auto-mount every time and without any password prompt.

I can’t believe people are recommending diving into fstab file and editing it when we have this simple, elegant, and much safer method. Please not that if you’re not using Gnome, you can install Gnome Disks from the Software store or YAST.

That program seems to be just another so called “partitioner”. Basically not different from YaST > System > Partitioner (or other similar ones). And, like the others, it will among other things, edit /etc/fstab.

And you use the one you like.

But there still may be parameters for /etc/fstab that a GUI does not cover and that you then have to set with an editor.

Yes, it is a disk partitioner among other things. But it will absolutely do exactly what the OP is looking for. I don’t think the Yast Partitioner has a means of auto-mounting drives though , does it? That is why I recommended using Gnome Disks. Because that app allows for auto-mounting. Everybody uses what they like, but Gnome Disks is the easiest way I have found, and so I am sharing the instructions with the OP.

Of course it has. Like many “partitioners” it can not only partition, but it will create file systems in partitions with the option to check several file system parameters (not needed in this case), create entries in /etc/fstab with checks for several mount parameters (for what you call “automounting”, remark that automounting is a term that covers several different actions and that is used indiscriminately by many) and it will create mount points if they do not already exist.