Henrik Morsing via GLLUG wrote on 2025-09-21 11:57:

I'm a bit puzzled by Linux' (Debian) reluctance to assign a UUID
to / home. I even re-installed Debian with a smaller /home and I
have tried all the known tools for assigning a UUID to /home.
Nothing works

Which "known tools" have you tried? I believe the UUID is read-only for a block device.


Does the laptop find your intended /home in `ls -l /dev/disk/by-uuid`?

i.e.:

ls -l /dev/disk/by-uuid/

lrwxrwxrwx 1 root root 10 2025-08-21 01:13 04ed66a1-c586-4d33-87c3-c923a7e55141 -> ../../sda2



I manually added entries in /etc/fstab with UUIDs for most devices on my system.

In `/etc/fstab`, here's an example for my root partition (apologies for the wrapping / formatting):

UUID=b6ed8e18-072c-43b1-baf4-66a7338327d5 /              ext4
   defaults,noatime,discard 0 1



Ubuntu, not Debian.



It's odd. Setting a UUID is silently ignored and blkid also ignores
the device.

The part about `blkid` ignoring the device is, indeed, odd.

I'd try booting a USB thumb drive to manually mount preferred /home on /mnt/home to get the options and UUID (manually retrieved from /dev/disk/by-uuid) and pay attention to any errors.



Curious to hear how you solve this - please keep us posted.


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

Reply via email to