Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-11079

e2fsprogs 1.47.0 breaks grub2 bootloader install

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • None
    • A filesystem created with e2fsprogs 1.47.0 enables a new feature which prevents grub2 from recognizing the filesystem, and thus installing the bootloader properly. This breaks install if this newer e2fsprogs is included on the livecd.

      Hi, opening this but I'm studying yet the problem. It seems that after the upgrade of e2fsprogrs to release 1.47.0 this breaks the integration of grub when filesystem is ext4 and is created with that version.

      I found some links about this issue:

      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325

      What happens from my side on setup a new rootfs is this:

      # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Macaroni_Linux --force 
      Installing for x86_64-efi platform.
      grub-install: error: unknown filesystem. 

      The file system is not handled correctly.

      Checking also Gentoo tree seems related to this patch:

      https://github.com/gentoo/gentoo/blob/master/sys-boot/grub/files/grub-2.06-fs-ext2-ignore-checksum-seed.patch

      So, i'm not sure if this patch works on grub-2.04 (available in prime) or it's better to move ahead to 2.06.

      What I can confirm at the moment is that this issue doesn't happen when I use BTRFS instead. So, it's confirmed that is related to ext4 fs.

      I will try to apply a patch and share feedback

       

       

            Unassigned Unassigned
            geaaru geaaru
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: