We are running NetBSD on a number of machines alongside Leopard and Windows and use rEFIt for selecting the operating system to boot. However, since rEFIt doesn't recognize NetBSD, it only displays the standard icon for unknown legacy operating systems in its boot menu which. Would it be possible to make rEFIt detect NetBSD and display the "correct" icon for it?
just the official NetBSD logo converted to an 128x128 icns file
Sure, after some digging I found the magic numbers to look for on the disk in the NetBSD CVS repo. I'm attaching a ZIP file with a patched build of refit.efi. I was only able to test the code with the NetBSD install CD image, though. Can you please verify it correctly detects the NetBSD partition on your hard disk?
The icon still needs work. (I actually made my own identical one because I didn't notice you had attached one to this tracker item...) The problem is the grey color of the logo is very similar to the grey background used in rEFIt. I'll probably make it black or near-black so it's still readable.
File Added: refit-netbsd-patch.zip
Any results yet? I don't feel comfortable cutting a new release with this code change until I have confirmation it actually detects a NetBSD install on the hard disk.
Sorry for getting back only so late, but I was not really checking this page very often. (Yes, now I know why it's a good idea to register.) The patch works just fine on the three systems I tried it on. Even the icon doesn't look too bad me - but of course YMMV. I myself am happy with it though it doesn't look as good as the FreeBSD icon, but that might be due to the color of the latter. :)
Thanks for your quick response - & thanks for rEFIt in general!
This is included in the 0.13 release. I didn't get around to re-doing the icon, though.
how to change icons:
http://refit.sourceforge.net/doc/c3s1_icons.html
i made an acceptable icon replacement bundle if anyone is interested.
http://ofkcsnl.dnsalias.net/~trb/newPORT10/themes01.html
there´s a NETBSD icon included in my bundle.
it is simply a matter of renaming the icon, to be able showing it for this particular partition.