Hello,

While testing a soon to be deployed setup here I noticed that grub- setup is setting the prefix wrong if you run
LVM on Software RAID

grub-setup -v /dev/md0
...
grub-setup: info: dos partition is -2, bsd partition is -2, prefix is (md0)(fatoftheland-main)/boot/grub
...

As you can see the there is also (md0) in the prefix which does not work. Attached a small patch that fixes this problem for me. I am not sure if it is the best way to fix it so please take a look. If the root device is on LVM only add the LVM part if it is on RAID only add the RAID part.

Kind regards,
Michael


Attachment: lvm-on-raid.patch
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to