PATCH: RHEL54 allow installing grub on the MBR if /boot is on mdraid.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux