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.
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
Hello.
Are you sure that your grub is installed on /dev/sda?