On Sun, May 28, 2023 at 09:34:58AM -0400, Stefan Monnier wrote: > >> I'm sure it used to be that you could swap linux discs between PCs and it > >> would sort itself out but I try swapping disks about and booting and they > >> complain > >> "Cannot find UUID..lots of identifying numbers" > >> and gives intramfs prompt. > > > > The system seems to try to mount the root file system, which seems to be > > specified in the fstab by UUID. It doesn't. This can have several reasons: > > That's quite likely indeed. > > This said, I've had such UUID problems in the early boot (initramfs) that > involved the swap partition rather than the root partition because the > code that tries to resume from hibernation looks for some tell-tale sign > in the resume partition (usually also playing the role of the swap > partition), and this is done before trying to mount the root partition.
Yes, the boot loader not finding the root partition came also to mind. I deemed that less likely because, if I understood correctly, the OP is already in an initramfs shell. > IIRC booting with `resume=no` on the kernel's command line worked around > the problem in my case. Yes, in your case, the system dumped its state into swap and kept a remark "where" to get that state back. Not finding that partition is then cause for much grief (refusing to boot _at all_ does seem like one of those really nerdy design decisions which possibly isn't helpful to end users...) Cheers -- t
signature.asc
Description: PGP signature