Bug 168660
Summary: | Software Raid Mirror wont boot from second disk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lars Hentschke <nuggets> |
Component: | anaconda | Assignee: | Peter Jones <pjones> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7 | CC: | bbaetz, curtis, k.georgiou, lfelipebm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-25 03:40:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lars Hentschke
2005-09-19 08:39:51 UTC
Changing component to anaconda (the installer). This is a bug in the initial boot loader setup done during the install phase. Mdadm doesn't attempt to manage boot up in any way. It is up to the installer (anaconda) to make sure that grub is properly installed on both sda and sdb during installation. I met this bug and hacked around it by adding the following to my kickstart %post: echo 'root (hd2,0) setup (hd2)' |/sbin/grub --batch sync Of course this worked for me because my /boot raid1 set was using sda and sdc. I think if you user sda/sdb then it should be hd1 above. Not sure how to make it work dynamic properly. I do have a note in my script which says: # [expletive deleted] anaconda does weird [expletive deleted] with grub and it goes error 16 instead of copying to the second boot drive in mirror, so we must do it ourself Hope that helps. :-) This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks. Have been ongoing...haven't noticed any change. Basic steps I'm using: #1 zero out boot disks #2 use anaconda/kickstart to install raid1 /boot #3 inspect MBR on each disk One will have grub. One won't. Above hack works; although it requires hard-coding whatever drive number grub thinks is the second boot disk in the raid1 md. I'm using F7 here and apparently the same issue occurs. If I manually run "grub" then do a: root (hd1,0) setup (hd1) quit The second HD will be able to boot just fine alone in the system. Then I can re-add the first one and do a "mdadm --manage --re-add /dev/mdX /dev/sdaX" and it will re-sync okay. I might be wrong, but I guess the trouble here is that anaconda should install the boot loader directly in the disk MBR (hd0) and (hd1) instead of in the disk partition (hd0,0) and (hd1,0), when the users chooses a RAID 1 setup. What do you think? Cheers! Note that maintenance for Fedora 7 will end 30 days after the GA of Fedora 9. The information we've requested above is required in order to review this problem report further and diagnose/fix the issue if it is still present. Since there have not been any updates to the report since thirty (30) days or more since we requested additional information, we're assuming the problem is either no longer present in the current Fedora release, or that there is no longer any interest in tracking the problem. Setting status to "CLOSED INSUFFICIENT_DATA". If you still experience this problem after updating to our latest Fedora release and can provide the information previously requested, please feel free to reopen the bug report. Thank you in advance. Note that maintenance for Fedora 7 will end 30 days after the GA of Fedora 9. |