View Full Version : workaround preupgrade bug
5th October 2011, 12:06 PM
There remains a bug in F16 beta relating to upgrading with preupgrade not being able to update GRUB1 to GRUB2. (https://bugzilla.redhat.com/show_bug.cgi?id=737731)
If I understand correctly, upgrading from the F16 beta DVD should correctly perform this upgrade? Is that correct? Has anyone tried this?
5th October 2011, 08:23 PM
yes, it should. I've tested it, but only in a stock f15 install. we can't *guarantee* upgrades, because there's so many moving parts. what we do is we test that 'install f15 default from DVD to a VM; update it; upgrade to f16' works, and if people report significant upgrade bugs that aren't caught by that test, we'll consider them release blockers. But we can't claim 100% safety of upgrades.
As far as I know, though, it should work. The bootloader issue is preupgrade-specific, a regular anaconda upgrade should handle it correctly. It'll offer you two choices of what to do with the bootloader, write a new config or skip it. The default is write a new config, and you should use that default option. If you select 'skip' it'll leave you with a probably non-functional f15/grub1 config.
6th October 2011, 09:26 AM
Thanks for the info.
Fingers crossed, will have a go shortly (once the DVD has finished downloading...)
10th October 2011, 09:46 AM
yum remove grub
yum install grub2
# omit if you have a floppy drive
/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
will this work with preupgrade?
12th October 2011, 01:10 AM
well, it has one unnecessary step - grub2-mkconfig does grub2-mkdevicemap, so you don't need to do it separately - and is missing one important step - run 'grub2-install /dev/foo' after the mkconfig.
vBulletin® v3.8.7, Copyright ©2000-2016, vBulletin Solutions, Inc.