So, now I added all UUIDs. But I am not quite sure for the enrcypted /home 
partition. The UUID changes when the device is luks-opened.

Which one must be in the fstab? The one from "lsblk -f /dev/sda4" or 
"lsblk -f /dev/mapper/home"?

   

Am Sonntag, 27. August 2023, 20:26:46 CEST schrieb Greg Wooledge:


> On Sun, Aug 27, 2023 at 08:19:35PM +0200, Hans wrote:
> > When I boot the system, then the drives are not mounted as set in
> > /etc/fstab. For example, the SDD should mounted to /space, and the
> > unencrypted HDD shall be mounted to /daten.
> > 
> > But it seems, sometimes the mountpoints are not correct, so the SDD is not
> > mounted to /space, but to /daten.
> 
> This sounds like you used the dynamically assigned device names (e.g.
> /dev/sda1 and so on) in fstab.  If that's what you did, stop doing that.
> 
> Use UUIDs or Labels instead.  These won't change, while the device names
> *will* change.




Reply via email to