Menu

TOO Many ESP partitions

2021-11-07
2021-11-12
  • robert misita

    robert misita - 2021-11-07

    Too Many EFI Partitions. Found = 6 Max Allowed = 5
    Should I just remove a disc for the install; or can I change something.
    This is a first time with this new system and an M.2 disc.

     
  • Drummer

    Drummer - 2021-11-08

    Hi again Robert,

    I'm afraid Grub2Win is not going to work for you in this configuration.

    Multiple EFI partitions cause many problems,

    There is confusion both for the user and the machine's EFI firmware which can only load a single module from a single EFI partition at boot time.

    There is no way for the firmware or Grub2Win to determine which is the "Real" EFI partition to be used for boot.

    Also, Grub2Win updates the machine's EFI pointers to select a boot module. Which partition do these point to?

    You should probably consider consolidating your EFI partitions to minimize these issues, and removing the extra partitions.

    Dave

     
    • robert misita

      robert misita - 2021-11-10

      I removed the last disc and ran the program with 5 esp showing. I added
      three linux partitions, and tried to boot. The esp partitions on all discs
      were made to have grub2win directories added from the grub2win program. THE
      COMPUTER DOES NOT BOOT TO GRUB. The message shown on the monitor is (
      0x57ec4bbd unaligned pointer aborted ) The computer then proceed to show
      the normal multi boot screen and boots correctly. The firmware has the
      grub2win as the first boot device. Seems this EFI type computer gives us
      all problems. Years ago on a bios computer this software worked.
      How can I uninstall it? Just delete all directories?

      From: Drummer drummerdp@users.sourceforge.net
      Sent: Monday, November 8, 2021 9:17 AM
      To: [grub2win:discussion] general@discussion.grub2win.p.re.sourceforge.net
      Subject: [grub2win:discussion] TOO Many ESP partitions

      Hi again Robert,
      I'm afraid Grub2Win is not going to work for you in this configuration.
      Multiple EFI partitions cause many problems,
      There is confusion both for the user and the machine's EFI firmware which
      can only load a single module from a single EFI partition at boot time.
      There is no way for the firmware or Grub2Win to determine which is the
      "Real" EFI partition to be used for boot.
      Also, Grub2Win updates the machine's EFI pointers to select a boot module.
      Which partition do these point to?
      You should probably consider consolidating your EFI partitions to minimize
      these issues, and removing the extra partitions.
      Dave


      TOO Many ESP partitions
      https://sourceforge.net/p/grub2win/discussion/general/thread/0690c768d5/?li mit=25#4d13


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/grub2win/discussion/general/
      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Drummer

    Drummer - 2021-11-10

    Hi again Robert,

    The unaligned pointer messages suggests that there are multiple versions of Grub in your many EFI partitions. Probably from various Linux distributions. The Grub kernels are incompatible with the libraries on your Linux drives. This is not a good situation.

    To uninstall Grub2Win, use the Windows Control Panel "Programs and Features" menu and run the uninstall for Grub2Win.

    Good luck,

    Dave

     
  • Drummer

    Drummer - 2021-11-11

    Hi Robert,

    I'm very happy this worked out for you. Please be careful.

    You should realize that having multiple EFI partitions is the number one cause of boot problems that I encounter. These errors become more likely as the number of EFI partitions increases.

    This happens even if you have never installed Grub2Win.
    On all EFI machines that multiboot various operating systems.

    Take care,

    Dave

     
  • Drummer

    Drummer - 2021-11-11

    Hi again Robert,

    Specific errors: where to begin.

    The most common thing is that the wrong EFI partition gets updated by Linux or Windows.
    Or the pointer to the EFI partition is altered by Linux or Windows.

    The Grub kernel in the booted EFI must exactly match the supporting Grub libraries in the Linux /boot /grub directory.
    The same applies to the supporting libraries in Grub2Win's C:\grub2 directory.

    These libraries are x86_64-efi, i386-efi, and i386-pc.

    If the kernel and the libraries do not exactly match, you get unpredictable boot crashes, black screens and invalid pointer errors.

    When there are multiple EFI partitions, they often contain kernels from different gen levels of GNU Grub.

    For instance, Grub2Win and Open Suse Linux are running the GNU Grub 2.06 kernel. Ubuntu is running 2.04. And so on.

    It's a little like Russian Roulette, most of the time things are OK.

    But when you have a kernel mismatch, Boom!

    I hope this helps.

    Dave

     
    • robert misita

      robert misita - 2021-11-11

      Great info! Thanks - I have 3 different Linux on different discs.
      Bobm
      Ps - the attached file is a copy of the C drive esp partition for you
      perusal.
      Pps - the reply did not go thru with the EFI.7z file. Let me know how.

      From: Drummer drummerdp@users.sourceforge.net
      Sent: Thursday, November 11, 2021 12:34 PM
      To: [grub2win:discussion] general@discussion.grub2win.p.re.sourceforge.net
      Subject: [grub2win:discussion] TOO Many ESP partitions

      Hi again Robert,
      Specific errors: where to begin.
      The most common thing is that the wrong EFI partition gets updated by Linux
      or Windows.
      Or the pointer to the EFI partition is altered by Linux or Windows.
      The Grub kernel in the booted EFI must exactly match the supporting Grub
      libraries in the Linux /boot /grub directory.
      The same applies to the supporting libraries in Grub2Win's C:\grub2
      directory.
      These libraries are x86_64-efi, i386-efi, and i386-pc.
      If the kernel and the libraries do not exactly match, you get unpredictable
      boot crashes, black screens and invalid pointer errors.
      When there are multiple EFI partitions, they often contain kernels from
      different gen levels of GNU Grub.
      For instance, Grub2Win and Open Suse Linux are running the GNU Grub 2.06
      kernel. Ubuntu is running 2.04. And so on.
      It's a little like Russian Roulette, most of the time things are OK.
      But when you have a kernel mismatch, Boom!
      I hope this helps.
      Dave


      TOO Many ESP partitions
      https://sourceforge.net/p/grub2win/discussion/general/thread/0690c768d5/?li mit=25#f4d4


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/grub2win/discussion/general/
      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Drummer

    Drummer - 2021-11-11

    Hi yet again Robert,

    You have to attach your file in the Source Forge forum web page via the "Add Attachments" button.

    Attaching it via email will not work.

    Dave

     
  • robert misita

    robert misita - 2021-11-11

    the attached file is a copy of the C drive esp partition for you
    perusal.

     
  • Drummer

    Drummer - 2021-11-12

    Hi again Robert,

    I looked through your EFI.

    The Ubuntu kernel was GNU Grub 2.04
    The Grub2Win kernel is GNU Grub 2.06.

    The mismatch probably caused your "unaligned pointer" error.

    Dave

     
  • Drummer

    Drummer - 2021-11-12

    Hi again Robert,

    No, there is no such file. Here are the steps:

    You have to go through your EFI BIOS firmware to determine which GNU Grub kernel in your many EFI partitions is being booted.

    Then you have to boot the appropriate kernel from that specific EFI partition to view the GNU Grub version number, which is displayed at boot time. I did this using the Ubuntu GNU Grub kernel from the file you sent me.

    Then you have to match the kernel version number to the supporting x86_64-efi library in the partition you are trying to boot.

    I hope this helps.

    Dave

     
  • Drummer

    Drummer - 2021-11-12

    Hey Robert,

    FYI, I have changed the EFI scan routines in the latest release of Grub2Win.

    If Grub2Win finds more than 5 EFI partitions, instead of aborting, Grub2Win will now issue warning messages and ignore those additional EFI partitions.

    Dave

     
  • Drummer

    Drummer - 2021-11-12

    Hi again Robert,

    I believe so.
    You should install the latest Grub2Win refresh which includes the EFI tweaks.

    You will receive warning messages about your extra EFI partitions, but just click OK to ignore them.

    Worst case, if it doesn't work in your very unusual configuration, simply uninstall Grub2Win.

    Please let me know.

    Thanks,

    Dave

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.