support for multipath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Debian) |
Confirmed
|
Unknown
|
|||
grub (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: grub
There is a patch which adds support to use grub from a multipathed device. I've tested it and it works fine. Just adding this hunk of the patch is enough for the installer:
diff --git a/lib/device.c b/lib/device.c
index 04a61f6..7e35b4a 100644
--- a/lib/device.c
+++ b/lib/device.c
@@ -1119,6 +1119,8 @@ write_to_partition (char **map, int drive, int partition,
(strncmp (dev, "/dev/cciss/", 11) == 0) ||
(strncmp (dev, "/dev/rd/", 8) == 0))
strcpy (dev + strlen(dev), "p");
+ else if (strncmp (dev, "/dev/mapper/
+ strcpy (dev + strlen(dev), "-part");
}
sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1);
Related branches
Changed in grub: | |
status: | Unknown → New |
Changed in grub (Debian): | |
status: | New → Fix Released |
Changed in grub (Debian): | |
status: | Fix Released → Confirmed |
bumping the importance for selfish reasons :)