URL: <https://savannah.gnu.org/bugs/?63839>
Summary: LVM partition not show if insmod mdraid1x before insmod lvm Group: GNU GRUB Submitter: guillere Submitted: Sun 26 Feb 2023 05:31:58 PM UTC Category: None Severity: Major Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: other Release: Discussion Lock: Any Reproducibility: Every Time Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sun 26 Feb 2023 05:31:58 PM UTC By: Guillermo Reisch <guillere> this problem is in grub 2.06 (debian 2.06-8) I have a LVM partition inside a RAID (mdadm raid) Disk: (whole disk) => RAID => PV => LVM Creation of disk (/dev/diskA) mdadm --create /dev/md/raid --level=1 --raid-devices=2 /dev/diskA missing pvcreate /dev/md/raid vgcreate vgr /dev/md/raid lvcreate --name A --size 12M gvr bug: booting grub2 insmod mdraid1x insmod lvm ls (hd0) (md/raid) ... lvm partition is not show ... work around: booting grub2 insmod lvm insmod mdraid1x ls (hd0) (md/raid) (lvm/vgr-A) ----- This problem was firts find in my machine that have 5 disk each partitioned in raid1 and raid5 ; the boot partition is in the raid1 (that is formated in ext4) so grub2 preload "mdraid1x" and "ext2" and boot perfeclty! The problem: I want to migrate the boot partition inside a LVM partiton (that is inside the raid5 that is the PV of this LVM), i do update-grub (that create a correct menu entry and include "insmod lvm") but "insmod lvm" is loaded after "insmod mdraid1x" so the boot partion is not show and cannot boot. I reproduce this problem in a virtualbox so enconter that "insmod lvm" need to be loaded before "insmod mdraid1x" to grub discover the partition correctly _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63839> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/