Menu

Broke Grub on Debian 12.7, Installed rEFInd and still can't boot

2026-03-13
1 day ago
  • Tom Sheckells

    Tom Sheckells - 2026-03-13

    This is getting to be a longshot to recover but I need help. I have a Debian 12.7 vm running under ProxMox 8.4.16. This VM was used to host PostgreSQL. Due to a poorly coded SQL, I filled up the disk. First thinking that the SQL was correct, I tried to expand the disk. I added space via ProxMox (doubled the size of the disk). After lots of poking around, I determined that it had LVM disks, so I did some searching with Google and found the commands to expand the LVM "stuff". In the process though I seemed to have broken Grub. I tried many, many steps via Google to try to fix Grub. Nothing worked.

    So in the processing of looking around, I found rEFInd. I installed it and now I get to a rEFInd screen with a countdown. After waiting or hitting enter, I get the attached screenshot.

    Does anyone have any idea where to go from this?

    I was in the middle of making changes to the database and I desperately need to get that DB back. Any help would be appreciated.

    Thanks in advance for any help.
    Tom

     
  • Aayush Thakur

    Aayush Thakur - 1 day ago

    Run the following command to check if you also have orphan_file added as a feature. If yes, then I think we have the same problem. The this breaks the bootloader for me as well. Where as grub works fine.

     sudo tune2fs -l /dev/{your_boot_partition} | grep -i "features"
    

    If you want instant fix then do the following things:

    1: Boot Arch live USB then Run:

    bashsudo tune2fs -O ^orphan_file,^metadata_csum_seed /dev/{your_boot_partition}
    sudo e2fsck -f /dev/{your_boot_partition}
    

    2: Reboot — rEFInd should find your kernels via efifs
    3: When efifs eventually gets updated to support these features, you can re-enable them:

    bashsudo tune2fs -O orphan_file,metadata_csum_seed /dev/{your_boot_partition}
    

    PS: I'm waiting for an upstream fix, till then I've switched to grub.

     

Log in to post a comment.

MongoDB Logo MongoDB