After the Fedora17 upgrade, the grub2 menu does not have the Fedora option.

Source: Internet
Author: User
It seems that everyone has upgraded to Fedora17. After hearing this, I felt itchy. After upgrading it, I used a few commands, so that the network speed is not good and the old upgrade is wrong, yumcleanall has been used for many times. woke up the next day, okay, pretty good, F1

It seems that everyone has upgraded to Fedora 17. After hearing the itch, please upgrade it.

I used a few commands, so the network speed is not good. The old upgrade error occurs, and yum clean all is performed many times.

Yum update rpm yum-y update yum clean all

Yum install preupgrade-restart the cli installation package after the package is downloaded. Restart the package and check that it has been upgraded. Go to bed first. I woke up the next day, thanks, F17. it is said that the startup speed is extremely fast, so you have to restart it,

After halt -- reboot, grub2 does not have a Fedora menu, but there is only one Win XP menu. Alas, you can only manually

In this WIN7 menu, press e to enter the editing mode.

Insmod ext4

Set root = 'hd0, msdos3'

Linux/boot/vmlinuz-3.3.7-1.fc17.i686.PAE root = UUID =/dev/sda3 1

Initrd/boot/initramfs-3.3.7-1.fc17.i686.PAE.img

After entering the single-user mode

Grub2-mkconfig-o/boot/grub2/grub. cfg

Shutdown-r now

After restart, the menu is as follows:

Fedora Linux

Advanced options for Fedora Linux

Windows XP

Then, Fedora Linux adopts the debug mode.

The Advanced options for Fedora Linux is a submenu. The sub menu is as follows:

Fedora Linux, Linux 3.3.7-1. fc17.i686. debug

Fedora Linux, Linux 3.3.7-1. fc17.i686. debug (recovery mode)

Fedora Linux, Linux 3.3.7-1. fc17.i686. PAEdebug

Fedora Linux, Linux 3.3.7-1. fc17.i686. PAEdebug (recovery mode)

Fedora Linux, Linux 3.3.7-1. fc17.i686. PAE

Fedora Linux, Linux 3.3.7-1. fc17.i686. PAE (recovery mode)

Fedora Linux, Linux 3.3.7-1. fc17.i686

Fedora Linux, Linux 3.3.7-1. fc17.i686 (recovery mode)

It's time to change the default startup Item.

Grub2-set-default Fedora Linux, Linux 3.3.7-1. fc17.i686. PAE does not work after restart, because the main menu does not have Fedora Linux, Linux 3.3.7-1. fc17.i686. PAE menu.

Then Baidu made the following: Menu

Grub2-set-default "1> Fedora Linux, Linux 3.3.7-1. fc17.i686. PAE"

1> indicates the second main menu, that is, the second item displayed in grub at startup, starting from 0.

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.