Product SiteDocumentation Site

10.4.2. Blocked by a GRUB command line after upgrading?

If you have restarted your machine after upgrading Fedora but cannot progress beyond the GRUB command line, you will need to issue commands to boot the operating system and then make the changes persistent once Fedora has loaded.
  1. At the GRUB command line, display the superseded GRUB configuration file with the following command:
    cat (hdpartitionnumber,drivenumber)/grub/grub.conf
    partitionnumber and drivenumber refer to the location of your Fedora /boot directory. If you do not know the location, boot the machine using a Fedora live CD to find out and then reboot to return to the GRUB command line. See the GRUB documentation at http://www.gnu.org/software/grub/grub-documentation.html for help with partition numbering.
  2. In the GRUB configuration file, locate the first linux and initrd lines and paste them as individual commands. For example:
    linux /vmlinuz-3.3.0-1.fc17.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
    initrd /initramfs-3.3.0-1.fc17.x86_64.img
  3. Run the boot command.
  4. Once Fedora has loaded, refresh the GRUB configuration file to make the changes persistent:
    grub2-mkconfig --output=/boot/grub2/grub.cfg