You are not logged in.

#1 2015-12-08 17:20:40

Sirnanigans
Member
Registered: 2015-12-08
Posts: 5

rEFInd Not Displaying Custom PNG Icon or Banner

Here's what I know:

My Arch install is only 2 days old with no updates
rEFInd is installed with default file locations
rEFInd is recognizing refind.conf
rEFInd is booting vmlinuz-linux
My icon and banner are PNG files
I used GIMP with default export settings to create the icon and banner
My icon is located in /boot/EFI/refind/icons/
My banner is located in the same directory as refind.efi
rEFInd is configured to find icons in the default folder

Here's what's happening: rEFInd refuses to display my custom icon or banner. I have followed the first paragraph of instructions at rodsbooks.com to make this work (quoted instructions below), but without any error output or strange behaviour the icon simply won't appear. Instead it just displays the Tux logo. I tried exporting the .png icon with zero compression because elsewhere in rodsbooks.com it mentioned that a BMP file needed to be uncompressed. This also did nothing. I have repeatedly checked the file names and the refind.conf settings to ensure I haven't missed anything. It appears as though rEFInd simply isn't doing its job here. The icon file is named vmlinuz-linux.png and the banner is mybanner.png.

You can name an icon file after your boot loader, but with an extension of .icns or .png for ICNS-format and PNG-format icons, respectively. For instance, if you're using loader.efi, you would name the icon file loader.icns. (If you use the scan_all_linux_kernels option, you can give an icon for a Linux kernel without a .efi extension a name based on the kernel name but with a .icns or .png extension—for instance, bzImage-3.13.6.png will serve as the icon for the bzImage-3.13.6 kernel.) These icon files should be in Apple's ICNS or Portable Network Graphics (PNG) format, depending on the filename extension.

My directories are all in their default locations as per the newest archiso installation disk and rEFInd's refind-install script. Here's my refind.conf file:

#
# refind.conf
# Configuration file for the rEFInd boot menu
#

# comments
timeout 5

# comments
#screensaver 300

# comments
hideui singleuser,safemode,hwtest,arrows,hints,editor,badges

# comments
#icons_dir myicons

# comments
banner mybanner.png

# comments
#banner_scale fillscreen

#comments
#small_icon_size 48
big_icon_size 216

# comments
#selection_big   selection-big.bmp
#selection_small selection-small.bmp

# comments
#font myfont.png

# comments
#textonly

# comments
#textmode 2

# comments
resolution 1680 1050
#resolution 1024 768
#resolution 1440 900
#resolution 3

# comments
#use_graphics_for osx,linux

# comments
#showtools shell, gdisk, memtest, mok_tool, about, reboot, exit, firmware

# comments
#windows_recovery_files LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi

# comments
#scan_driver_dirs EFI/tools/drivers,drivers

# comments
#scanfor internal,external,optical,manual

# comments
#uefi_deep_legacy_scan

# comments
#scan_delay 5

# comments
#also_scan_dirs boot,ESP2:EFI/linux/kernels

# comments
#dont_scan_volumes "Recovery HD"

# comments
#dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86

# comments
#dont_scan_files shim.efi,MokManager.efi

# comments
#scan_all_linux_kernels false

# comments
#fold_linux_kernels false

# comments
#max_tags 0

# comments
#default_selection 1
#default_selection Microsoft
#default_selection "+,bzImage,vmlinuz"
#default_selection Maintenance 23:30 2:00
#default_selection "Maintenance,OS X" 1:00 2:30

# comments
#enable_and_lock_vmx false

#comments
#include manual.conf

# comments

# comments

# comments
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
}

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

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

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

# comments
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
}

# comments
menuentry "My Mac OS X" {
	icon \EFI\refind\icons\os_mac.png
	volume "OS X boot"
	loader \System\Library\CoreServices\boot.efi
	disabled
}

Last edited by Sirnanigans (2015-12-09 00:37:21)

Offline

Board footer

Powered by FluxBB