Problem about selecting GRUB startup Item in ubuntu 12.04, 12.04 grub

Source: Internet
Author: User

Problem about selecting GRUB startup Item in ubuntu 12.04, 12.04 grub


Ubuntu12.04 Grub startup Item 1. If an exception occurs when the host is switched on or off, You need to select the boot item on the keyboard, for example:
In this case, you need to press Enter on the keyboard to Enter the system. This operation is annoying ..
2. Solutions to this problem:
(A) The valid method is to modify the/etc/grub. d/00_head file:
Cat <EOF
If [\ $ {recordfail} = 1]; then
Set timeout =-1
Else
Set timeout =$ {GRUB_TIMEOUT}
Fi
EOF


Set timeout =-1 to the desired number of seconds.


(B) Another way is to put the/etc/grub. d/00_head file,
Set timeout =-1
Set timeout =$ {GRUB_RECORDFAIL_TIMEOUT: -- 1}
Set the following in the/etc/default/grub file:
GRUB_RECORDFAIL_TIMEOUT = 10
Save and execute update-grub.

However, a single modification to the/boot/grub. cfg file will invalidate the modification by running the update-grub command to regenerate the file.


See: http://forum.ubuntu.org.cn/viewtopic.php? F = 139 & t = 395230 & p = 3099520 # p3099520
After Ubuntu 1204 is installed, use Gnu Grub 2 to boot the system. The Win7 option is unavailable in the Startup menu.

The Win8 option is because the same boot program Bootmgr is used for Win7/8. If both Win7/8 are installed, the System Selection interface will appear when you select this option.

New users help install ubuntu to learn about linux. After selecting the NeoGrub Bootloader startup item, the grubdos interface is displayed.

We use EasyBCD. They are all the same. Just go to install ubuntu and check that you do not need to partition and delete ubuntu directly.
In fact, it is quite convenient to install it with a USB flash drive.
 

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.