Ask Your Question

How to remove different fedora in bootloader?

asked 2018-12-29 23:47:15 -0500

sulthan90 gravatar image

I am using Fedora 29. After the recent update, the laptop doesn't boot up and stuck in emergency mode. However, in the bootloader, it shows 4 different fedora option. botloader image

As seen in the pic the Fedora (4.19.10.... ) and Fedora (0-rescue-....) stuck in emergency mode and the other two options starts the fedora properly. Help me to remove the first option and stay with the Fedora 4.19.6-300 as default bootup.

edit retag flag offensive close merge delete



Before removing the latest kernel, you should make sure it's causing the problem. Next time you boot, when you get to that menu, press the down arrow once, then press Enter. This will boot you into the previous kernel instead of the latest. If that works, you can worry about removing the offending kernel.

sideburns gravatar imagesideburns ( 2018-12-30 13:20:30 -0500 )edit

The questioner knows the process and asks for an answer to remove the problem kernel.

simmon gravatar imagesimmon ( 2018-12-30 20:20:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-30 01:12:33 -0500

updated 2018-12-30 20:18:04 -0500

Kernel bugs can happen in system operation. Kernel stability is important when used without a monitor. Therefore, in order to ensure stable system operation, the face of kernel problems during each boot process is very important to system administrators. Stopping a commercial server causes a lot of problems because it takes a lot of time to fix a system hang due to kernel problems during the reboot process.

Please remove the error kernel part and refer to the attached file below to specify the fixed kernel. modify the /boot/grub2/grub.cfg file and fix the specific kernel by referring to the appendix below.

 [root@nalkal fedora]# ls
 [root@nalkal fedora]# pwd

 [root@nalkal grub2]# pwd
 [root@nalkal grub2]# ls  fonts  grub.cfg  grubenv  i386-pc  themes

[UEFI -> /boot/efi/EFI/fedora ] recomment @sulthan90

### BEGIN /etc/grub.d/10_linux ###

**Please remove the problematic kernel part.**

***menuentry 'Fedora (4.19.10-300.fc29.x86_64) 29 (Workstaion Edition)' --class fedora --class gnu-linux --class gnu --class }
menuentry 'Fedora (4.19.6-300.fc29.x86_64) 29 (Workstaion Edition)' --class fedora --class gnu-linux --class gnu --class }
menuentry 'Fedora (0-rescue-6e9b16bbfccc45fe9a0d78c24b9bb694) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-6e9b16bbfccc45fe9a0d78c24b9bb694-advanced-dc2ee94c-8133-47cb-8bba-2fe1ebe3ac04' {

Please refer to my article
edit flag offensive delete link more


grub.cfg file not found in grub2 folder

sulthan90 gravatar imagesulthan90 ( 2018-12-30 03:10:07 -0500 )edit

gurb.cfg file locate at /boot/grub2/grub.cfg.....and contiune to waiting your result...!!have a nice day! Are you using an SSD in a UEFI environment?

simmon gravatar imagesimmon ( 2018-12-30 03:12:53 -0500 )edit

I find the grub.cfg located in efi/EFI/fedora

Is that file i need to edit?

sulthan90 gravatar imagesulthan90 ( 2018-12-30 03:27:56 -0500 )edit

yes....ssd disk....there is.....did you fix it? use vi grub.cfg...just use line remove "key dd 1line remove..continue input dd...but carefully run and :wq! "

simmon gravatar imagesimmon ( 2018-12-30 03:28:58 -0500 )edit

Shall I remove the section "menuentry 'Fedora (4.19.10-300....... from

and just retain" menuentry 'Fedora (4.19.6-300. ### BEGIN /etc/grub.d/10_linux ### ?

sulthan90 gravatar imagesulthan90 ( 2018-12-30 03:38:13 -0500 )edit

Question Tools

1 follower


Asked: 2018-12-29 23:47:15 -0500

Seen: 103 times

Last updated: Dec 30 '18