Delete redundant linux system boot items
Since I upgraded the system, in the grub boot mode, the new and old versions (Grub and Grub2) of the boot system have two boot items each for normal startup and recovery mode, as shown in the following figure: Baidu cannot find it When I came to a related or similar tutorial, I had to get up in the middle of the night to study it. Now I have done it and written down notes.
At this time, we select the new version of the boot item (the old version of the boot cannot log into the system), open the terminal interface after entering the system, use the cd command to switch to the /boot partition, and then use the ls command to view the partition , there should be two folders grub and grub2 displayed at this time. The focus is on the grub2 folder. Use the cd command to switch to the /boot/grub2/ directory, and then use ls to view the contents of the directory. , use the VIM editor to find and open the gurb.conf file, find the redundant boot code lines, delete them and save them before restarting.
The redundant code can be referenced from the startup options. After restarting, the normal startup and recovery mode of the new version will be left. Each menuentry in the grub.conf file is a boot item, so find the boot item you want to delete, Delete the entire menuentry{} just.
The address of this article: https://www.linuxprobe.com/clear-linux-grubitea.htmlAuthor: annihilation, auditor: Zhang Hongyu
Original address of this article: https://www.linuxprobe.com/clear-linux-grubiteam.htmlEditor: Clearing github, auditor: None
Recommend some articles related to this article for you:
- fwupd 1.8.7 adds support for new devices, as well as various improvements
- The end of the 30th course training .
- 5 ways to change the background of GRUB2
- "Thinkphp5.0 Controller from Beginner to Master" e-book free download
- How to upgrade from Fedora 37 workstation to Fedora 38 ( GUI and CLI)
- "Tiantian Kuaibao" was suddenly removed from the shelves due to pornographic content? Official response
- Black Lab Software Christmas gift: Linspire 7.0 free download
- Linux: Quickly check IP address and modify IP address
- Jack Ma: This era requires more entrepreneurial spirit
- What is MongoDB and how it can meet your application needs
The above is the detailed content of Delete redundant linux system boot items. For more information, please follow other related articles on the PHP Chinese website!

The main differences in architecture between Linux and Windows include: 1) Design philosophy and kernel structure: Linux uses a modular kernel, Windows uses a single kernel; 2) File system: Linux supports multiple file systems, Windows mainly uses NTFS; 3) Security: Linux is known for its permission management and open source features. Windows has a unique security mechanism but lags in repair; 4) Usage experience: Linux command line operation is more efficient, and Windows graphical interface is more intuitive.

Linux and Windows systems face different security threats. Common Linux threats include Rootkit, DDoS attacks, exploits, and permission escalation; common Windows threats include malware, ransomware, phishing attacks, and zero-day attacks.

The main difference between Linux and Windows in process management lies in the implementation and concept of tools and APIs. Linux is known for its flexibility and power, relying on kernel and command line tools; while Windows is known for its user-friendliness and integration, mainly managing processes through graphical interfaces and system services.

Linuxisidealforcustomization,development,andservermanagement,whileWindowsexcelsineaseofuse,softwarecompatibility,andgaming.Linuxoffershighconfigurabilityfordevelopersandserversetups,whereasWindowsprovidesauser-friendlyinterfaceandbroadsoftwaresupport

The main difference between Linux and Windows in user account management is the permission model and management tools. Linux uses Unix-based permissions models and command-line tools (such as useradd, usermod, userdel), while Windows uses its own security model and graphical user interface (GUI) management tools.

Linux'scommandlinecanbemoresecurethanWindowsifmanagedcorrectly,butrequiresmoreuserknowledge.1)Linux'sopen-sourcenatureallowsforquicksecurityupdates.2)Misconfigurationcanleadtovulnerabilities.Windows'commandlineismorecontrolledbutlesscustomizable,with

This guide explains how to automatically mount a USB drive on boot in Linux, saving you time and effort. Step 1: Identify Your USB Drive Use the lsblk command to list all block devices. Your USB drive will likely be labeled /dev/sdb1, /dev/sdc1, etc

Cross-platform applications have revolutionized software development, enabling seamless functionality across operating systems like Linux, Windows, and macOS. This eliminates the need to switch apps based on your device, offering consistent experien


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
