Fix bug: Fedora 17 does not shutdown. Kernel Panic.

If you upgraded from Fedora 16 to Fedora 17, you may get an error when shutting down the system.

This happens because the kernel is the same, and grub2.cfg does not get the Fedora 17 kernel, but it is installed, although not recognized.

To fix this just run the following command:

# grub2-mkconfig > /etc/grub2.cfg && grub2-install /dev/sda

Notice that you should change /dev/sda for your partition

This will generate a new grub2.cfg with the new Fedora 17 kernel.

2 comments on “Fix bug: Fedora 17 does not shutdown. Kernel Panic.

  1. Tried doing this and im getting the error message:

    grub2-mkconfig > /etc/grub2.cfg && grub2-install /dev/sda
    Generating grub.cfg …
    Found linux image: /boot/vmlinuz-3.3.7-1.fc17.i686
    Found initrd image: /boot/initramfs-3.3.7-1.fc17.i686.img
    Found linux image: /boot/vmlinuz-3.3.7-1.fc16.i686
    Found initrd image: /boot/initramfs-3.3.7-1.fc16.i686.img
    Found linux image: /boot/vmlinuz-3.3.5-2.fc16.i686
    Found initrd image: /boot/initramfs-3.3.5-2.fc16.i686.img
    done
    source_dir doesn’t exist. Please specify –target or –directory

    Ive tried it with
    /dev/sda
    /dev/sda1
    /dev/sda2
    /dev/sda3

    but getting the same error with each

    Please could you advise on what Im doing wrong ?

    Thanks

    Mark

Leave a Reply

Your email address will not be published. Required fields are marked *

*

7,578 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>