using the partitionioner in Yast, I have created an (internal), encrypted partition sda1 with XFS on my SSD.
Even though I ticked to box “Do not mount on boot up” this partition gets auto mounted on boot up nonetheless.
I would not expect a reference to “sda1” in “fstab”. Rather, I would expect a reference to “/dev/mapper” or a UUID entry.
The only “xfs” entry I see in “fstab” is for “/home”. I’m assuming that’s not it.
If it is being mounted at “/run/media/david/something”, then it is probably your desktop that is mounting it on login. If you are using auto-login, then that might look like mounted during boot. But “/run/media/david” won’t exist until you login.
You can put a “noauto” in “/etc/crypttab” if you don’t want it unencrypted during boot. That goes in the options column.
While I think that @nrickerts advice is more valuable then mine because he is a known user of encryption. I am confused here.
From your first post I read that the file system is **mounted at boot **without it being in /etc/fstab. Now we see that it is not in /etc/fstab, but you do not show that it is mounted (and where) at boot, but you login in a desktop (KDE I assume), then mount it using Dolphin. How do you now prove that it is already mounted (and where) at boot?
And yes, you show that it can be mounted through the desktop and that is what you did, but not what your complaint is.
Maybe I should have asked on your first post already: Please prove what you tell that it is mounted at boot, by
mount | grep sda1
And that before you login, from the real console (Ctrl-Alt-F1).
Of course you can not copy/paste from there, but it is only one line to write down and type in the post.
I actually only assume that it would mount on boot since it’s asking me for my password (after GRUB). Since I don’t have that during boot I just click “ok” until the boot process continues and then mount it in OpenSuse with Dolphin. Then it shows the above mentioned mount point. I also do not use auto login.
So I added noauto in /etc/crypttab which didn’t make a difference at first. However then I updated Grub and now it works (e.g. it doesn’t promp for the password on boot).
Can you please next time describe what you do and see and not your assumptions?
A good problem description has three things:
what do you do;
what do you expect to happen;
what happens instead.
Not necessary in a bullet list or in the same sequence, but all three should be there.
Try to avoid jumping to conclusions, but post the computer facts. Other may come to a complete different conclusion when seeing what you saw. It is one of the reasons to ask for help: others looking with an unbiased view to the facts. But then the facts must be in the post.
When you change “/etc/crypttab”, it’s a good idea to run “mkinitrd”. Depending on where it happens, the copy of “crypttab” in the “initrd” might be the one that matters.