[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62756] grub-install fails with /dev/md_NAME style device names
From: |
Csordás Hunor |
Subject: |
[bug #62756] grub-install fails with /dev/md_NAME style device names |
Date: |
Tue, 12 Jul 2022 13:36:32 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62756>
Summary: grub-install fails with /dev/md_NAME style device
names
Project: GNU GRUB
Submitter: hunor
Submitted: Tue 12 Jul 2022 05:36:30 PM UTC
Category: Installation
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: Git master
Release:
Discussion Lock: Any
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 12 Jul 2022 05:36:30 PM UTC By: Csordás Hunor <hunor>
I get the following error from grub-install on Linux with named md devices:
# grub-install --no-nvram
Installing for x86_64-efi platform.
grub-install: error: unknown kind of RAID device `/dev/md_efi'.
The reason is that grub_util_get_raid_grub_dev in
grub-core/osdep/linux/getroot.c doesn't support this device name format, and
fails before even trying to figure out the mduuid/* one.
The device name is not arbitary - the mdadm utility creates device names like
this in /dev if the "CREATE names=yes" option is present in its configuration
file. Incidentally, mdadm (because of a bug) requires this option to allow the
creation of the usual /dev/md/NAME symlinks since Linux 5.18 (unless the
kernel is configured with the "new" CONFIG_BLOCK_LEGACY_AUTOLOAD config
option).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62756>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62756] grub-install fails with /dev/md_NAME style device names,
Csordás Hunor <=