Red Hat Bugzilla – Bug 475973
Allow installation of bootloader on MBR when /boot is on mdraid1
Last modified: 2009-09-02 05:55:05 EDT
We have this fixed in master (Fedora 11), and will soon also have this fixed / allow this in RHEL-4.8, using the same patch as in Fedora, as the involved code has not changed during all that time!
It seems logical to me since this will be both fixed in earlier and later releases to also fix this in RHEL-5.4. All that needs to be done is to apply to already existing patch.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This is fixed in this commit:
Which will be part of the upcoming anaconda-184.108.40.206-1 build.
with xen/pv I get:
MBR not suitable as boot device; installing to partition
the system is able to boot.
anaconda.log doesn't contain the above message. system is able to boot.
clearpart --all --initlabel
part raid.01 --size=1 --grow --ondisk=xvda
part raid.02 --size=1 --grow --ondisk=xvdb
part swap --size=512 --ondisk=xvdb
part swap --size=512 --ondisk=xvda
raid / --device=md0 --level=1 --fstype ext3 raid.01 raid.02
were you able to reproduce the issue so that the system will not boot as described in the initial comment?
(In reply to comment #7)
> were you able to reproduce the issue so that the system will not boot as
> described in the initial comment?
I've not tried reproducing the issue from the original comment, as the faulty
code was present in 5.3 too, I only verified the issue was not present after
I think what you might be seeing here is an issue in booty which we fixed recently in Fedora, it seems that even though anaconda tells booty to be installing in to the partition, it still ends up installing on the mbr in case
of /boot leaving on mdraid 1
Any idea how to tell if the bootloader is installed on the mbr instead of partition? Can you point me to F11 bug?
(In reply to comment #9)
> Any idea how to tell if the bootloader is installed on the mbr instead of
No, not really, this was discovered by Radek Vykydal, I've added him to the CC.
> Can you point me to F11 bug?
AFAIK there was no F-11 bug, Radek ?
(In reply to comment #10)
> (In reply to comment #9)
> > Any idea how to tell if the bootloader is installed on the mbr instead of
> > partition?
Look at first sector of disk (mbr) or partition - it should contain string "GRUB".
# dd if=/dev/sda bs=512 count=1 | hexdump -C
I noticed that we install *always* (in F10, F11, rhel 5.4) on mbr in case of /boot raid 1 partitions, no matter what the user selects (in f10, and also rhel 5.3 I think, there is only option to install on /dev/mdX)
> > Can you point me to F11 bug?
> AFAIK there was no F-11 bug, Radek ?
I am not sure if there is any specific f11 bug about grub installation for /boot raid 1 partitions.
I've repeated the test from comment #7 and did what Radek suggested
# dd if=/dev/xvda bs=512 count=1 | hexdump -C. The "GRUB" string is visible in the hex output.
If there are no objections I'll move this one to VERIFIED.
No objections, as Radek has said it looks like we are doing the wrong thing
when the user asks to actually install on the partition, but that is a different
issue and is an issue in booty, not in anaconda itself.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.