Modify the startup Item of Ubuntu9.10

Source: Internet
Author: User
Ubuntu has been guided by Grub2 since 9.10. We may encounter the following two different problems. to prevent windows startup from being damaged, if grub is not loaded to mbr, grub4dos can no longer be smoothly guided to grub2 by simply installing grub4dos to drive C. A menu needs to be created under drive C. the lst file whose content is timeout3default0titlegrub2find -- set-r.

Ubuntu has been guided by Grub2 since 9.10. without mentioning the advantages of grub2, we may encounter the following two different problems:

1. to prevent windows startup from being damaged, if grub is not loaded to mbr, grub4dos can no longer be smoothly guided to grub2 by simply installing grub4dos to drive C. A menu needs to be created under drive C. lst file with the following content:
Timeout 3
Default 0

Title grub2
Find -- set-root/grub/core. img
Kernel/grub/core. img

2. You cannot modify the startup configuration by modifying the menu. lst file in ubuntu. grub2 mainly contains
1./boot/grub. cfg file
2./etc/grub. d/folder
3./etc/default/grub File
Grub. cfg is the configuration option, similar to menu. lst, but we cannot modify the configuration directly by modifying this file. Instead, we need to modify the configuration in Items 2 and 3 and execute the update-grub command to enable/boot/grub. cfg automatic update

Take the simplest and most commonly used default sequence for enabling startup items and select the waiting time as an example.
1. sudo gedit/etc/default/grub
2. Change the numbers after the GRUB_DEFAULT = and GRUB_TIMEOUT = strings to what we want and save and close them.
3. sudo update-grub

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.