> I justs tested dracut with this in the kernel cmdline: > root=/dev/mapper/vg1-root > Works without any problems.
But have you tested it with a disk that has different UUIDs? I just tried # lsinitrd /boot/initrd.img-5.3.0-2-armmp| grep by-uuid -rw-r--r-- 1 root root 146 Dec 12 08:19 lib/dracut/hooks/emergency/80-\\x2fdev\\x2fdisk\\x2fby-uuid\\x2f5de7a0ca-5026-4294-ac9a-da24e3bae135.sh -rw-r--r-- 1 root root 64 Dec 12 08:19 lib/dracut/hooks/initqueue/finished/devexists-\\x2fdev\\x2fdisk\\x2fby-uuid\\x2f5de7a0ca-5026-4294-ac9a-da24e3bae135.sh ~-0# so in Debian's stable version of dracut from December, the UUID still appears in the initrd. I haven't tried to swap the drive to see if I'd encounter again the same problem, but it seems likely (the files have the same name and same size as the ones that seemed to cause trouble). Stefan