Modifying the boot sequence of fedora and Windows dual systems

Source: Internet
Author: User

How to change the boot sequence when installing Fedora Core and Windows dual systems.

Only need to log in as root, modify/boot/grub/grub.conf file can be.

For example, I installed the grub.conf file contents of the Fedora system:

#boot =/DEV/SDA
Default=0
Timeout=5
Splashimage= (hd0,5)/grub/splash.xpm.gz
Hiddenmenu
Title Fedora (2.6.35.11-83.fc14.i686)
Root (hd0,5)
kernel/vmlinuz-2.6.35.11-83.fc14.i686 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=zh_cn. UTF-8 keyboardtype=pc keytable=us RHGB quiet
Initrd/initramfs-2.6.35.11-83.fc14.i686.img
Title Fedora (2.6.35.10-74.fc14.i686)
Root (hd0,5)
kernel/vmlinuz-2.6.35.10-74.fc14.i686 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=zh_cn. UTF-8 keyboardtype=pc keytable=us RHGB quiet
Initrd/initramfs-2.6.35.10-74.fc14.i686.img
Title Fedora (2.6.35.10-72.fc14.i686)
Root (hd0,5)
kernel/vmlinuz-2.6.35.10-72.fc14.i686 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=zh_cn. UTF-8 keyboardtype=pc keytable=us RHGB quiet
Initrd/initramfs-2.6.35.10-72.fc14.i686.img
Title others
Rootnoverify (hd0,0)
Chainloader +1

There are four startup items:

Fedora (2.6.35.11-83.fc14.i686)

Fedora (2.6.35.10-74.fc14.i686)

Fedora (2.6.35.10-72.fc14.i686)

Others

I installed in the others is Windows 7, in fact, other Windows systems and even with other operating systems are also possible.

The above three Fedora Startup items are due to the Linux kernel update during use, and can also be removed from the stale startup items.

In the grub.conf file, default=0 refers to Fedora (2.6.35.11-83.fc14.i686) as the default startup item; If Default=1, Fedora (2.6.35.10-74.fc14.i686) is the default startup item If default=2, Fedora (2.6.35.10-72.fc14.i686) is the default startup item; If default=3, others is the default startup item;

So as long as the above rules to modify the value of the default can be modified to change the boot sequence.

In particular, you can change the name of the appropriate system others, for example, to Windows 7, Windows XP, and so on.

Note: I installed the Fedora Core 14,grub.conf file in/boot/grub/grub.conf, but previously there were related systems, grub.conf files in/boot/grub.conf. Please note to the reader. The above words are written for my Fedorajohn, reproduced please indicate the source, thank you.

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.