Roderick, I've realised I got the theme rEFInd-Indulgence installed.
|'ve done some digging and found some interesting (at least to me) things as follows:
# ls -R /boot/efi && ls /boot/boot/efi:EFI/boot/efi/EFI:avlinuxBOOTrefindtoolsubuntu/boot/efi/EFI/avlinux:grubx64.efi/boot/efi/EFI/BOOT:BOOTX64.EFIfbx64.efi/boot/efi/EFI/refind:BOOT.CSVdrivers_x64iconsicons-backupkeysrefind.confrefind.conf.000000-000000.ORIGrefind.conf-samplerefind_x64.efithemes/boot/efi/EFI/refind/drivers_x64:ext4_x64.efi/boot/efi/EFI/refind/icons:arrow_left.pngfunc_about.pngfunc_firmware.pngfunc_shutdown.pngos_bionic.pngos_clover.pngos_elementary.pngos_gentoo.pngos_kubuntu.pngos_lubuntu.pngos_netbsd.pngos_refind.pngos_systemd.pngos_void.pngos_xubuntu.pngtool_fwupdate.pngtool_part.pngtransparent.pngvol_optical.pngarrow_right.pngfunc_bootorder.pngfunc_hidden.pngmouse.pngos_centos.pngos_crunchbang.pngos_fedora.pngos_gummiboot.pngos_legacy.pngos_mac.pngos_network.pngos_refit.pngos_trusty.pngos_win8.pngos_zesty.pngtool_memtest.pngtool_rescue.pngvol_external.pngboot_linux.pngfunc_csr_rotate.pngfunc_install.pngos_arch.pngos_chakra.pngos_debian.pngos_freebsd.pngos_haiku.pngos_linuxmint.pngos_mageia.pngos_opensuse.pngos_slackware.pngos_ubuntu.pngos_win.pngREADMEtool_mok_tool.pngtool_shell.pngvol_internal.pngboot_win.pngfunc_exit.pngfunc_reset.pngos_artful.pngos_chrome.pngos_devuan.pngos_frugalware.pngos_hwtest.pngos_linux.pngos_mandriva.pngos_redhat.pngos_suse.pngos_unknown.pngos_xenial.pngtool_apple_rescue.pngtool_netboot.pngtool_windows_rescue.pngvol_net.png/boot/efi/EFI/refind/icons-backup:arrow_left.pngfunc_about.pngfunc_hidden.pngos_arch.pngos_clover.pngos_elementary.pngos_gentoo.pngos_kubuntu.pngos_lubuntu.pngos_netbsd.pngos_refind.pngos_trusty.pngos_win.pngREADMEtool_mok_tool.pngtool_shell.pngvol_internal.pngarrow_right.pngfunc_csr_rotate.pngfunc_reset.pngos_centos.pngos_crunchbang.pngos_fedora.pngos_gummiboot.pngos_legacy.pngos_mac.pngos_network.pngos_refit.pngos_ubuntu.pngos_xenial.pngtool_apple_rescue.pngtool_netboot.pngtool_windows_rescue.pngvol_net.pngboot_linux.pngfunc_exit.pngfunc_shutdown.pngos_chakra.pngos_debian.pngos_freebsd.pngos_haiku.pngos_linuxmint.pngos_mageia.pngos_opensuse.pngos_slackware.pngos_unknown.pngos_xubuntu.pngtool_fwupdate.pngtool_part.pngtransparent.pngvol_optical.pngboot_win.pngfunc_firmware.pngmouse.pngos_chrome.pngos_devuan.pngos_frugalware.pngos_hwtest.pngos_linux.pngos_mandriva.pngos_redhat.pngos_suse.pngos_win8.pngos_zesty.pngtool_memtest.pngtool_rescue.pngvol_external.png/boot/efi/EFI/refind/keys:altlinux.cercanonical-uefi-ca.derfedora-ca.cermicrosoft-kekca-public.dermicrosoft-pca-public.dermicrosoft-uefica-public.deropenSUSE-UEFI-CA-Certificate.cerrefind_local.cerSLES-UEFI-CA-Certificate.cercanonical-uefi-ca.cercentos.cermicrosoft-kekca-public.cermicrosoft-pca-public.cermicrosoft-uefica-public.ceropenSUSE-UEFI-CA-Certificate-4096.cerrefind.cerrefind_local.crt/boot/efi/EFI/refind/themes:rEFInd-indulgence/boot/efi/EFI/refind/themes/rEFInd-indulgence:background.pngfontsiconsLICENSEREADME.mdsamplesselection_big.pngselection_small.pngtheme.conf/boot/efi/EFI/refind/themes/rEFInd-indulgence/fonts:rEFInd-stitched-112.pngrEFInd-stitched-28.pngrEFInd-stitched.txt/boot/efi/EFI/refind/themes/rEFInd-indulgence/icons:arrow_left.pngfunc_reset.pngos_arch.pngos_clover.pngos_edubuntu.pngos_gentoo.pngos_kaos.pngos_linux.pngos_manjaro.pngos_nitrux.pngos_pclinuxos.pngos_puppy.pngos_rosa.pngos_steam.pngos_ubuntustudio.pngos_zorin.pngtool_shell.pngvol_optical.pngarrow_right.pngfunc_shutdown.pngos_avlinux.pngos_core.pngos_elementary.pngos_ghostbsd.pngos_knoppix.pngos_lubuntu.pngos_mepis.pngos_nixos.pngos_peppermint.pngos_pureos.pngos_sabayon.pngos_suse.pngos_unknown.pngtool_apple_rescue.pngtool_windows_rescue.pngfunc_about.pngos_alpinelinux.pngos_backbox.pngos_crunchbang.pngos_fatdog.pngos_gummiboot.pngos_kubuntu.pngos_mac_alt.pngos_mxlinux.pngos_openbsd.pngos_phoenixos.pngos_qubes_os.pngos_slackware.pngos_tails.pngos_void.pngtool_fwupdate.pngtransparent.pngfunc_csr_rotate.pngos_android.pngos_bodhi.pngos_crunchbangpp.pngos_fedora.pngos_haiku.pngos_lakka.pngos_mac.pngos_neon.pngos_openmandriva.pngos_pinguyos.pngos_redhat.pngos_solus_alt.pngos_trueos.pngos_win8.pngtool_memtest.pngvol_external.pngfunc_exit.pngos_antergos.pngos_centos.pngos_debian.pngos_freebsd.pngos_hwtest.pngos_legacy.pngos_macrium.pngos_netbsd.pngos_opensuse.pngos_pisi_linux.pngos_refind.pngos_solus.pngos_ubuntubudgie.pngos_windows.pngtool_mok_tool.pngvol_internal_alt.pngfunc_firmware.pngos_antix.pngos_chakra.pngos_deepin.pngos_frugalware.pngos_kali.pngos_linuxlite.pngos_mageia.pngos_netrunner.pngos_parrot_os.pngos_pmagic.pngos_refit.pngos_solydxk.pngos_ubuntumate.pngos_win.pngtool_netboot.pngvol_internal.pngfunc_hidden.pngos_apricity.pngos_chrome.pngos_devuan.pngos_gamedrift.pngos_kanotix.pngos_linuxmint.pngos_mandriva.pngos_network.pngos_pcbsd.pngos_popos.pngos_remixos.pngos_sparky.pngos_ubuntu.pngos_xubuntu.pngtool_part.pngvol_net.png/boot/efi/EFI/refind/themes/rEFInd-indulgence/samples:rEFInd-indulgence-All-Icons.pngrEFInd-indulgence-screenshot-01.pngrEFInd-indulgence-screenshot-02.pngrEFInd-indulgence-screenshot-03.pngrEFInd-indulgence-screenshot-04.pngrEFInd-indulgence-screenshot-05.pngrEFInd-indulgence-screenshot-06.pngrEFInd-indulgence-screenshot-07.pngrEFInd-indulgence-screenshot-08.pngrEFInd-indulgence-screenshot-09.png/boot/efi/EFI/tools:/boot/efi/EFI/ubuntu:BOOTX64.CSVgrub.cfggrubx64.efimmx64.efishimx64.eficonfig-5.3.0-28-genericconfig-5.3.0-42-genericgrubinitrd.img-5.3.0-40-genericmemtest86+.binmemtest86+_multiboot.binSystem.map-5.3.0-28-genericSystem.map-5.3.0-42-genericvmlinuz-5.3.0-40-genericconfig-5.3.0-40-genericefiinitrd.img-5.3.0-28-genericinitrd.img-5.3.0-42-genericmemtest86+.elfrefind_linux.confSystem.map-5.3.0-40-genericvmlinuz-5.3.0-28-genericvmlinuz-5.3.0-42-generic#
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
rEFInd should be detecting, at a bare minimum, the Ubuntu and AV Linux versions of grubx64.efi, and probably others as well.
Can you please elaborate on the symptoms? Do you see no OS selectors, but the second-row icons do appear? If so, that's extremely strange.
If you see the rEFInd splash screen (logo) but no icons whatsoever, then there's probably a problem with one of your filesystems. You can try removing the /boot/efi/EFI/refind/drivers_x64/ext4_x64.efi driver file (try moving it down one directory). This will render rEFInd unable to read your Linux kernels directly, but it's a useful diagnostic test. If that fixes the problem, then either there's a bug in rEFInd's ext4fs EFI driver or there's a problem with one of your ext4fs filesystems (probably both). You can try fixing the filesystems with fsck. If that doesn't help, creating a separate /boot partition (if you don't already have one) and using another filesystem on it will enable you to bypass the ext4fs driver and whatever problem it has. If I understand your setup, you'll need to do this for both Ubuntu and AV Linux. Alternatively, you could remove the ext4fs driver and rely on each distribution's GRUB to boot the OSes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I booted into my SystemRescueCD on usb, run gparted and looked for some warnings / errors. To my big surprise there was some warning on the EFI (ESP) partition. I cannot to reproduce the message at all, it went somehow "... unable ...label :: ..." (sorry for that). And other partitions were OK. So I chose repair...
... and now I cannot boot to any of systems installed, even there's no rEFInd splash screen on my notebook any more!
At the moment I'm in the middle of googling for "How to repair my /boot UEFI partition without reinstall."
So, I'm begging for your help: what is the right procedure now, please?
At this point, I suggest you use whatever system you can to download rEFInd on USB flash drive or CD-R. (Images are available here.) With any luck, that will get you booting; however, given that rEFInd installed to your hard disk was failing, it's possible that rEFInd on an external medium will fail, too.
If that's the case, I recommend you use the Ubuntu installation medium for emergency repairs. (Boot using the "try Ubuntu before installing" option to get a minimal Ubuntu desktop environment.) You should be able to boot Ubuntu, back up the ESP, create a fresh FAT filesystem on the ESP, and restore it. You may also need to use efibootmgr to check the status of your OS boot entries, and perhaps create new ones. It's impossible for me to provide precise step-by-step recovery procedures, since it really is a question of problem solving; there are many possibilities about what precisely is wrong, and therefore also many possible solutions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not have the know-how of helping you fix the "big mistake" you have made but in regards to the icons or menuentries not showing up in rEFInd simply uninstalling the theme fixed the problems for me when I had them, try making a pendrive with rEFInd(no themes of course I recommend you make this for cases in which you mess up something, like a failsafe if you will) and try booting into Ubuntu but, and i reiterate i am not sure about this stuff, the /boot folder is where your linux kernel and other bootloaders are stored including the EFI stuff so your best bet in that case would be to just boot from a live Ubuntu USB and backup all of your data to an external hard drive.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Roderick's advice I'm opening a new thread.
Roderick, I've realised I got the theme rEFInd-Indulgence installed.
|'ve done some digging and found some interesting (at least to me) things as follows:
Is this OK?
Please show the output of:
rEFInd should be detecting, at a bare minimum, the Ubuntu and AV Linux versions of
grubx64.efi, and probably others as well.Can you please elaborate on the symptoms? Do you see no OS selectors, but the second-row icons do appear? If so, that's extremely strange.
If you see the rEFInd splash screen (logo) but no icons whatsoever, then there's probably a problem with one of your filesystems. You can try removing the
/boot/efi/EFI/refind/drivers_x64/ext4_x64.efidriver file (try moving it down one directory). This will render rEFInd unable to read your Linux kernels directly, but it's a useful diagnostic test. If that fixes the problem, then either there's a bug in rEFInd's ext4fs EFI driver or there's a problem with one of your ext4fs filesystems (probably both). You can try fixing the filesystems withfsck. If that doesn't help, creating a separate/bootpartition (if you don't already have one) and using another filesystem on it will enable you to bypass the ext4fs driver and whatever problem it has. If I understand your setup, you'll need to do this for both Ubuntu and AV Linux. Alternatively, you could remove the ext4fs driver and rely on each distribution's GRUB to boot the OSes.Yes, can see just the rEFInd splash screen (logo) but no icons whatsoever.
So I'll try your further advice...
...well, I've done a big mistake, I'd say.
I booted into my SystemRescueCD on usb, run gparted and looked for some warnings / errors. To my big surprise there was some warning on the EFI (ESP) partition. I cannot to reproduce the message at all, it went somehow "... unable ...label :: ..." (sorry for that). And other partitions were OK. So I chose repair...
... and now I cannot boot to any of systems installed, even there's no rEFInd splash screen on my notebook any more!
At the moment I'm in the middle of googling for "How to repair my /boot UEFI partition without reinstall."
So, I'm begging for your help: what is the right procedure now, please?
The current configuration is as follows:
NB That
boot/efi/EFI/refind/drivers_x64/200319-133299is the directory I used for(in vain)
Last edit: hawran diskuse 2020-03-24
At this point, I suggest you use whatever system you can to download rEFInd on USB flash drive or CD-R. (Images are available here.) With any luck, that will get you booting; however, given that rEFInd installed to your hard disk was failing, it's possible that rEFInd on an external medium will fail, too.
If that's the case, I recommend you use the Ubuntu installation medium for emergency repairs. (Boot using the "try Ubuntu before installing" option to get a minimal Ubuntu desktop environment.) You should be able to boot Ubuntu, back up the ESP, create a fresh FAT filesystem on the ESP, and restore it. You may also need to use
efibootmgrto check the status of your OS boot entries, and perhaps create new ones. It's impossible for me to provide precise step-by-step recovery procedures, since it really is a question of problem solving; there are many possibilities about what precisely is wrong, and therefore also many possible solutions.Well, acccording to the indent of this post of yours I'm confused a little bit.
Is it your response to my post above?
And I'd like to add that I can see all boot options (rEFInd / Ubuntu / AV Linux) within the BIOS settings...
Last edit: hawran diskuse 2020-03-27
I do not have the know-how of helping you fix the "big mistake" you have made but in regards to the icons or menuentries not showing up in rEFInd simply uninstalling the theme fixed the problems for me when I had them, try making a pendrive with rEFInd(no themes of course I recommend you make this for cases in which you mess up something, like a failsafe if you will) and try booting into Ubuntu but, and i reiterate i am not sure about this stuff, the /boot folder is where your linux kernel and other bootloaders are stored including the EFI stuff so your best bet in that case would be to just boot from a live Ubuntu USB and backup all of your data to an external hard drive.
Thank you all for help, finally I've managed to read some details about Linux booting, UEFI and GRUB, hence it works for me again (hopefully).
I'd recommend links as follows:
https://help.ubuntu.com/community/Grub2/Installing
https://wiki.archlinux.org/index.php/GRUB#UEFI_systems
https://www.zdnet.com/article/hands-on-linux-uefi-multi-boot-part-three-problem-solving/
and - of course - https://www.rodsbooks.com/refind/
PS Sorry for the delay.
I've forgotten: feel free and close this issue.
I had a similar issue and managed to solve it, linking it in case it's related https://sourceforge.net/p/refind/discussion/general/thread/4dfcdfdd16/