[Bug 1720572] Re: grub-install -> efibootmgr: option requires an argument -- 'd'

Wladimir Mutel mwg at mwg.dp.ua
Tue Jul 3 10:43:50 UTC 2018


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
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1720572

Title:
  grub-install -> efibootmgr: option requires an argument -- 'd'

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  While upgrading my 14.04 system today, I saw the following footcloth
  in the apt logs:

  Setting up shim-signed (1.32~14.04.2+0.9+1474479173.6c180c6-1ubuntu1) ...
  Installing for x86_64-efi platform.
  efibootmgr: option requires an argument -- 'd'
  efibootmgr version 0.5.4
  usage: efibootmgr [options]
          -a | --active         sets bootnum active
          -A | --inactive       sets bootnum inactive
          -b | --bootnum XXXX   modify BootXXXX (hex)
          -B | --delete-bootnum delete bootnum (hex)
          -c | --create         create new variable bootnum and add to bootorder
          -d | --disk disk       (defaults to /dev/sda) containing loader
          -e | --edd [1|3|-1]   force EDD 1.0 or 3.0 creation variables, or guess
          -E | --device num      EDD 1.0 device number (defaults to 0x80)
          -g | --gpt            force disk with invalid PMBR to be treated as GPT
          -H | --acpi_hid XXXX  set the ACPI HID (used with -i)
          -i | --iface name     create a netboot entry for the named interface
          -l | --loader name     (defaults to \elilo.efi)
          -L | --label label     Boot manager display label (defaults to "Linux")
          -n | --bootnext XXXX   set BootNext to XXXX (hex)
          -N | --delete-bootnext delete BootNext
          -o | --bootorder XXXX,YYYY,ZZZZ,...     explicitly set BootOrder (hex)
          -O | --delete-bootorder delete BootOrder
          -p | --part part        (defaults to 1) containing loader
          -q | --quiet            be quiet
             | --test filename    don't write to NVRAM, write to filename.
          -t | --timeout seconds  set boot manager timeout waiting for user input.
          -T | --delete-timeout   delete Timeout.
          -u | --unicode | --UCS-2  pass extra args as UCS-2 (default is ASCII)
          -U | --acpi_uid XXXX    set the ACPI UID (used with -i)
          -v | --verbose          print additional information
          -V | --version          return version and exit
          -w | --write-signature  write unique sig to MBR if needed
          -@ | --append-binary-args file  append extra args from file (use "-" for stdin)
  Installation finished. No error reported.
  No DKMS packages installed: not changing Secure Boot validation state.

  This same footcloth is printed when I'm attempting manual
  # grub-install --recheck --no-floppy /dev/md1

  /dev/md1 is a mdadm RAID1 device.

  # lsblk -nbo NAME,SIZE,FSTYPE,UUID,MOUNTPOINT
  sda     500107862016
  ├─sda1     272629760 linux_raid_member 8738f3e7-9189-6e1d-e368-bf24bd0fce41
  │ └─md0    272564224 vfat              BC88-CB0B                            /boot/efi
  ├─sda2   21088960512 linux_raid_member d36f3bf5-f320-055f-317d-388008f835aa
  │ └─md1  21072052224 ext4              863afe5d-f8fe-4078-a194-5018e4a0f428 /
  ├─sda3    2147483648 swap              74889c32-6f20-4df0-8286-783679662202 [SWAP]
  └─sda4  476456157184 linux_raid_member 5aef7b1d-9c6d-c2a4-35da-8c23a0a15a85
    └─md2 476456091648 ext3              01a84aa3-b283-4691-a5ad-ac8ec8ae7641 /home
  sdb     500107862016
  ├─sdb1     272629760 linux_raid_member 8738f3e7-9189-6e1d-e368-bf24bd0fce41
  │ └─md0    272564224 vfat              BC88-CB0B                            /boot/efi
  ├─sdb2   21088960512 linux_raid_member d36f3bf5-f320-055f-317d-388008f835aa
  │ └─md1  21072052224 ext4              863afe5d-f8fe-4078-a194-5018e4a0f428 /
  ├─sdb3    2147483648 swap              0fb5dea5-43c3-4489-bdae-063daf4e9965 [SWAP]
  └─sdb4  476456157184 linux_raid_member 5aef7b1d-9c6d-c2a4-35da-8c23a0a15a85
    └─md2 476456091648 ext3              01a84aa3-b283-4691-a5ad-ac8ec8ae7641 /home

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1720572/+subscriptions



More information about the foundations-bugs mailing list