After upgrade to F30, uname shows kernel for F29; rebuilt Grub2

I had also the same problem and following the instructions from the link you provided (grub-2 configuration on uefi system) fixed everything. Thanks!
The problem in more details:
My mbr disk containing F29 was on a 10 year old laptop then moved it to a new laptop that allowed only uefi boot. So, i converted disk from mbr to uefi using a liveusb, created manually an efi partition and tried to update grub configuration. Disk with F29 finally booted successfully on the new laptop then i upgraded to F30, but kernel remained F29.

Hello @charnik! Welcome to the community! Please do take a few minutes to go over the introductory posts in #start-here when you have the time. They contain lots of useful information.

I’m glad you were able to resolve your problem. I’ve had my share of problems with grub2 (with and without UEFI) – I’d say nothing very major though – and nothing I couldn’t resolve with repairing grub confuguration or reinstalling. I think it’s quite easy when you have some basic understanding how it all fits together )

Yes we are in summer session so classes are not full. This affects 2 out of 31 computers.

I won’t be on that site until Wednesday. I can run commands remotely but it appears I’ll have to do everything locally on the machine.

When working with bootloader, It’s definitely much better to be on-site, or you can easily end up with computer stuck in boot menu and not accessible from the network.

If you’re ok with doing some more file listings for 1st possible solution, then I’ll tell which can be useful (without changing anything).

If you prefer to not to waste time and go with option (2) - then ping me on Wednesday. Also I can try to provide some basic background info about what needs to be done and a bit of why’s )

Can I do this from SSH? Like mounting 1 of the sda’s? Then I can try that today.

Yes, you can.

I have to say that I’m not sure if it will help us, as I said earlier we can go straight to trying to make it work (when you’re on-site). Still it’s interesting to try to understand some more details, at least for me.

I would ask you to post output of

sudo tree -Das /boot/efi

to look at file sizes / modification times. I can compare them to mine to see if your grub files were upgraded or not.

Also it may be useful/informative to see the same from sda1 as you did here:

but with additional info (timestamps / sizes):

sudo tree -Das /mnt/sda1/EFI/EFI
sudo tree -Das /mnt/sda1/EFI/fedora
sudo cat /mnt/sda1/EFI/fedora/grub.cfg

By the way, as far as I know you can use fpaste for it:

Here you go:

tree -Das /boot/efi|fpaste
Uploading (15.3KiB)...
https://paste.fedoraproject.org/paste/ivyAefQEVbgkz4XEzYPqXQ

tree -Das /mnt/sda1/EFI/EFI|fpaste
Uploading (0.2KiB)...
https://paste.fedoraproject.org/paste/cyhRGO~Yc9Ysq~u-pKwAkQ

tree -Das /mnt/sda1/EFI/fedora|fpaste
Uploading (0.2KiB)...
https://paste.fedoraproject.org/paste/oh9XEr2dRte58UuoCUV3Lw

cat /mnt/sda1/EFI/fedora/grub.cfg|fpaste
Uploading (7.5KiB)...
https://paste.fedoraproject.org/paste/A0wGGmLNX1XATS6WxcCsCw

Probably best to use ---printonly and paste the output here if you can as the post suggests, @RobbieTheK . The links there will not be valid for more than a few days.

tree -Das /boot/efi |fpaste  --printonly
/boot/efi
├── [       4096 May 30 15:20]  EFI
│   ├── [       4096 Nov  5  2017]  BOOT
│   │   ├── [     970064 Oct  4  2017]  BOOTIA32.EFI
│   │   ├── [    1293304 Oct  4  2017]  BOOTX64.EFI
│   │   ├── [      85136 Oct  4  2017]  fallback.efi
│   │   ├── [      69632 Oct  4  2017]  fbia32.efi
│   │   └── [      85136 Oct  4  2017]  fbx64.efi
│   ├── [       4096 Jan  9  2018]  fedora
│   │   ├── [        112 Oct  4  2017]  BOOT.CSV
│   │   ├── [        112 Oct  4  2017]  BOOTIA32.CSV
│   │   ├── [        110 Oct  4  2017]  BOOTX64.CSV
│   │   ├── [       4096 Jan  9  2018]  fonts
│   │   │   └── [    2560080 Oct 24  2017]  unicode.pf2
│   │   ├── [       4096 Sep 20  2017]  fw
│   │   ├── [      64000 Sep 20  2017]  fwupia32.efi
│   │   ├── [      76392 Sep 20  2017]  fwupx64.efi
│   │   ├── [     737608 Oct 24  2017]  gcdia32.efi
│   │   ├── [    1030472 Oct 24  2017]  gcdx64.efi
│   │   ├── [       5472 Jan  9  2018]  grub.cfg
│   │   ├── [       1024 May 31 13:57]  grubenv
│   │   ├── [     737608 Oct 24  2017]  grubia32.efi
│   │   ├── [    1030472 Oct 24  2017]  grubx64.efi
│   │   ├── [     929864 Oct  4  2017]  mmia32.efi
│   │   ├── [    1163208 Oct  4  2017]  mmx64.efi
│   │   ├── [    1163208 Oct  4  2017]  MokManager.efi
│   │   ├── [    1293304 Oct  4  2017]  shim.efi
│   │   ├── [     970064 Oct  4  2017]  shimia32.efi
│   │   ├── [     970064 Oct  4  2017]  shimia32-fedora.efi
│   │   ├── [    1293304 Oct  4  2017]  shimx64.efi
│   │   └── [    1206896 Oct  4  2017]  shimx64-fedora.efi
│   ├── [       4096 May 30 15:20]  refind
│   │   ├── [        140 May 30 15:20]  BOOT.CSV
│   │   ├── [       4096 May 30 15:20]  drivers_x64
│   │   │   └── [      21184 May 30 15:20]  ext4_x64.efi
│   │   ├── [       8192 May 30 15:20]  icons
│   │   │   ├── [       1392 May 30 15:20]  arrow_left.png
│   │   │   ├── [       1346 May 30 15:20]  arrow_right.png
│   │   │   ├── [       9077 May 30 15:20]  boot_linux.png
│   │   │   ├── [       3766 May 30 15:20]  boot_win.png
│   │   │   ├── [       2479 May 30 15:20]  func_about.png
│   │   │   ├── [       1761 May 30 15:20]  func_csr_rotate.png
│   │   │   ├── [       2208 May 30 15:20]  func_exit.png
│   │   │   ├── [       3772 May 30 15:20]  func_firmware.png
│   │   │   ├── [       7161 May 30 15:20]  func_hidden.png
│   │   │   ├── [       2602 May 30 15:20]  func_reset.png
│   │   │   ├── [       2760 May 30 15:20]  func_shutdown.png
│   │   │   ├── [       4096 May 30 15:20]  licenses
│   │   │   │   ├── [      22240 May 30 15:20]  cc-3.0.txt
│   │   │   │   ├── [      20133 May 30 15:20]  cc-by-sa-4.0.txt
│   │   │   │   ├── [      18092 May 30 15:20]  gpl-2.0.txt
│   │   │   │   └── [       7651 May 30 15:20]  lgpl-3.0.txt
│   │   │   ├── [       4846 May 30 15:20]  mouse.png
│   │   │   ├── [       5555 May 30 15:20]  os_arch.png
│   │   │   ├── [       6192 May 30 15:20]  os_artful.png
│   │   │   ├── [       6958 May 30 15:20]  os_bionic.png
│   │   │   ├── [      15008 May 30 15:20]  os_centos.png
│   │   │   ├── [      13776 May 30 15:20]  os_chakra.png
│   │   │   ├── [      10391 May 30 15:20]  os_chrome.png
│   │   │   ├── [       7229 May 30 15:20]  os_clover.png
│   │   │   ├── [       8480 May 30 15:20]  os_crunchbang.png
│   │   │   ├── [       9377 May 30 15:20]  os_debian.png
│   │   │   ├── [       5072 May 30 15:20]  os_devuan.png
│   │   │   ├── [      16482 May 30 15:20]  os_elementary.png
│   │   │   ├── [       8763 May 30 15:20]  os_fedora.png
│   │   │   ├── [       5980 May 30 15:20]  os_freebsd.png
│   │   │   ├── [      11658 May 30 15:20]  os_frugalware.png
│   │   │   ├── [       7549 May 30 15:20]  os_gentoo.png
│   │   │   ├── [       7668 May 30 15:20]  os_gummiboot.png
│   │   │   ├── [       5830 May 30 15:20]  os_haiku.png
│   │   │   ├── [      14399 May 30 15:20]  os_hwtest.png
│   │   │   ├── [      12873 May 30 15:20]  os_kubuntu.png
│   │   │   ├── [       5620 May 30 15:20]  os_legacy.png
│   │   │   ├── [       6246 May 30 15:20]  os_linuxmint.png
│   │   │   ├── [      10097 May 30 15:20]  os_linux.png
│   │   │   ├── [      11232 May 30 15:20]  os_lubuntu.png
│   │   │   ├── [      10574 May 30 15:20]  os_mac.png
│   │   │   ├── [       7783 May 30 15:20]  os_mageia.png
│   │   │   ├── [      12854 May 30 15:20]  os_mandriva.png
│   │   │   ├── [      12379 May 30 15:20]  os_netbsd.png
│   │   │   ├── [      14836 May 30 15:20]  os_network.png
│   │   │   ├── [       6572 May 30 15:20]  os_opensuse.png
│   │   │   ├── [      10041 May 30 15:20]  os_redhat.png
│   │   │   ├── [       7231 May 30 15:20]  os_refind.png
│   │   │   ├── [       8484 May 30 15:20]  os_refit.png
│   │   │   ├── [       9202 May 30 15:20]  os_slackware.png
│   │   │   ├── [       6572 May 30 15:20]  os_suse.png
│   │   │   ├── [       7668 May 30 15:20]  os_systemd.png
│   │   │   ├── [      14608 May 30 15:20]  os_trusty.png
│   │   │   ├── [      12270 May 30 15:20]  os_ubuntu.png
│   │   │   ├── [      11686 May 30 15:20]  os_unknown.png
│   │   │   ├── [       9754 May 30 15:20]  os_void.png
│   │   │   ├── [       3872 May 30 15:20]  os_win8.png
│   │   │   ├── [       6565 May 30 15:20]  os_win.png
│   │   │   ├── [       9025 May 30 15:20]  os_xenial.png
│   │   │   ├── [      10547 May 30 15:20]  os_xubuntu.png
│   │   │   ├── [       5371 May 30 15:20]  os_zesty.png
│   │   │   ├── [       5937 May 30 15:20]  README
│   │   │   ├── [       4507 May 30 15:20]  tool_apple_rescue.png
│   │   │   ├── [       5177 May 30 15:20]  tool_fwupdate.png
│   │   │   ├── [       3018 May 30 15:20]  tool_memtest.png
│   │   │   ├── [       1974 May 30 15:20]  tool_mok_tool.png
│   │   │   ├── [       3785 May 30 15:20]  tool_netboot.png
│   │   │   ├── [       3446 May 30 15:20]  tool_part.png
│   │   │   ├── [      13817 May 30 15:20]  tool_rescue.png
│   │   │   ├── [       2010 May 30 15:20]  tool_shell.png
│   │   │   ├── [       4313 May 30 15:20]  tool_windows_rescue.png
│   │   │   ├── [        213 May 30 15:20]  transparent.png
│   │   │   ├── [       1344 May 30 15:20]  vol_external.png
│   │   │   ├── [       1418 May 30 15:20]  vol_internal.png
│   │   │   ├── [       1892 May 30 15:20]  vol_net.png
│   │   │   └── [       2423 May 30 15:20]  vol_optical.png
│   │   ├── [       4096 May 30 15:20]  keys
│   │   │   ├── [        767 May 30 15:20]  altlinux.cer
│   │   │   ├── [       1080 May 30 15:20]  canonical-uefi-ca.der
│   │   │   ├── [       1500 May 30 15:20]  centos.cer
│   │   │   ├── [        876 May 30 15:20]  fedora-ca.cer
│   │   │   ├── [       1516 May 30 15:20]  microsoft-kekca-public.der
│   │   │   ├── [       1499 May 30 15:20]  microsoft-pca-public.der
│   │   │   ├── [       1556 May 30 15:20]  microsoft-uefica-public.der
│   │   │   ├── [       1656 May 30 15:20]  openSUSE-UEFI-CA-Certificate-4096.cer
│   │   │   ├── [       1144 May 30 15:20]  openSUSE-UEFI-CA-Certificate.cer
│   │   │   ├── [        831 May 30 15:20]  refind.cer
│   │   │   └── [       1257 May 30 15:20]  SLES-UEFI-CA-Certificate.cer
│   │   ├── [      31506 May 30 15:20]  refind.conf
│   │   └── [     207168 May 30 15:20]  refind_x64.efi
│   └── [       4096 May 30 15:20]  tools
├── [       4096 Jun  1 18:19]  f1ab98d6b41846d4bf74abdf674203d0
│   ├── [       4096 Jun  1 18:20]  0-rescue
│   │   ├── [   73868434 Jun  1 18:20]  initrd
│   │   └── [    8991432 Jun  1 18:19]  linux
│   ├── [       4096 Jan  9  2018]  4.14.11-300.fc27.x86_64
│   └── [       4096 Jun  1 18:20]  5.1.5-300.fc30.x86_64
│       ├── [   24776277 Jun  1 18:19]  initrd
│       └── [    8991432 Jun  1 18:20]  linux
├── [       4096 Jun  1 18:20]  loader
│   └── [       4096 Jun  1 18:20]  entries
│       └── [        408 Jun  1 18:20]  f1ab98d6b41846d4bf74abdf674203d0-5.1.5-300.fc30.x86_64.conf
├── [         34 Aug  3  2017]  mach_kernel
└── [       4096 Nov  5  2017]  System
    └── [       4096 Nov  5  2017]  Library
        └── [       4096 Nov  5  2017]  CoreServices
            └── [        384 Aug  3  2017]  SystemVersion.plist

