Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #258733

Re: UUIDS

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: UUIDS
Date 2023-05-28 17:40 +0200
Message-ID <GAqEV-c2dR-3@gated-at.bofh.it> (permalink)
References <GAc8V-bTh7-3@gated-at.bofh.it> <GAc8V-bTh7-5@gated-at.bofh.it> <GAgYV-bWzx-3@gated-at.bofh.it> <GAoMN-c16q-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: UUIDS <tomas@tuxteam.de> - 2023-05-28 07:20 +0200
  Re: UUIDS Stefan Monnier <monnier@iro.umontreal.ca> - 2023-05-28 15:40 +0200
    Re: UUIDS <tomas@tuxteam.de> - 2023-05-28 17:40 +0200
      Re: UUIDS Stefan Monnier <monnier@iro.umontreal.ca> - 2023-05-28 18:10 +0200
        Re: UUIDS <tomas@tuxteam.de> - 2023-05-28 18:20 +0200

csiph-web