[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH: RHEL54 allow installing grub on the MBR if /boot is on mdraid.
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: PATCH: RHEL54 allow installing grub on the MBR if /boot is on mdraid.
- Date: Wed, 26 Nov 2008 14:18:59 +0100
Hi All,
Same patch as before but now for RHEL54
This patch removes a special case when /boot (or / without a separate /boot) is
on mdraid. For some reason we only allow installing grub to the mdX device then
instead of allowing both the mbr of the 1st disk and the device holding /boot.
I've searched through the anaconda history and this special handling of mdraid
/boot has been there since before Feb. 2002, it was inherited from before booty
was introduced and it does not seem to make sense. Either we cannot have /boot
on mdraid at all (in all cases except for raid1) or we can have /boot on dmraid
(in case of raid1) and then it does not matter if the bootstrap of grub starts
on the mbr or on the first sector of a partition.
This fixes 217176, note that is a RHEL4 bug but this patch is against RHEL5 as
it still happens there too. Next is fixing this for RHEL4.
Regards,
Hans
diff --git a/fsset.py b/fsset.py
index c0c2df6..91d5fa3 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1609,10 +1609,6 @@ MAILADDR root
log.warning("no boot device set")
return ret
- if bootDev.getName() == "RAIDDevice":
- ret['boot'] = (bootDev.device, N_("RAID Device"))
- return ret
-
if iutil.getPPCMacGen() == "NewWorld":
ret['boot'] = (bootDev.device, N_("Apple Bootstrap"))
n = 1
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]