Set CentOS boot wait time

Source: Internet
Author: User
The Centos6.x operating system has a system wait time each time it is started. this option is most commonly used to change the password. if you do not need to change the password, you usually need to quickly enter the system. Because the system wait time can be modified. The default wait time is 5 seconds. after you set the wait time to 0 seconds, save the settings and restart the server. then, the system will be quickly skipped and enter the system. However, we recommend that you set the wait time to 1 second, in this way, when you forget the password, you can promptly press the option to reset the password. [P

The Centos6.x operating system has a system wait time each time it is started. this option is most commonly used to change the password. if you do not need to change the password, you usually need to quickly enter the system. Because the system wait time can be modified.

The default wait time is 5 seconds. after you set the wait time to 0 seconds, save the settings and restart the server. then, the system will be quickly skipped and enter the system. However, we recommend that you set the wait time to 1 second, in this way, when you forget the password, you can promptly press the option to reset the password.

 

[Plain]View plaincopy
  1. [Root @ rac1 grub] # cat/boot/grub/menu. lst
  2. # Grub. conf generated by anaconda
  3. #
  4. # Note that you do not have to rerun grub after making changes to this file
  5. # NOTICE: You have a/boot partition. This means that
  6. # All kernel and initrd paths are relative to/boot/, eg.
  7. # Root (hd0, 0)
  8. # Kernel/vmlinuz-version ro root =/dev/mapper/vg_rac1-lv_root
  9. # Initrd/initrd-[generic-] version. img
  10. # Boot =/dev/sda
  11. Default = 0
  12. Timeout = 5 // Set the boot option description. the default value is 5 seconds.
  13. Splashimage = (hd0, 0)/grub/splash.xpm.gz
  14. Hiddenmenu
  15. Title Red Hat Enterprise Linux (2.6.32-358. el6.x86 _ 64)
  16. Root (hd0, 0)
  17. Kernel/vmlinuz-2.6.32-358.el6.x86_64 ro root =/dev/mapper/vg_rac1-lv_root kernel = vg_rac1/lv_root kernel LANG = en_US.UTF-8 rd_NO_MD SYSFONT = latarcyrheb-sun16 crashkernel = 128 M kernel = vg_rac1/lv_swap KEYBOARDTYPE = pc KEYTABLE = us rd_NO_DM rhgb quiet
  18. Initrd/initramfs-2.6.32-358.el6.x86_64.img
  19.  

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.