Version: 1.48 This bug is about the bug reported in [1] and the provided patch. This patch is expected to provide support for distributions installed on mdraid devices. Please review the patch and apply if appropriate. Thanks [1] https://bugzilla.redhat.com/show_bug.cgi?id=752402
On 10.11.2011 02:59, Hedayat Vatankhah wrote:
Just a small nitpick:
awk '/^md/ {printf "/dev/"$1"\n"}' /proc/mdstat
Thanks,
/mjt
Hi, ...or little bit more easy(?): [ -f /proc/mdstat ] && sed -e 's,^\(md[0-9]\+\).*$,/dev/\1,p;d' /proc/mdstat
Thanks for the cleanups. Anyway, is there any problems with the fix?
Dear Maintainer,
* What led up to the situation?
I have Fedora installed on /dev/md5(RAID1) but update-grub / os-prober didn't found it.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Implementing the patch from this bugreport was effective.
* What was the outcome of this action?
Linux on md device could not be started.
* What outcome did you expect instead?
Correct detection and starting of other Distribution on md.
BTW:
The following System Information was not correctly detected or the wiki is outdated.
As described on https://wiki.debian.org/AptPreferences I have created /etc/apt/preferences:
Package: *
Pin: release n=stable
Pin-Priority: 900
Package: *
Pin: release n=testing
Pin-Priority: 800
Dear Manitainer, Please consider applying the patch which helps a lot with maintaining debian machines with root on md raid when rebuilding grub configuration. Thanks a lot, Pavel Hofman.
The problem still exists in os-prober 1.79, and I've confirmed that the patch still applies and solves the problem. Could this (or an equivalent) be applied for the next version?
#648251: A patch to add support for distributions installed on MD Raid devices Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> wrote (Wed, 18 Aug 2021 10:10:41 -0300): Any objections against me applying this? Holger