Linux Startup Sequence

Source: Internet
Author: User
Open the terminal, run the su command to switch to the root permission, and use vi to open the "grub. conf" file (vi/etc/grub. conf). The content is as follows: # Grub. conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a/boot partition. This means that
# All kernel and initrd paths are relative to/boot/, eg.
# Root (hd0, 4)
# Kernel/vmlinuz-version ro root =/dev/VolGroup00/LogVol00
# Initrd-version.img/initrd
# Boot =/dev/sda
Default = 2
Timeout = 5
Splashimage = (hd0, 4)/grub/splash.xpm.gz
Hiddenmenu
Title Fedora (2.6.23.15-80. fc7)
Root (hd0, 4)
Kernel/vmlinuz-2.6.23.15-80.fc7 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.23.15-80.fc7.img
Title Fedora (2.6.21-1.3194.fc7)
Root (hd0, 4)
Kernel/vmlinuz-2.6.21-1.3194.fc7 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.21-1.3194.fc7.img
Title Microsoft Windows Option System
Rootnoverify (hd0, 0)
Chainloader + 1

"Default = 2" is the default startup Item. You can change it.

Vi editor use: http://www.cnblogs.com/EasyData/archive/2008/04/17/1157434.html

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.