20 directories, 122 files

tree -Das /mnt/sda1/EFI/EFI|fpaste --printonly
/mnt/sda1/EFI/EFI
├── [       4096 Jan 15  2018]  BOOT
│   ├── [    1293304 Oct  4  2017]  BOOTX64.EFI
│   ├── [      85136 Oct  4  2017]  fallback.efi
│   └── [      85136 Oct  4  2017]  fbx64.efi
└── [       4096 Jan 15  2018]  fedora
    ├── [        112 Oct  4  2017]  BOOT.CSV
    ├── [        110 Oct  4  2017]  BOOTX64.CSV
    ├── [       4096 Jan 15  2018]  fonts
    │   └── [    2560080 Oct 24  2017]  unicode.pf2
    ├── [       2510 Jan 15  2018]  grub.cfg
    ├── [     737608 Oct 24  2017]  grubia32.efi
    ├── [    1030472 Oct 24  2017]  grubx64.efi
    ├── [    1163208 Oct  4  2017]  mmx64.efi
    ├── [    1163208 Oct  4  2017]  MokManager.efi
    ├── [    1293304 Oct  4  2017]  shim.efi
    ├── [    1293304 Oct  4  2017]  shimx64.efi
    └── [    1206896 Oct  4  2017]  shimx64-fedora.efi

3 directories, 14 files

tree -Das /mnt/sda1/EFI/fedora |fpaste --printonly
/mnt/sda1/EFI/fedora
├── [        110 Oct  2  2018]  BOOTX64.CSV
├── [       4096 Oct  4  2018]  fonts
├── [       7249 Jan  2 11:28]  grub.cfg
├── [       1024 May 29 15:28]  grubenv
├── [    1098056 Oct  4  2018]  grubia32.efi
├── [    1744712 Oct  4  2018]  grubx64.efi
├── [   24770506 Jan  2 09:53]  initramfs-4.19.12-301.fc29.x86_64.img
├── [    1159560 Oct  2  2018]  mmx64.efi
├── [    1210776 Oct  2  2018]  shim.efi
├── [    1210776 Oct  2  2018]  shimx64.efi
├── [    1204496 Oct  2  2018]  shimx64-fedora.efi
└── [    8671432 Jan  2 09:52]  vmlinuz-fedora.efi

1 directory, 11 files

cat /mnt/sda1/EFI/fedora/grub.cfg|fpaste --printonly
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_menu_auto_hide ###
if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
  set last_boot_ok=1
else
  set last_boot_ok=0
fi

# Reset boot_indeterminate after a successful boot
if [ "${boot_success}" = "1" ] ; then
  set boot_indeterminate=0
# Avoid boot_indeterminate causing the menu to be hidden more then once
elif [ "${boot_indeterminate}" = "1" ]; then
  set boot_indeterminate=2
fi
set boot_success=0
save_env boot_success boot_indeterminate

if [ x$feature_timeout_style = xy ] ; then
  if [ "${menu_show_once}" ]; then
    unset menu_show_once
    save_env menu_show_once
    set timeout_style=menu
    set timeout=60
  elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = "1" ]; then
    set orig_timeout_style=${timeout_style}
    set orig_timeout=${timeout}
    if [ "${fastboot}" = "1" ]; then
      # timeout_style=menu + timeout=0 avoids the countdown code keypress check
      set timeout_style=menu
      set timeout=0
    else
      set timeout_style=hidden
      set timeout=1
    fi
  fi
fi
### END /etc/grub.d/01_menu_auto_hide ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.19.12-301.fc29.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.19.12-301.fc29.x86_64-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod lvm
	insmod ext2
	set root='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'  664c3c0d-5c50-4817-946e-adca82e47eb4
	else
	  search --no-floppy --fs-uuid --set=root 664c3c0d-5c50-4817-946e-adca82e47eb4
	fi
	linux	/boot/vmlinuz-4.19.12-301.fc29.x86_64 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet 
	initrd	/boot/initramfs-4.19.12-301.fc29.x86_64.img
}
menuentry 'Fedora (4.19.10-300.fc29.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.19.10-300.fc29.x86_64-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod lvm
	insmod ext2
	set root='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'  664c3c0d-5c50-4817-946e-adca82e47eb4
	else
	  search --no-floppy --fs-uuid --set=root 664c3c0d-5c50-4817-946e-adca82e47eb4
	fi
	linux	/boot/vmlinuz-4.19.10-300.fc29.x86_64 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet 
	initrd	/boot/initramfs-4.19.10-300.fc29.x86_64.img
}
menuentry 'Fedora (0-rescue-f1ab98d6b41846d4bf74abdf674203d0) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-f1ab98d6b41846d4bf74abdf674203d0-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	insmod gzio
	insmod part_gpt
	insmod lvm
	insmod ext2
	set root='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/HXUIBG-pPSc-vbGa-2pQ8-meYd-TOPD-A2YFDQ/ztrNsZ-2NyP-tJxj-fXVA-Fiw5-Sq2z-Iq107z'  664c3c0d-5c50-4817-946e-adca82e47eb4
	else
	  search --no-floppy --fs-uuid --set=root 664c3c0d-5c50-4817-946e-adca82e47eb4
	fi
	linux	/boot/vmlinuz-0-rescue-f1ab98d6b41846d4bf74abdf674203d0 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet 
	initrd	/boot/initramfs-0-rescue-f1ab98d6b41846d4bf74abdf674203d0.img
}

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

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-3C49-68B0' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  3C49-68B0
	else
	  search --no-floppy --fs-uuid --set=root 3C49-68B0
	fi
	chainloader /EFI/Microsoft/Boot/BootMgFW.efi
}
# Other OS found, undo autohiding of menu unless menu_auto_hide=2
if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
  set timeout_style=${orig_timeout_style}
  set timeout=${orig_timeout}
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
1 Like

Try this too, see what you get:

fpaste --sysinfo --printonly

Here you go:

     fpaste --sysinfo --printonly
    === fpaste 0.3.9.2 System Information (fpaste --sysinfo) ===
    * OS Release (lsb_release -ds):
         "Fedora release 30 (Thirty)"
         
    * Kernel (uname -r ; cat /proc/cmdline):
         4.19.12-301.fc29.x86_64
         BOOT_IMAGE=/boot/vmlinuz-4.19.12-301.fc29.x86_64 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet
         
    * Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon)' ):
         gnome-session-b
         
    * Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
         gnome-classic, gnome, gnome-xorg
         
    * SELinux Status (sestatus):
         SELinux status:                 disabled
         
    * SELinux Errors (without results: "selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn"):
         N/A

    * CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
             sed -re 's/^ +//' ):
         8  Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
         
    * 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
         Yes
         
    * Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
         Yes
         
    * Load average (uptime):
          16:48:16 up 3 days, 23:42,  1 user,  load average: 0.00, 0.00, 0.00
         
    * Memory usage (free -m):
                       total        used        free      shared  buff/cache   available
         Mem:          15888        1189       12190         149        2509       14222
         Swap:         16383           0       16383
         
    * Top 5 CPU hogs (ps axuScnh | awk '$2!=27655' | sort -rnk3 | head -5):
              985  1099  0.3  0.2 551476 36536 ?        Sl   May31  20:42 mongod
              997  1061  0.0  0.4 1988388 75204 ?       Ssl  May31   0:02 polkitd
              995   999  0.0  0.3 137784 54320 ?        S    May31   0:00 chronyd
              991  1353  0.0  0.0 450248 11796 ?        Ssl  May31   0:00 colord
              975  1584  0.0  0.0   8368  2012 ?        S    May31   0:00 dnsmasq
         
    * Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
               42  1515  0.0  0.8 3103996 137020 tty1   Sl+  May31   3:37 gnome-shell
              997  1061  0.0  0.4 1988388 75204 ?       Ssl  May31   0:02 polkitd
                0   623  0.0  0.4 131240 70684 ?        Ss   May31   0:04 systemd-journal
              995   999  0.0  0.3 137784 54320 ?        S    May31   0:00 chronyd
             6105 22633  0.0  0.3  67088 54796 ?        S    12:07   0:00 sshd
         
    * Disk space usage (df -hT):
         Filesystem                Type      Size  Used Avail Use% Mounted on
         devtmpfs                  devtmpfs  7.8G     0  7.8G   0% /dev
         tmpfs                     tmpfs     7.8G     0  7.8G   0% /dev/shm
         tmpfs                     tmpfs     7.8G  1.8M  7.8G   1% /run
         tmpfs                     tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
         /dev/mapper/lvm2-root     ext4       89G   17G   68G  20% /
         tmpfs                     tmpfs     7.8G   56K  7.8G   1% /tmp
         /dev/sda6                 ext4      976M  152M  758M  17% /boot
         /dev/mapper/lvm2-usrlocal ext4       74G   19G   51G  27% /usr/local
         /dev/mapper/lvm2-home     ext4       25G  1.7G   22G   7% /home
         /dev/sda7                 vfat     1022M  130M  893M  13% /boot/efi
         tmpfs                     tmpfs     1.6G  1.2M  1.6G   1% /run/user/42
         tmpfs                     tmpfs     1.6G     0  1.6G   0% /run/user/6105
         erdos:/home/users         nfs4      745G  287G  458G  39% /u/erdos
         /dev/sda1                 vfat      496M  416M   80M  84% /mnt/sda1
         
    * Block devices (blkid):
         /dev/mapper/lvm2-root: LABEL="lvm-linux-root" UUID="664c3c0d-5c50-4817-946e-adca82e47eb4" TYPE="ext4"
         /dev/sda8: UUID="pOPkXr-LNfc-Xd3H-HGIq-C1vB-bkZS-ZO517i" TYPE="LVM2_member" PARTUUID="b4c66698-9cb0-43e0-909e-8147178463c6"
         /dev/sda6: LABEL="linux-boot" UUID="c7d71ab6-c585-4b73-9f53-ec139989aba3" TYPE="ext4" PARTUUID="2b0533d7-286a-4191-8fb6-4f62c3af3e19"
         /dev/sda7: UUID="4BD6-32AC" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="614009be-acab-46ee-a89a-a82eae70bb4b"
         /dev/mapper/lvm2-swap: LABEL="lvm-linux-swap" UUID="f256e99c-b723-4ae9-bb78-ed0c8f7ea9a8" TYPE="swap"
         /dev/sda1: LABEL="ESP" UUID="3C49-68B0" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="b10e02a2-0931-4a6d-b108-2791a30efe4d"
         /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="73a4595d-5414-4c72-90b1-e3367b7b3623"
         /dev/sda3: LABEL="OS" UUID="B20A70560A701A15" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6bb773dd-ab2a-47f1-b93b-21b3d234c876"
         /dev/sda4: UUID="92DE7AB4DE7A9069" TYPE="ntfs" PARTUUID="99b08184-2ec3-4246-bdf7-eab04fcf2999"
         /dev/sda5: LABEL="WINRETOOLS" UUID="B84A181A4A17D3CA" TYPE="ntfs" PARTUUID="2b3c7ea9-3f6e-4985-8fcc-9b33e041a38a"
         /dev/sda9: LABEL="Windows share" UUID="2C0DEAD9716BB331" TYPE="ntfs" PTTYPE="dos" PARTLABEL="/dev/sda9" PARTUUID="16efd24d-1f04-403e-9fd3-5578a6d23352"
         /dev/sda10: UUID="b3T6Qd-8c8x-Rtrs-TY8J-9Sm0-UbOR-mGXLnD" TYPE="LVM2_member" PARTLABEL="/dev/sda10" PARTUUID="e66107a0-cbf7-4598-8b41-b1716e37022a"
         /dev/mapper/lvm2-home: LABEL="lvm-linux-home" UUID="d799743b-8e62-4df7-ae48-3052545ff8f2" TYPE="ext4"
         /dev/mapper/lvm2-tmp: LABEL="lvm-linux-tmp" UUID="ec635d17-9c7d-42e4-a70e-155f4c251b52" TYPE="ext4"
         /dev/mapper/lvm2-usrlocal: LABEL="lvm-usrlocal" UUID="279e207d-418b-4130-9851-b81a786676f9" TYPE="ext4"
         
    * PCI devices (lspci):
         00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
         00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
         00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
         00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
         00:15.0 Signal processing controller: Intel Corporation 200 Series PCH Serial IO I2C Controller #0
         00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
         00:16.3 Serial controller: Intel Corporation Device a2bd
         00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode]
         00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #6 (rev f0)
         00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
         00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (Q270)
         00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
         00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
         00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
         00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-LM
         01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
         02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
         
    * USB devices (lsusb):
         Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
         Bus 001 Device 003: ID 413c:2113 Dell Computer Corp. Dell KB216 Wired Keyboard
         Bus 001 Device 002: ID 413c:301a Dell Computer Corp. Dell MS116 USB Optical Mouse
         Bus 001 Device 005: ID 8087:0a2b Intel Corp. 
         Bus 001 Device 004: ID 0bda:5760 Realtek Semiconductor Corp. Integrated_Webcam_FHD
         Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
         
    * DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
         fb: switching to inteldrmfb from EFI VGA
         [drm] Replacing VGA console driver
         [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
         [drm] Driver supports precise vblank timestamp query.
         [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
         [drm] failed to retrieve link info, disabling eDP
         [drm] Initialized i915 1.6.0 20180719 for 0000:00:02.0 on minor 0
         fbcon: inteldrmfb (fb0) is primary device
         i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
         
    * Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
         
         
    * GL Support (without results: "glxinfo | grep -E "OpenGL version|OpenGL renderer""):
         N/A

    * Xorg errors (without results: "grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- "):
         N/A

    * Kernel buffer tail (dmesg | tail):
         [316259.366717] wlp2s0: associate with 20:a6:cd:47:24:10 (try 1/3)
         [316259.368038] wlp2s0: RX AssocResp from 20:a6:cd:47:24:10 (capab=0x401 status=0 aid=19)
         [316259.368779] wlp2s0: associated
         [327708.068284] FS-Cache: Loaded
         [327708.093164] FS-Cache: Netfs 'nfs' registered for caching
         [327708.105590] Key type dns_resolver registered
         [327708.132374] NFS: Registering the id_resolver key type
         [327708.132380] Key type id_resolver registered
         [327708.132380] Key type id_legacy registered
         [327949.426570] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         
    * Last few reboots (last -x -n10 reboot runlevel):
         runlevel (to lvl 5)   4.19.12-301.fc29 Fri May 31 17:07   still running
         reboot   system boot  4.19.12-301.fc29 Fri May 31 13:05   still running
         runlevel (to lvl 5)   4.19.12-301.fc29 Fri May 31 11:07 - 13:57  (02:49)
         reboot   system boot  4.19.12-301.fc29 Fri May 31 07:06 - 13:57  (06:50)
         runlevel (to lvl 5)   4.19.12-301.fc29 Fri May 31 11:02 - 11:03  (00:00)
         reboot   system boot  4.19.12-301.fc29 Fri May 31 07:01 - 11:03  (04:01)
         runlevel (to lvl 5)   4.19.12-301.fc29 Fri May 31 10:38 - 11:01  (00:22)
         reboot   system boot  4.19.12-301.fc29 Fri May 31 06:37 - 11:01  (04:23)
         reboot   system boot  4.14.11-300.fc27 Fri May 31 06:34 - 10:35  (04:00)
         runlevel (to lvl 5)   4.19.12-301.fc29 Fri May 31 10:32 - 10:34  (00:01)
         
         wtmp begins Tue Jan  9 06:17:59 2018
         
    * DNF Repositories (dnf repolist):
         repo id                    repo name                                      status
         adobe-linux-i386           Adobe Systems Incorporated                          3
         fedora                     Fedora 30 - x86_64                             56,582
         fedora-modular             Fedora Modular 30 - x86_64                        135
         google-chrome              google-chrome                                       3
         livna                      rpm.livna.org for 30 - x86_64                       3
         mongodb                    MongoDB Repository                                279
         updates                    Fedora 30 - x86_64 - Updates                    6,766
         updates-modular            Fedora Modular 30 - x86_64 - Updates              137
         
    * DNF Extras (dnf -C list extras):
         Last metadata expiration check: 0:00:02 ago on Tue 04 Jun 2019 04:48:21 PM EDT.
         Extra Packages
         google-chrome-stable.x86_64              74.0.3729.169-1          @google-chrome
         kernel.x86_64                            4.19.12-301.fc29         @updates      
         kernel.x86_64                            5.0.17-300.fc30          @updates      
         kernel-core.x86_64                       4.19.12-301.fc29         @updates      
         kernel-core.x86_64                       5.0.17-300.fc30          @updates      
         kernel-modules.x86_64                    4.19.12-301.fc29         @updates      
         kernel-modules.x86_64                    5.0.17-300.fc30          @updates      
         kernel-modules-extra.x86_64              4.19.12-301.fc29         @updates      
         kernel-modules-extra.x86_64              5.0.17-300.fc30          @updates      
         kompozer.i386                            1:0.8-0.4.b3             @@commandline 
         python2-pandas-datareader.noarch         0.6.0-3.fc29             @fedora       
         python2-requests-file.noarch             1.4.3-8.fc29             @fedora       
         python2-xlrd.noarch                      1.0.0-11.fc29            @fedora       
         refind.x86_64                            0.11.4-1                 @@commandline 
         tabish-eeyek-fonts.noarch                1.0-13.fc29              @fedora       
         
    * Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
         libreofficekit-6.2.4.2-1.fc30.x86_64          Sun 02 Jun 2019 06:24:05 PM EDT
         samba-4.10.4-1.fc30.x86_64                    Sun 02 Jun 2019 06:24:04 PM EDT
         samba-client-4.10.4-1.fc30.x86_64             Sun 02 Jun 2019 06:24:03 PM EDT
         libreoffice-filters-6.2.4.2-1.fc30.x86_64     Sun 02 Jun 2019 06:24:03 PM EDT
         libreoffice-emailmerge-6.2.4.2-1.fc30.x86_64  Sun 02 Jun 2019 06:24:03 PM EDT
         libreoffice-xsltfilter-6.2.4.2-1.fc30.x86_64  Sun 02 Jun 2019 06:24:02 PM EDT
         libreoffice-math-6.2.4.2-1.fc30.x86_64        Sun 02 Jun 2019 06:24:02 PM EDT
         libreoffice-calc-6.2.4.2-1.fc30.x86_64        Sun 02 Jun 2019 06:24:01 PM EDT
         libreoffice-impress-6.2.4.2-1.fc30.x86_64     Sun 02 Jun 2019 06:24:00 PM EDT
         libreoffice-writer-6.2.4.2-1.fc30.x86_64      Sun 02 Jun 2019 06:23:59 PM EDT
         libreoffice-pdfimport-6.2.4.2-1.fc30.x86_64   Sun 02 Jun 2019 06:23:58 PM EDT
         libreoffice-graphicfilter-6.2.4.2-1.fc30.x86_64 Sun 02 Jun 2019 06:23:58 PM EDT
         libreoffice-draw-6.2.4.2-1.fc30.x86_64        Sun 02 Jun 2019 06:23:58 PM EDT
         libreoffice-pyuno-6.2.4.2-1.fc30.x86_64       Sun 02 Jun 2019 06:23:57 PM EDT
         libreoffice-langpack-en-6.2.4.2-1.fc30.x86_64 Sun 02 Jun 2019 06:23:57 PM EDT
         libreoffice-core-6.2.4.2-1.fc30.x86_64        Sun 02 Jun 2019 06:23:55 PM EDT
         libreoffice-x11-6.2.4.2-1.fc30.x86_64         Sun 02 Jun 2019 06:23:47 PM EDT
         libreoffice-help-en-6.2.4.2-1.fc30.x86_64     Sun 02 Jun 2019 06:23:46 PM EDT
         libreoffice-opensymbol-fonts-6.2.4.2-1.fc30.noarch Sun 02 Jun 2019 06:23:45 PM EDT
         libreoffice-gtk3-6.2.4.2-1.fc30.x86_64        Sun 02 Jun 2019 06:23:45 PM EDT
         
    * EFI boot manager output (efibootmgr -v):
         BootCurrent: 0008
         Timeout: 0 seconds
         BootOrder: 0009,0008,0001,0003,0004,0005,0006,0007,0002,0000
         Boot0000* Choose Your Operating System	HD(1,GPT,b10e02a2-0931-4a6d-b108-2791a30efe4d,0x800,0xfa000)/File(\EFI\fedora\grubx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
         Boot0001* rEFInd Boot Manager	HD(7,GPT,614009be-acab-46ee-a89a-a82eae70bb4b,0x1cf3a800,0x200000)/File(\EFI\refind\refind_x64.efi)
         Boot0002* UEFI: HGST HTS721010A9E630	HD(7,GPT,614009be-acab-46ee-a89a-a82eae70bb4b,0x1cf3a800,0x200000)/File(EFI\boot\bootx64.efi)..BO
         Boot0003* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)..BO
         Boot0004* Internal HDD	BBS(HD,Internal HDD,0x0)..BO
         Boot0005* USB Storage Device	BBS(USB,USB Storage Device,0x0)..BO
         Boot0006* CD/DVD/CD-RW Drive	BBS(CDROM,P1: HL-DT-ST DVD+/-RW GU90N,0x0)..BO
         Boot0007  Onboard NIC	BBS(Network,IBA CL Slot 00FE v0110,0x0)..BO
         Boot0008* Fedora	HD(1,GPT,b10e02a2-0931-4a6d-b108-2791a30efe4d,0x800,0xfa000)/File(\EFI\fedora\shimx64.efi)
         Boot0009* fedon7	HD(7,GPT,614009be-acab-46ee-a89a-a82eae70bb4b,0x1cf3a800,0x200000)/File(\EFI\fedora\shimx64.efi)
        
1 Like

@RobbieTheK, from what you’ve posted:

  1. I’m pretty sure that you don’t have latest grub installed in /boot/efi. Your files are a year older then mine are. So it looks line something went wrong with you trying to reinstall grub in the beginning of this topic.

    Please post output of sudo dnf list installed 'grub*' to check which versions you have installed.

  2. /boot/efi/EFI/fedora/grub.cfg is dated 9 January 2018 – it’s strange too as you’ve posted clearly updated grub.cfg earlier.

@RobbieTheK, is this the same machine as in the quote? I don’t see grub.cfg.rpmsave in file listing.

  1. If it’s another computer, then posting again cat /boot/efi/EFI/fedora/grub.cfg would be useful. Please, check if grub.cfg on the problematic computer is the same as you posted previously here:
  1. Looking at grub.cfg from sda1:

– clearly this is Fedora29 grub file which you’re using now to boot into your F30 installation with F29 kernel.

I’m willing to bet now that cat /boot/efi/EFI/fedora/grub.cfg on this machine will show you Fedora 27 boot menu, which you were getting when you tried to boot fedon7 entry or with configfile (hd0,gpt7)/EFI/fedora/grub.cfg in grub command line:

Here you go:

dnf list installed 'grub*'
Installed Packages
grub2-common.noarch                                                                                                                  1:2.02-81.fc30                                                                                                          @updates
grub2-efi-ia32.x86_64                                                                                                                1:2.02-81.fc30                                                                                                          @updates
grub2-efi-ia32-cdboot.x86_64                                                                                                         1:2.02-81.fc30                                                                                                          @updates
grub2-efi-x64.x86_64                                                                                                                 1:2.02-81.fc30                                                                                                          @updates
grub2-efi-x64-cdboot.x86_64                                                                                                          1:2.02-81.fc30                                                                                                          @updates
grub2-pc.x86_64                                                                                                                      1:2.02-81.fc30                                                                                                          @updates
grub2-pc-modules.noarch                                                                                                              1:2.02-81.fc30                                                                                                          @updates
grub2-tools.x86_64                                                                                                                   1:2.02-81.fc30                                                                                                          @updates
grub2-tools-efi.x86_64                                                                                                               1:2.02-81.fc30                                                                                                          @updates
grub2-tools-extra.x86_64                                                                                                             1:2.02-81.fc30                                                                                                          @updates
grub2-tools-minimal.x86_64                                                                                                           1:2.02-81.fc30                                                                                                          @updates
grubby.x86_64                                                                                                                        8.40-30.fc30      

Is it but the file is no longer there:

 locate grub.cfg
/boot/efi/EFI/fedora/grub.cfg
cat /boot/efi/EFI/fedora/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.14.11-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.13.9-300.fc27.x86_64-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
	else
	  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
	fi
	linuxefi /vmlinuz-4.14.11-300.fc27.x86_64 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet LANG=en_US.UTF-8
	initrdefi /initramfs-4.14.11-300.fc27.x86_64.img
}
menuentry 'Fedora (4.13.9-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.13.9-300.fc27.x86_64-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
	else
	  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
	fi
	linuxefi /vmlinuz-4.13.9-300.fc27.x86_64 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet LANG=en_US.UTF-8
	initrdefi /initramfs-4.13.9-300.fc27.x86_64.img
}
menuentry 'Fedora (0-rescue-f1ab98d6b41846d4bf74abdf674203d0) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-f1ab98d6b41846d4bf74abdf674203d0-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	load_video
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
	else
	  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
	fi
	linuxefi /vmlinuz-0-rescue-f1ab98d6b41846d4bf74abdf674203d0 root=/dev/mapper/lvm2-root ro rd.lvm.lv=lvm2/root rd.lvm.lv=lvm2/swap rhgb quiet
	initrdefi /initramfs-0-rescue-f1ab98d6b41846d4bf74abdf674203d0.img
}

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

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-3C49-68B0' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  3C49-68B0
	else
	  search --no-floppy --fs-uuid --set=root 3C49-68B0
	fi
	chainloader /EFI/Microsoft/Boot/BootMgFW.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Sure looks like it from the above.

I’ll be on site tomorrow and Friday so I can run any commands, e.g., deleting /dev/sda7 .

Now the picture is quite clear, and I’m still willing to bet you’ve posted grub.cfg from another (possibly good) machine. Or someone did something else to it between you posting grub.cfg and trying to boot “fedon7”

I strongly suggest deleting it only after you actually fix your booting.

Grub packages versions you’ve posted are good.

Also while /dev/sda7 contains old grub files, it looks like folder EFI/fedora on /dev/sda1/ does contain good/new grub files – but with wrong grub.cfg )

Great! What do you suggest I try?

So I would do the following.

  1. Get bootable F30 Live USB handy, verify I can boot it in UEFI mode.

  2. Backup contents of /dev/sda7 and /dev/sda1. – I thing better to some USB drive (but maybe keep a copy on the machine too).

    cd   # to enter to current user's home
    sudo tar -cpvzf ./sda7_efi_backup.tar.gz /boot/efi   # that should be sda7 -- please verify
    sudo tar -cpvzf ./sda1_efi_backup.tar.gz /mnt/sda1   # assuming sda1 still mounted under /mnt/sda1
    

    I would then verify these archives do contain files from sda1 and sda7.

  3. Do some cleanup on sda1. Assuming listings posted here are correct:

    #  copy of old grub files we don't need:
    sudo rm -vrf /mnt/sda1/EFI/EFI  
    # initramfs file should reside on /boot, not in /boot/efi:
    sudo rm -v /mnt/sda1/EFI/fedora/initramfs-4.19.12-301.fc29.x86_64.img  
    # And this should be linux kernel to go with initramfs image above:
    sudo rm -v /mnt/sda1/EFI/fedora/vmlinuz-fedora.efi
    # I'm pretty sure we don't need this as well:
    sudo rm -vrf /mnt/sda1/grub2  
    
  4. We’ll be switching /boot/efi from sda7 to sda1. First step is change /etc/fstab

    in the line

    UUID=4BD6-32AC          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
    

    change UUID to 3C49-68B0 – that’s sda1’s one.

  5. Then unmount old /boot/efi and mount new (should be doable live)

    sudo umount -v /boot/efi
    sudo mount -v /boot/efi
    

    Check that output of the mount says: mount: /dev/sda1 mounted on /boot/efi. Note sda1, not sda7.

  6. Backup old grub.cfg once more:

    sudo -i  ## to become root
    cd /boot/efi/EFI/fedora
    cp -v grub.cfg grub_cfg_f29.backup
    
  7. Regenerate grub.cfg and verify it’s actually changed.

    grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
    less grub.cfg  ## check it doesn't contain entries for Fedora 29 no more.
    
  8. We can reinstall grub once more, although I think it should work without reinstalling. Assumption is from looking at file sizes and timestamps you’ve posted.

  9. Just to be safe generate new UEFI boot entry pointing to grub on /dev/sda1. Make it the default one.

    sudo efibootmgr --create --disk /dev/sda --part 1 --label "Fedora on sda1" --loader "\EFI\fedora\shimx64.efi"
    sudo efibootmgr -n <the new boot id>  # for one-time reboot.
    

    Thanks again, @benjamind.
    To make this boot entry the default one permanently either change boot order in the UEFI settings (in the BIOS), or use

    sudo efibootmgr --bootorder XXXX,YYYY,ZZZZ
    

    man efibootmgr if you need additional details. Also you can check this:

  1. Reboot and hope it all works as expected.

  2. If it does then remove unneeded UEFI boot entries (with efibootmgr). And remove /dev/sda7 to avoid confusion in the future. You can use Disks application to do it in gui.

  3. If it doesn’t work – then boot from Live USB we have and either restore from backup (not very good) or correct anything we need to (good).

What changes here:

/dev/mapper/lvm2-root   /                       ext4    defaults        1 1
UUID=c7d71ab6-c585-4b73-9f53-ec139989aba3 /boot                   ext4    defaults        1 2
UUID=4BD6-32AC          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
/dev/mapper/lvm2-home   /home                   ext4    defaults        1 2
#/dev/mapper/lvm2-tmp    /tmp                    ext4    defaults        1 2
/dev/mapper/lvm2-usrlocal /usr/local              ext4    defaults        1 2
/dev/mapper/lvm2-swap   swap                    swap    defaults        0 0

What’s the command for this?

I’m expanding previous post with instructions I think you need, and with ones you’ve asked for. Takes time to type them in :slight_smile:

This one you should know by now. @benjamind provided it for you, you did it.

1 Like

I believe to be thorough, I need to mount these first. From the Live CD/DVD /boot/efi references the DVD. So I ran mount /dev/sda1 /mnt/efi, so if anyone gets to this page, they should be aware.

Looks good:

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.9-301.fc30.x86_64
Found initrd image: /boot/initramfs-5.0.9-301.fc30.x86_64.img
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/BootMgFW.efi
Found Fedora 30 (Workstation Edition) on /dev/mapper/lvm2-root
Adding boot menu entry for EFI firmware configuration
done

I still see some fc29’s:

cat /boot/efi/EFI/fedora/grub.cfg|fpaste --printonly
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b44431ef-901f-4c18-9b7b-224b8bb98af6
else
  search --no-floppy --fs-uuid --set=root b44431ef-901f-4c18-9b7b-224b8bb98af6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_fallback_counting ###
insmod increment
# Check if boot_counter exists and boot_success=0 to activate this behaviour.
if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then
  # if countdown has ended, choose to boot rollback deployment (default=1 on
  # OSTree-based systems)
  if  [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then
    set default=1
    set boot_counter=-1
  # otherwise decrement boot_counter
  else
    decrement boot_counter
  fi
  save_env boot_counter
fi
### END /etc/grub.d/01_fallback_counting ###

### BEGIN /etc/grub.d/01_menu_auto_hide ###
if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
  set last_boot_ok=1
else
  set last_boot_ok=0
fi

# Reset boot_indeterminate after a successful boot
if [ "${boot_success}" = "1" ] ; then
  set boot_indeterminate=0
# Avoid boot_indeterminate causing the menu to be hidden more then once
elif [ "${boot_indeterminate}" = "1" ]; then
  set boot_indeterminate=2
fi
set boot_success=0
save_env boot_success boot_indeterminate

if [ x$feature_timeout_style = xy ] ; then
  if [ "${menu_show_once}" ]; then
    unset menu_show_once
    save_env menu_show_once
    set timeout_style=menu
    set timeout=60
  elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = "1" ]; then
    set orig_timeout_style=${timeout_style}
    set orig_timeout=${timeout}
    if [ "${fastboot}" = "1" ]; then
      # timeout_style=menu + timeout=0 avoids the countdown code keypress check
      set timeout_style=menu
      set timeout=0
    else
      set timeout_style=hidden
      set timeout=1
    fi
  fi
fi
### END /etc/grub.d/01_menu_auto_hide ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora 30 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-b44431ef-901f-4c18-9b7b-224b8bb98af6' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  b44431ef-901f-4c18-9b7b-224b8bb98af6
	else
	  search --no-floppy --fs-uuid --set=root b44431ef-901f-4c18-9b7b-224b8bb98af6
	fi
	linux	/boot/vmlinuz-5.0.9-301.fc30.x86_64 root=UUID=b44431ef-901f-4c18-9b7b-224b8bb98af6 ro  
	initrd	/boot/initramfs-5.0.9-301.fc30.x86_64.img
}
submenu 'Advanced options for Fedora 30 (Workstation Edition)' $menuentry_id_option 'gnulinux-advanced-b44431ef-901f-4c18-9b7b-224b8bb98af6' {
	menuentry 'Fedora (5.0.9-301.fc30.x86_64) 30 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.0.9-301.fc30.x86_64-advanced-b44431ef-901f-4c18-9b7b-224b8bb98af6' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  b44431ef-901f-4c18-9b7b-224b8bb98af6
		else
		  search --no-floppy --fs-uuid --set=root b44431ef-901f-4c18-9b7b-224b8bb98af6
		fi
		linux	/boot/vmlinuz-5.0.9-301.fc30.x86_64 root=UUID=b44431ef-901f-4c18-9b7b-224b8bb98af6 ro  
		initrd	/boot/initramfs-5.0.9-301.fc30.x86_64.img
	}
	menuentry 'Fedora (5.0.9-301.fc30.x86_64) 30 (Workstation Edition) (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.0.9-301.fc30.x86_64-recovery-b44431ef-901f-4c18-9b7b-224b8bb98af6' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  b44431ef-901f-4c18-9b7b-224b8bb98af6
		else
		  search --no-floppy --fs-uuid --set=root b44431ef-901f-4c18-9b7b-224b8bb98af6
		fi
		linux	/boot/vmlinuz-5.0.9-301.fc30.x86_64 root=UUID=b44431ef-901f-4c18-9b7b-224b8bb98af6 ro single 
		initrd	/boot/initramfs-5.0.9-301.fc30.x86_64.img
	}
}

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

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-3C49-68B0' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  3C49-68B0
	else
	  search --no-floppy --fs-uuid --set=root 3C49-68B0
	fi
	chainloader /EFI/Microsoft/Boot/BootMgFW.efi
}
menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
	else
	  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
	fi
	linux /vmlinuz-0-rescue-f1ab98d6b41846d4bf74abdf674203d0 root=/dev/dm-4
	initrd /initramfs-0-rescue-f1ab98d6b41846d4bf74abdf674203d0.img
}
submenu 'Advanced options for Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' $menuentry_id_option 'osprober-gnulinux-advanced-664c3c0d-5c50-4817-946e-adca82e47eb4' {
	menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-0-rescue-f1ab98d6b41846d4bf74abdf674203d0--664c3c0d-5c50-4817-946e-adca82e47eb4' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
		else
		  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
		fi
		linux /vmlinuz-0-rescue-f1ab98d6b41846d4bf74abdf674203d0 root=/dev/dm-4
		initrd /initramfs-0-rescue-f1ab98d6b41846d4bf74abdf674203d0.img
	}
	menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.19.12-301.fc29.x86_64--664c3c0d-5c50-4817-946e-adca82e47eb4' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
		else
		  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
		fi
		linux /vmlinuz-4.19.12-301.fc29.x86_64 root=/dev/dm-4
		initrd /initramfs-4.19.12-301.fc29.x86_64.img
	}
	menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-5.0.17-200.fc29.x86_64--664c3c0d-5c50-4817-946e-adca82e47eb4' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
		else
		  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
		fi
		linux /vmlinuz-5.0.17-200.fc29.x86_64 root=/dev/dm-4
		initrd /initramfs-5.0.17-200.fc29.x86_64.img
	}
	menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/lvm2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-5.0.17-300.fc30.x86_64--664c3c0d-5c50-4817-946e-adca82e47eb4' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  c7d71ab6-c585-4b73-9f53-ec139989aba3
		else
		  search --no-floppy --fs-uuid --set=root c7d71ab6-c585-4b73-9f53-ec139989aba3
		fi
		linux /vmlinuz-5.0.17-300.fc30.x86_64 root=/dev/dm-4
		initrd /initramfs-5.0.17-300.fc30.x86_64.img
	}
}

# Other OS found, undo autohiding of menu unless menu_auto_hide=2
if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
  set timeout_style=${orig_timeout_style}
  set timeout=${orig_timeout}
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Looks good:

efibootmgr --create --disk /dev/sda --part 1 --label "Fedora on sda1" --loader "\EFI\fedora\shimx64.efi"
BootCurrent: 000A
Timeout: 0 seconds
BootOrder: 000B,0009,0008,0001,0003,0004,0005,0006,0007,0002,0000,000A
Boot0000* Choose Your Operating System
Boot0001* rEFInd Boot Manager
Boot0002* UEFI: HGST HTS721010A9E630
Boot0003* Diskette Drive
Boot0004* Internal HDD
Boot0005* USB Storage Device
Boot0006* CD/DVD/CD-RW Drive
Boot0007  Onboard NIC
Boot0008* Fedora
Boot0009* fedon7
Boot000A* UEFI: HL-DT-ST DVD+-RW GU90N
Boot000B* Fedora on sda1

and:

efibootmgr -n 000B
BootNext: 000B
BootCurrent: 000A
Timeout: 0 seconds
BootOrder: 000B,0009,0008,0001,0003,0004,0005,0006,0007,0002,0000,000A
Boot0000* Choose Your Operating System
Boot0001* rEFInd Boot Manager
Boot0002* UEFI: HGST HTS721010A9E630
Boot0003* Diskette Drive
Boot0004* Internal HDD
Boot0005* USB Storage Device
Boot0006* CD/DVD/CD-RW Drive
Boot0007  Onboard NIC
Boot0008* Fedora
Boot0009* fedon7
Boot000A* UEFI: HL-DT-ST DVD+-RW GU90N
Boot000B* Fedora on sda1

Time to reboot, I’ll update afterwards.

No luck here are the errors and what I see:

20190606_102833 20190606_102907 20190606_103156