#1100733 initramfs: first boot after new image initrd fails to locate root partition

#1100733#5
Date:
2025-03-17 23:51:40 UTC
From:
To:
Dear Maintainer,

==========================================================================

   * What led up to the situation?
   In the last few months, everytime a new initrd is built, the next
   reboot fails:
     - initramfs gets stuck in: Begin  running Scripts/lookup-boot ...
       and then falls into an initramfs shell

   * What exactly did you do (or not do) that was effective (or ineffective)?
     - this gets fixed with a a soft reboot: the following boot detects
       the root partition and proceeds normally

    Filesystem      1K-blocks      Used  Available Use% Mounted on
    /dev/sda3      1405328448 284451248 1049416696  22% /         <<<<< not detected
    /dev/sda4         8547556    426112    7665664   6% /boot
    /dev/sdb1      1921742316 170891856 1653158404  10% /usr3
    /dev/sda1      2113583904 212259320 1793886352  11% /usr2
    /dev/sda2      2113584928 271991080 1734155564  14% /usr1

   When the system reboots but the initrd is unchanged, the boot works
   fine, it's only when a new initrd has been built that there's a
   problem.

   It's still disturbing that the system won't reboot normally after
   initrd is rebuilt.

==========================================================================