Problem Description: When you install F17, if you have multiple distros present other disks, the grub2-mkconfig will fail and leave you with an unbootable system. It will create the grub.cfg.new file, but because it fails a syntax check, it will not rename it and allow grub to boot/configure properly. Will attach relevant log files and such As you can see, one of the key problems in that grub.cfg.new is in line 149. It's apparent that the files in os-prober do not process the yaboot.conf file properly when the append is followed by a space and = sign. Example: append = "some params" append="some params" Both are acceptable to yaboot itself, but the /usr/libexec/linux-boot-probes/mounted/40yaboot script does not account for that. We have attached two proposed patches for your consideration.
Created attachment 586717 [details] original grub.cfg.new file created by current os-prober
Created attachment 586718 [details] 40yaboot patch 1
Created attachment 586719 [details] 40yaboot patch 2
Created attachment 586720 [details] anaconda program log
Thank you for reporting the problem and providing the patches. I think I'll go with the first patch, but I'll forward both to upstream.
Hmm.. but I think there is no need to change case "$1" with case "${1%%=*}" since bash already do it (considering the IFS variable). Right?
os-prober-1.53-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/os-prober-1.53-2.fc16
os-prober-1.53-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/os-prober-1.53-2.fc17
------- Comment From baude.com 2012-05-25 12:55 EDT------- I'll defer to you and others on that one. Please roll a new src rpm and let us know as this currently blocks ppc64 F17 RC.
You can find the src.rpm at: http://koji.fedoraproject.org/koji/buildinfo?buildID=320525
------- Comment From baude.com 2012-05-25 13:54 EDT------- I've tested the new package locally and it seems to fix the problem we are seeing. The real test will be to get our IS rebuilt with the new package.
------- Comment From baude.com 2012-05-25 14:29 EDT------- Is there any chance you could join us on freenode on #fedora-ppc? I have some follow-up questions.
Package os-prober-1.53-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing os-prober-1.53-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8433/os-prober-1.53-2.fc17 then log in and leave karma (feedback).
os-prober-1.53-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/os-prober-1.53-3.fc16
os-prober-1.53-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/os-prober-1.53-3.fc17
os-prober-1.53-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
os-prober-1.53-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
os-prober-1.53-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.