Re: [PATCH] Support for bootloader on md raid devices.

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

 



Hans de Goede wrote:

Whereas if we select to install into the MBR, we will only install into the MBR of the first disk of the raidset.

Hans, are you sure? What I am reading in (Fedora master) code (and I also
tested it with f11 updated with my patch) is that in line
(booty/x86.py:185, writeGrub() method)

       bootDevs = self.getPhysicalDevices(bootDev.name)

we get i.e. ['sda1', 'sdb1'] (bootDev.name being md0), then we pass them to
installGrub (line 360) which iterates over them and installs bootloader
to mbr of *both* sda and sdb.

3) Fix the install to partition option to install to the partion of both disks and
   fix the install to MBR option to install to the MBR of both disks
when /boot is on mdraid1 (this will not be clear from the UI unless we make changes
   there)

This is what (I still believe) my patch does. But you are right, the UI says that it will install on mbr of one disk (dev/sda) only, so it should be patched to indicate the second
(/dev/sdb) too if we accept 3) and/or my patch.


Radek

_______________________________________________
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