[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
*** This bug is a duplicate of bug 1466150 *** https://bugs.launchpad.net/bugs/1466150 ** This bug has been marked a duplicate of bug 1466150 grub-install breaks when ESP is on raid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
There is a patch at https://savannah.gnu.org/bugs/?46805 , why not try it ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
Btw, this is a duplicate of https://bugs.launchpad.net/ubuntu/+source /grub-installer/+bug/1466150 , reported 3+ years ago ** Bug watch added: GNU Savannah Bug Tracker #46805 http://savannah.gnu.org/bugs/?46805 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
I have mirrored EFI pertition with mdadm metadata 0.90 and I also have this problem. Is it going to be fixed earlier than Ubuntu 20.04 ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
In that case, this may be helpful: # mdadm --detail --scan ARRAY /dev/md0 metadata=0.90 UUID=8738f3e7:91896e1d:e368bf24:bd0fce41 ARRAY /dev/md1 metadata=1.2 name=ubuntu:1 UUID=d36f3bf5:f320055f:317d3880:08f835aa ARRAY /dev/md2 metadata=0.90 UUID=5aef7b1d:9c6dc2a4:35da8c23:a0a15a85 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
strace shows: [pid 30986] execve("/bin/efibootmgr", ["efibootmgr", "-q", "-c", "-d"], [/* 35 vars */]) = 0 this points to a problem in grub- core/osdep/unix/platform.c:grub_install_register_efi(), where efidir_disk is being set to NULL. This suggests that grub is unable to resolve your /dev/md1 to a physical disk. ** Package changed: shim-signed (Ubuntu) => grub2 (Ubuntu) ** Changed in: grub2 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
# debsums -s grub2-common && echo Ok Ok ** Attachment added: "Stracing the test run" https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1720572/+attachment/4966287/+files/strace-grub-install.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
Ok, that looks like the right grub-install. Can you confirm with 'debsums -s grub2-common' that the file hasn't been overwritten from a different source? Also, can you try running 'strace -ff -eexecve -s 256 grub-install --recheck --no-floppy /dev/md1' to see exactly how grub-install is invoking efibootmgr? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
# dpkg --list 'grub2-*'| cat - Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionArchitecture Description +++--==--= ii grub2-common 2.02~beta2-9ubuntu1.14 amd64GRand Unified Bootloader (common files for version 2) # which grub-install /usr/sbin/grub-install # file /usr/sbin/grub-install /usr/sbin/grub-install: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=5698483f81b8e9efb69b601edfa2111c1dd772fb, stripped -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'
What version of grub2-common do you have installed? Does 'which grub- install' point to a file provided by the grub2-common package? >From what I can see, all versions of grub-install in Ubuntu, back to 14.04 and earlier, correctly pass an argument to -d. ** Changed in: shim-signed (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720572 Title: grub-install -> efibootmgr: option requires an argument -- 'd' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1720572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs