Marco M. changed bug 1179981
What Removed Added
Flags needinfo?(jjletho67-esus@yahoo.it)  

Comment # 16 on bug 1179981 from
> Please let me know how it works this time.
> Thanks.
Hi,
first of all thank you very much for your help. I installed the new version of
the patched grub, but there is still a problem. This is the output I got when I
installed the package:

**************************
Output of grub2-i386-pc-2.05-lp152.24.1.noarch.rpm %posttrans script:
    update-bootloader: 2021-01-08 18:35:01 <3> update-bootloader-2141
run_command.294: '/usr/lib/bootloader/grub2-efi/install' failed with exit code
1, output:
    <<<<<<<<<<<<<<<<
    target = x86_64-efi
    + /usr/sbin/grub2-install --target=x86_64-efi
    Installing for x86_64-efi platform.
    /usr/sbin/grub2-install: warning: this array has metadata at the start and
may not be suitable as a efi system partition. please ensure that your firmware
understands md/v1.x metadata, or use --metadata=0.90 to create the array..
    /usr/sbin/grub2-install: error: mduuid/74b7e49b63d0490d99ec2895beceeec2: no
device for efi.
    >>>>>>>>>>>>>>>>
*************************

The mentioned mduuid correspond to my raid1 md device mounted as /boot/efi, but
metadata is 1.0 as you can see from the output of the mdadm --detail command:

*************************
/dev/md0:
           Version : 1.0
     Creation Time : Fri Jan  1 19:14:58 2021
        Raid Level : raid1
        Array Size : 511936 (499.94 MiB 524.22 MB)
     Used Dev Size : 511936 (499.94 MiB 524.22 MB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Fri Jan  8 18:35:28 2021
             State : clean 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

              Name : any:0
              UUID : 74b7e49b:63d0490d:99ec2895:beceeec2
            Events : 22

    Number   Major   Minor   RaidDevice State
       0     253        1        0      active sync   /dev/vda1
       1     253       17        1      active sync   /dev/vdb1
*************************

I don't understand why grub is complaining about the position of metadata,
because metadata are at the end of the partition, for sure (the installer
correctly defaults to metadata v1.0). Is there still a bug or am I missing
something?

Thanks in advance!


You are receiving this mail because: