On Wednesday, December 29, 2021 1:39:18 PM EST Vagrant Cascadian wrote: > On 2021-12-29, Rainer Dorsch wrote: > > Am Montag, 27. Dezember 2021, 18:22:43 CET schrieb Vagrant Cascadian: > >> If you can insert the microSD into another Debian machine, you can > >> get > >> the UUID by looking in /dev/disk/by-uuid/ to find the matching > >> device > >> > >> or: > >> lsblk --fs /dev/DEVICE > >> > >> It might be possible to discover from u-boot as well, but I forget off > >> the top of my head. > > > > There is > > > > => part uuid mmc 1:2 > > 8ad3fb70-02 > > => part uuid mmc 1:3 > > 8ad3fb70-03 > > => > > > > but "root=UUID=8ad3fb70-03" is not working for mounting the rootfs. > > > > In the bullseye installation, there is also a variable defined finduuid > > > > finduuid=part uuid mmc 0:1 uuid > > > > which is even called by bootcmd, but I am not sure if that is doing > > anything useful. > > That *may* be a partition UUID, rather than a filesystem > UUID... initramfs-tools 0.121 and newer supports using > root=PARTUUID=... > > You can see the available partition uuids on linux in > /dev/disk/by-partuuid/ > Thank you very very much, vagrant. I've been wondering how those were married, but a much more informative answer is from ls -l + the above path.
>From my 2 gig rpi4, serving as a buildbot, and heavily modified to move much of the buildbot traffic off the u-sd: pi@rpi4:~/linuxcnc/configs/sheldon-lathe $ ls -l /dev/disk/by-partuuid/ total 0 lrwxrwxrwx 1 root root 15 Oct 18 06:55 5e3da3da-01 -> ../../mmcblk0p1 lrwxrwxrwx 1 root root 15 Oct 18 06:55 5e3da3da-02 -> ../../mmcblk0p2 lrwxrwxrwx 1 root root 10 Oct 18 06:55 c2cbc1a6-01 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 18 06:55 c2cbc1a6-02 -> ../../sda2 lrwxrwxrwx 1 root root 10 Oct 18 06:55 c2cbc1a6-03 -> ../../sda3 lrwxrwxrwx 1 root root 10 Oct 18 06:55 c2cbc1a6-04 -> ../../sda4 lrwxrwxrwx 1 root root 10 Oct 18 06:55 c61252a1-01 -> ../../sdb1 sda/sdb are SSD's on usb3-sata adapters > > live well, You too, > vagrant Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>