Hi Henrik

On Sun, Sep 21, 2025 at 09:02:45PM +0100, Henrik Morsing via GLLUG wrote:
<snip> 
> Scrap that, I remembered wrong. tune2fshas always shown the UUID, however, it 
> doesn't work using it in fstab. During boot it times out and says it can't 
> find it.

Having tune2fs show the correct UUID is reassuring, because that
suggests that the problem is probably not with the filesystem itself.


Couple of things it might be worthwhile looking at in relation to
/etc/fstab:


1) Debian uses systemd, and that evil piece of interfering ****
wants to stick its nose in everywhere, including /etc/fstab, so
after any edits of /etc/fstab you need to run:
        sudo systemctl daemon-reload


2) At boot I believe that /etc/fstab is initially read from the
contents of the initramfs, so after changing /etc/fstab you should
rebuild it using:
        sudo update-initramfs -u -k <kernel-version>


There is also a command to check/verify the contents of /etc/fstab:
        findmnt --verify --fstab


(I also found out that 'findmnt --all' can print a list of mounts in a
 pretty tree format.)


-- 
#---------------------------------------------------------#
|    John Edwards   Email: [email protected]    |
#---------------------------------------------------------#

Attachment: signature.asc
Description: PGP signature

-- 
GLLUG mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/gllug

Reply via email to