Re: In cross install, cannot mount fstab
On Mon 21 Apr 2025 at 15:38:45 (-0400), Haines Brown wrote:
> I am doing a cross install from my current Debian daedalus systm to a target disk /dev/nvme1n1.
>
> I enter chroot, and create /etc/festab on the target. I use the UUIDs repored by # blkid for
> the target disk,
>
> Then I attemt to mount these partitions
>
> /:# mount -a
>
> Mount cann't find the UIIDs. For eample:
>
> mount: /tmp: can't find UUID="0753d3bf-15eb-40a3-bdbd-bea054fc4f60".
>
> What am I doint wrong?
Have you considered using LABELs? You can make them short and easy
to type. I give each disk a four-letter name, written on the case¹
in marker ink (eg kirk), and I PARTLABEL the partitions with names
like Kirk-……, and LABEL the filesystems kirk…….
The prefixes avoid name collisions, particularly if you want to use
meaningful names, like Kirk-swap and Kirk-home.
You then write PARTLABEL=whatever or LABEL=whatever in your fstab
file, instead of error-prone UUIDs.
¹ Not easy, I realise, when there's no case.
Cheers,
David.
Reply to: