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

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

 



----- "Hans de Goede" <hdegoede@xxxxxxxxxx> wrote:

> Hi All,
>

But here we would be loosing the "RAID Device" message.  It would be replaced by "First sector of boot partition", which is not bad thing, but I would still prefer to tell the user that its a "RAID Device".

I would prefer to just add a line inside the if that adds the mbr and then returns.

> diff --git a/fsset.py b/fsset.py
> index c9cd098..b726985 100644
> --- a/fsset.py
> +++ b/fsset.py
> @@ -1522,10 +1522,6 @@ MAILADDR root
>              ret['boot'] = (bootDev.device, N_("EFI System
> Partition"))
>              return ret
>  
>         if bootDev.getName() == "RAIDDevice":
>             ret['boot'] = (bootDev.device, N_("RAID Device"))
=======Add this line to the if:========
              ret['mbr'] = (bl.drivelist[0], N_("Master Boot Record (MBR)"))

>             return ret
>
>          if iutil.getPPCMacGen() == "NewWorld":
>              ret['boot'] = (bootDev.device, N_("Apple Bootstrap"))
>              n = 1
> 

regards

-- 
Joel Andres Granados
Red Hat / Brno Czech Republic

_______________________________________________
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