I have recently intalled Manjaro KDE along with refind. Everything works perfectly until the point I want to change the OS icons on refind. I applied a custom theme and it loads perfectly but the icons will not change. Refind is located under /boot/efi/EFI/refind and my theme is located at /boot/efi/EFI/refind/themes/refind-theme-custom
In my icons folder of my theme I have os_manjaro.png and os_win.png but both wont show. I have read the forums and website but can't seem to figure it out. According to the arch wiki page it says "rEFInd will automatically choose the Arch Linux icon (os_arch.png) for the boot entry when /etc/os-release is on the same partition as the kernel". Currently I have vmlinuz-5.6-x86_64 under /boot
Also, it is always stuck on the linux penguin icon
Last edit: Jose A 2020-04-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/boot is on the EFI partition or the system partition? EFI doesn't know about mount points (where one partition can appear in another partition as a folder). Maybe boot is on the system partition but the efi folder in the boot folder is actually pointing to the root directory of the EFI partition?
is vmlinuz on the EFI partition or the system partition?
The mount command in linux will tell you what's where.
Can rEFInd view the system partition? is ext4 file system driver installed? Can you see /etc/os-release in the EFI Shell? If the system partition is file system #1 then you should be able to type the following: fs1: cd etc dir cat os-release
The os-release file should have a line that starts with ID, NAME, or DISTRIB_ID. The value should have a word (delimited by space, hyphen, or underscore) that is manjaro to match your icon name.
rEFInd will also look at /etc/lsb-release if it exists.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the reply and the link you reffered me to helped. The way my hard drive is partitioned is: /dev/nvme0n1p1 /boot/efi /dev/nvme0n1p2 Swap /dev/nvme0n1p3 / /dev/nvme0n1p4 /home
The way I have fixed my issue is by renaming the root label as "Manjaro" and it now automatically chooses the correct icon.
Now my last question is about resolution. I am using a 2560x1440 monitor and from what I have seen around is that it doesn't support that. Would I need to change the refind.conf resolution to the highest which is 1080 i assume and only use backgrounds with that size?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you not have a file accessible from EFI at etc/os-release or etc/lsb-release?
For the resolution, I'm not sure what can be done about that. rEFInd is supposed to show a list of valid modes if you enter an improper resolution in the conf file and then it will wait for a keypress. The resolution could be effected by textmode. https://www.rodsbooks.com/refind/configfile.html
I wonder if it's possible to create an EDID override for the display so that only 2560x1440 is an option. This would be a driver that is loaded by rEFInd before it chooses a resolution. A commandline to list possible resolutions would also be useful.
You can use banner_scale fillscreen in the refind.conf file to make rEFInd scale the backhround image.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have recently intalled Manjaro KDE along with refind. Everything works perfectly until the point I want to change the OS icons on refind. I applied a custom theme and it loads perfectly but the icons will not change. Refind is located under
/boot/efi/EFI/refind
and my theme is located at/boot/efi/EFI/refind/themes/refind-theme-custom
In my icons folder of my theme I have os_manjaro.png and os_win.png but both wont show. I have read the forums and website but can't seem to figure it out. According to the arch wiki page it says "rEFInd will automatically choose the Arch Linux icon (os_arch.png) for the boot entry when /etc/os-release is on the same partition as the kernel". Currently I have
vmlinuz-5.6-x86_64
under/boot
Also, it is always stuck on the linux penguin icon
Last edit: Jose A 2020-04-24
Read the discussion at https://sourceforge.net/p/refind/discussion/general/thread/b2dcfa74d1/
/boot is on the EFI partition or the system partition? EFI doesn't know about mount points (where one partition can appear in another partition as a folder). Maybe boot is on the system partition but the efi folder in the boot folder is actually pointing to the root directory of the EFI partition?
is vmlinuz on the EFI partition or the system partition?
The
mount
command in linux will tell you what's where.Can rEFInd view the system partition? is ext4 file system driver installed? Can you see /etc/os-release in the EFI Shell? If the system partition is file system #1 then you should be able to type the following:
fs1:
cd etc
dir
cat os-release
The os-release file should have a line that starts with ID, NAME, or DISTRIB_ID. The value should have a word (delimited by space, hyphen, or underscore) that is manjaro to match your icon name.
rEFInd will also look at
/etc/lsb-release
if it exists.Thank you for the reply and the link you reffered me to helped. The way my hard drive is partitioned is:
/dev/nvme0n1p1
/boot/efi/dev/nvme0n1p2
Swap/dev/nvme0n1p3
//dev/nvme0n1p4
/homeThe way I have fixed my issue is by renaming the root label as "Manjaro" and it now automatically chooses the correct icon.
Now my last question is about resolution. I am using a 2560x1440 monitor and from what I have seen around is that it doesn't support that. Would I need to change the refind.conf resolution to the highest which is 1080 i assume and only use backgrounds with that size?
Which partition did you name as Manjaro? p3?
Do you not have a file accessible from EFI at etc/os-release or etc/lsb-release?
For the resolution, I'm not sure what can be done about that. rEFInd is supposed to show a list of valid modes if you enter an improper
resolution
in the conf file and then it will wait for a keypress. The resolution could be effected bytextmode
.https://www.rodsbooks.com/refind/configfile.html
I wonder if it's possible to create an EDID override for the display so that only 2560x1440 is an option. This would be a driver that is loaded by rEFInd before it chooses a resolution. A commandline to list possible resolutions would also be useful.
You can use
banner_scale fillscreen
in the refind.conf file to make rEFInd scale the backhround image.Last edit: joevt 2020-04-24