Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons error #110

Open
huzhenhao2008 opened this issue Mar 9, 2024 · 10 comments
Open

icons error #110

huzhenhao2008 opened this issue Mar 9, 2024 · 10 comments

Comments

@huzhenhao2008
Copy link

When I was using rEFInd, there was an error with the icon, as shown in the figure.
微信图片_20240309222946

@jlobue10
Copy link
Owner

jlobue10 commented Mar 9, 2024

Are the legitimate png files that you tried to use?

@huzhenhao2008
Copy link
Author

No, I haven't made any changes.

No, I haven't made any changes.

@huzhenhao2008
Copy link
Author

The problem has been solved. The path to the image in the default installation provided .conf file is incorrect.

Are the legitimate png files that you tried to use?

@jlobue10
Copy link
Owner

jlobue10 commented Mar 12, 2024

Good catch. I need to update that if there is indeed an error. In the future, I recommend doing a create config followed by install config from the GUI, any time there are desired changes, including icons.

I'm assuming those steps weren't done by you, so the icons weren't actually copied to the proper EFI/refind location expected by the config file.

@huzhenhao2008
Copy link
Author

Good catch. I need to update that if there is indeed an error. In the future, I recommend doing a create config followed by install config from the GUI, any time there are desired changes, including icons.

I'm assuming those steps weren't done by you, so the icons weren't actually copied to the proper location expected by the config file.EFI/refind

The attachment is the correct. conf file running on my Deck. I annotate the incorrect config after the error line. I hope this can help you. Additionally, it is currently not possible to disable Windows Boot Manager through efibootmgr and can only be done through Windows.

`timeout 5
use_nvram false
hideui singleuser,hints,arrows,label,badges
banner backgrounds/background.png #banner background.png
banner_scale fillscreen
resolution 3
enable_touch
enable_mouse
use_graphics_for +
showtools
#scanfor manual,external
default_selection 1
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}

menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}

menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}

menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}

menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}

menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}

menuentry "macOS via BootNext" {
icon /EFI/refind/icons/os_mac.png
firmware_bootnum 80
disabled
}

menuentry "SteamOS" {
icon /EFI/refind/icons/os_steam.png #icon /EFI/refind/icons/os_icon1.png
loader /EFI/steamos/steamcl.efi
options "quiet splash"
graphics on
}

menuentry "SteamOS_EFI" {
icon /EFI/refind/icons/os_steam.png #icon /EFI/refind/icons/os_icon1.png
firmware_bootnum 0000
disabled
}

menuentry "Windows" {
icon /EFI/refind/icons/os_win11.png #icon /EFI/refind/os_icon2.png
loader /EFI/Microsoft/Boot/bootmgfw.efi
graphics on
}

menuentry "Batocera" {
icon /EFI/refind/icons/os_batocera.png
volume "BATOCERA"
loader /EFI/BOOT/bootx64.efi
graphics on
disabled
}

menuentry "Windows SD card" {
icon /EFI/refind/icons/os_win11.png
volume REPLACE_THIS_WITH_SD_CARD_EFI_PARTITION_UUID
loader /EFI/Microsoft/Boot/bootmgfw.efi
graphics on
disabled
}

menuentry "Ubuntu" {
icon /EFI/refind/icons/os_ubuntu.png #icon /EFI/refind/os_icon3.png
loader /EFI/ubuntu/shimx64.efi
graphics on
disabled
}
`

@jlobue10
Copy link
Owner

Yes, the efibootmgr command currently doesn't work to disable the Windows EFI entry. This has been the case since SteamOS 3.4. If you know and can share the proper bcdedit command or series of commands to do that from Windows' side, that would be helpful.

I don't think there's necessarily anything to fix with the config and for the files as the expected use case is to install the GUI, then run create config followed by install config. When done in this order, there is no issue...

Thanks for the feedback.

@huzhenhao2008
Copy link
Author

Yes, the command currently doesn't work to disable the Windows EFI entry. This has been the case since SteamOS 3.4. If you know and can share the proper command or series of commands to do that from Windows' side, that would be helpful.efibootmgr``bcdedit

I don't think there's necessarily anything to fix with the config and for the files as the expected use case is to install the GUI, then run create config followed by install config. When done in this order, there is no issue...

Thanks for the feedback.

I encountered an issue while installing using the no GUI method, not the GUI method, and when I reinstalled using the GUI method, the problem did not resolve.

@huzhenhao2008
Copy link
Author

Yes, the command currently doesn't work to disable the Windows EFI entry. This has been the case since SteamOS 3.4. If you know and can share the proper command or series of commands to do that from Windows' side, that would be helpful.efibootmgr``bcdedit

I don't think there's necessarily anything to fix with the config and for the files as the expected use case is to install the GUI, then run create config followed by install config. When done in this order, there is no issue...

Thanks for the feedback.

When disabling Windows Boot Manager, the Windows software Easy UEFI is required.

@jlobue10
Copy link
Owner

Yes, the command currently doesn't work to disable the Windows EFI entry. This has been the case since SteamOS 3.4. If you know and can share the proper command or series of commands to do that from Windows' side, that would be helpful. efibootmgrbcdedit ``
I don't think there's necessarily anything to fix with the config and for the files as the expected use case is to install the GUI, then run create config followed by install config. When done in this order, there is no issue...
Thanks for the feedback.

I encountered an issue while installing using the no GUI method, not the GUI method, and when I reinstalled using the GUI method, the problem did not resolve.

What steps exactly did you perform? I've never encountered this error if I've gone through the whole process.

@huzhenhao2008
Copy link
Author

Yes, the command currently doesn't work to disable the Windows EFI entry. This has been the case since SteamOS 3.4. If you know and can share the proper command or series of commands to do that from Windows' side, that would be helpful. efibootmgrbcdedit ``
I don't think there's necessarily anything to fix with the config and for the files as the expected use case is to install the GUI, then run create config followed by install config. When done in this order, there is no issue...
Thanks for the feedback.

I encountered an issue while installing using the no GUI method, not the GUI method, and when I reinstalled using the GUI method, the problem did not resolve.

What steps exactly did you perform? I've never encountered this error if I've gone through the whole process.

I initially used the No GUI method, but then encountered an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants