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?

enter image description here

  • these are not superfluous elements, choose First in the list - user33274
  • The first one on the list just reboots the PC, the second and third download centos - yutsura
  • just at first there were two, recently it became three. I think this is strange - yutsura
  • Strange I have an OS loaded from the first item - user33274
  • Yes, I did it too, I don’t know whether it was due to the update, or because of what, but I had another item and it just reboots the PC and works by default. Therefore, if the second item is not chosen on time, then a reboot will occur. And if you just leave the computer turned on, it will reboot indefinitely. - yutsura

1 answer 1

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 - yutsura
  • This is the name of the package. You can remove a package, for example, with sudo yum remove имя_пакета (the command is given in the response). - aleksandr barakin
  • it works) but now when I make an update I am offered to download the same package, can I ignore it during an update? - yutsura
  • @yutsura, you can, ignore. joke. You have removed a newer version of the kernel 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 barakin
  • so this new version just just rebooted the system - yutsura