Announcement

Collapse
No announcement yet.

Always initramfs on boot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Always initramfs on boot

    Since upgrading 24.04 -> 24.10, every boot drops into initramfs, and nothunig seems to work in it anyway. reboot commonad does nothing forcing a hard reboot (push/hold power button).
    Then it goes to grub on boot.
    This is consistent behaviour -- every boot forced or not drops into initramfs, forcing a hard reboot, then I get grub and can go on as normal.

    What's it doing and why? And how do I stop it?

    Click image for larger version  Name:	20241014_203529.jpg Views:	34 Size:	115.0 KB ID:	683565
    Last edited by devnulljp; Nov 04, 2024, 11:54 AM.
    Dont pretend you havent noticed my cardboard box, Julia, because I know you have!

    #2
    I suspect a grub problem. I imagine grub is running something because it thinks it's the only option, and it fails to load a kernel, but sets the record fail flag so on the next boot it gives the menu.

    So, I suggest rerunning update-grub, perhaps after editing /etc/default/grub to remove the words "quiet splash" where they appear, and setting GRUB_TIMEOUT=-1.

    That's in a konsole:
    Code:
    sudo update-grub
    Regards, John Little

    Comment


      #3
      Solved. Looks like I needed to fsck my boot drive
      Double check filesystem type and make sure I had the correct device name
      Code:
      blkid
      which gave
      Code:
      /dev/nvme1n1p2: UUID="4ab857b4-36ee-4782-8cb6-ce87346be2c1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="47b78b23-bc4f-4d91-886d-de2b039aba9f"
      Then, as it's ext4
      Code:
      fsck /dev/nvme1n1p2 -y
      ​And
      Code:
      reboot -f
      to reboot -- I had been missing the -f flag before so it didn't do anything
      Dont pretend you havent noticed my cardboard box, Julia, because I know you have!

      Comment

      Working...
      X