[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46805] grub 2.02_beta2 - grub-install fails with "efibootmgr: opti
From: |
Tomas Mozes |
Subject: |
[bug #46805] grub 2.02_beta2 - grub-install fails with "efibootmgr: option requires an argument -- 'd'" on EFI with software raid 1 |
Date: |
Mon, 04 Jan 2016 06:16:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
URL:
<http://savannah.gnu.org/bugs/?46805>
Summary: grub 2.02_beta2 - grub-install fails with
"efibootmgr: option requires an argument -- 'd'" on EFI with software raid 1
Project: GNU GRUB
Submitted by: hydrapolic
Submitted on: Mon 04 Jan 2016 06:16:42 AM GMT
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02~beta1
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Hello,
grub2-install fails on a Linux Gentoo system with 2 disks in RAID 1 with EFI.
This is not a new install and when installing the machine it worked ok (back
in 2014) with different (older) software versions.
# grub2-install --target=x86_64-efi --efi-directory=/boot/efi /dev/sda
Installing for x86_64-efi platform.
efibootmgr: EFI variables are not supported on this system.
efibootmgr: option requires an argument -- 'd'
efibootmgr version 0.12
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
-C | --create-only create new variable bootnum and do not add to
bootorder
-D | --remove-dups remove duplicate values from 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
-i | --iface name create a netboot entry for the named interface
-l | --loader name (defaults to \EFI\redhat\grub.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
-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)
-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)
-h | --help show help/usage
Installation finished. No error reported.
# emerge --info grub
sys-boot/grub-2.02_beta2-r8::gentoo was built with the following:
USE="fonts multislot themes -debug -device-mapper -doc -efiemu (-libzfs)
-mount -nls -sdl -static -test -truetype" ABI_X86="64" GRUB_PLATFORMS="efi-64
-coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips
-uboot -xen"
# emerge --info efibootmgr
sys-boot/efibootmgr-0.12::gentoo was built with the following:
USE="" ABI_X86="64"
# fdisk -l /dev/sda /dev/sdb
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ECF92001-A210-4575-B83C-6D8CFBE46E47
Device Start End Sectors Size Type
/dev/sda1 2048 976895 974848 476M EFI System
/dev/sda2 976896 20508671 19531776 9.3G Linux filesystem
/dev/sda3 20508672 1953523711 1933015040 921.8G Linux LVM
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 61BFF92D-D369-4DD1-AC79-AC535D275C58
Device Start End Sectors Size Type
/dev/sdb1 2048 976895 974848 476M EFI System
/dev/sdb2 976896 20508671 19531776 9.3G Linux filesystem
/dev/sdb3 20508672 1953523711 1933015040 921.8G Linux LVM
# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10]
md1 : active raid1 sda1[0] sdb1[1]
487360 blocks [2/2] [UU]
md2 : active raid1 sda2[0] sdb2[1]
9765824 blocks [2/2] [UU]
md3 : active raid1 sda3[0] sdb3[1]
966506360 blocks super 1.2 [2/2] [UU]
# zcat /proc/config.gz | grep -i efi
CONFIG_EFI_PARTITION=y
CONFIG_EFI=y
# CONFIG_EFI_STUB is not set
CONFIG_FB_EFI=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# EFI (Extensible Firmware Interface) Support
CONFIG_EFI_VARS=y
CONFIG_EFI_RUNTIME_MAP=y
CONFIG_EFIVAR_FS=y
CONFIG_EARLY_PRINTK_EFI=y
This was reported on Gentoo Linux at:
https://bugs.gentoo.org/show_bug.cgi?id=568956
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 04 Jan 2016 06:16:43 AM GMT Name: grub.log Size: 531kB By:
hydrapolic
grub log with debug
<http://savannah.gnu.org/bugs/download.php?file_id=35913>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46805>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #46805] grub 2.02_beta2 - grub-install fails with "efibootmgr: option requires an argument -- 'd'" on EFI with software raid 1,
Tomas Mozes <=