Fedora 17 warning: kernel panic after upgrade (part 2)
I have already warned about broken kernel after upgrade to Fedora 17. The issue is worse than we expected. We thought it would hit only users using development version of Fedora and it would work OK after Fedora 17 is officially released. It’s not the case, the details are in bugs 820351, 826537 and 820340. I hope the fix will be ready soon, in the meantime:
- The current recommended order of upgrade methods is following: using Network install CD, using Install DVD, using preupgrade.
- If you use Network install CD, you should not encounter any kernel problems after upgrade, Fedora 17 kernel should be installed and booted by default.
- If you use Install DVD, your kernel will not be updated to Fedora 17 version, so you will get kernel panic on every shutdown. Just run as root
$ yum update
to fix the issue.
- If you use preupgrade, the new Fedora 17 kernel will be installed, but it won’t be listed in GRUB boot menu and you’ll boot the old Fedora 16 version instead. This is hardest to fix. As root you have to run
$ grub2-install /dev/sda $ grub2-mkconfig -o /boot/grub2/grub.cfg
You should replace /dev/sda with your disk you want to install bootloader on. Usually it is /dev/sda, but in some cases it might be different.
EDIT 2012-06-04: This problem seems to be fixed now.
I hope the preupgrade issue will be fixed in the near future and the extra step won’t be necessary. DVD upgrades can’t be fixed, but in their case the problem is not that crucial as the preupgrade issue.