For some reason, after installing CentOS 7, 2 more items appeared in the boot menu?
And one of them just loads the system, and the other is generally unclear what he is doing.
How to remove unnecessary items?
For some reason, after installing CentOS 7, 2 more items appeared in the boot menu?
And one of them just loads the system, and the other is generally unclear what he is doing.
How to remove unnecessary items?
judging by the headers, the third item is for booting in rescue mode .
The first and second points differ, most likely, only by what version of the linux program will be loaded (1).
although there may be other differences. You can explore them by going to edit the selected item by clicking (usually) e (see the text of the tooltip at the bottom of the screen).
(1) packages containing different versions of the linux program are called in the centos distribution of the gnu / linux operating system, most likely like this: kernel-номер_версии . You can see the list of installed packages, for example, as follows (an example of output is also shown):
$ rpm -qa | grep '^kernel-[0-9]' kernel-2.6.32-358.2.1.el6.x86_64 kernel-2.6.32-358.6.2.el6.x86_64 You can remove unused packages:
$ sudo yum remove название_пакета if the package with the version of the linux program that is mentioned in the first line in the screenshot you give is not in the system, then (if there are no other systems installed on the computer), this will probably be corrected after updating the grub program configuration. According to this answer , for this you need to run:
$ sudo new-kernel-pkg $ rpm -qa | grep '^kernel-[0-9]' $ rpm -qa | grep '^kernel-[0-9]' issues kernel-3.10.0-327.el7.x86_64 kernel-3.10.0-327.18.2.el7.x86_64 I can not figure out how to remove through new-kernel-pkg new-kernel-pkg --remove kernel-3.10.0-327.18.2.el7.x86_64 does not produce anything - yutsurasudo yum remove имя_пакета (the command is given in the response). - aleksandr barakinkernel package. because you are invited to upgrade it. update, reboot, check that the newer version of the linux program is loading normally, and remove the older version of the package. - aleksandr barakinSource: https://ru.stackoverflow.com/questions/536257/
All Articles