Clear unnecessary linux boot and linux boot
Clear unnecessary linux boot
Since I updated the system, the new and old boot systems (grub and Grub2) in Grub boot mode have two boot items for normal start and recovery respectively, as shown in: Baidu could not find relevant or similar tutorials, so he had to study them in the middle of the night. Now he has prepared and noted down his notes.
In this case, select the new boot item (the old boot cannot log on to the system), enter the system, open the terminal interface, and useCdCommand to switch to the/boot partition, and then use the ls command to view the partition. The grub and grub2 folders should be displayed at this time, focusing on the grub2 folder,CdCommand to switch to the/boot/grub2/directory, use ls to view the contents in the directory, use the VIM editor to find and open gurb. conf file, find the redundant pilot code line to delete and save it before restarting.
The extra code can be referenced from the options at startup. After restart, the new version of normal start and recovery modes will be left, grub. every menuentry In the conf file is a boot item, so find the boot item you want to delete,Delete the entire menuentry {}..
Free to provide the latest Linux technology tutorial books, for open source technology enthusiasts to do more and better: http://www.linuxprobe.com/