Eliminate redundant boot options for Linux systems

Source: Internet
Author: User

Because I put the system to upgrade (update), in the Grub boot mode new and old version (grub and GRUB2) boot system for normal boot and enter the recovery mode of each of the 2 boot items, such as: Baidu can not find relevant or similar tutorials, had to study in the middle of the night, now done and write down notes.

At this point we select the new version of the boot entry (the old version of boot is unable to log on to the system), after entering the system to open the terminal interface, using the CD command to switch to the/boot partition, and then use the ls command to view the partition, There should be two folders showing grub and GRUB2, focusing on grub2 this folder, theCD command to switch to/boot/grub2/directory, and then use LS to view the contents of the directory, Use the Vim editor to locate and open the Gurb.conf file and find the extra boot code line to delete and save before restarting.

The extra code can be referenced from the start-up options, after the restart of the new version of the normal startup and recovery mode, grub.conf file Each menuentry is a boot entry, so find the boot entry you want to Delete, remove the entire menuentry{} can be.

Original address: Http://t.cn/R57ALnG

Eliminate redundant boot options for Linux systems

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.