Rui Paulo’s blog

YAFB! Yet Another FreeBSD Blog

FreeBSD IA32 EFI boot loader

with 3 comments

Something I’ve wanted to do for sometime was to boot FreeBSD on my MacBook via EFI. EFI is a firmware standard for BIOS and OS writers to deal with. Basically, it replaces the good old MBR booting scheme and is capable of much more, namely, all the real mode restrictions are gone, TCP support in the firmware and, if you write a driver, you can have UFS, ZFS, whateverFS support on the firmware itself

Apparently, I couldn’t make it work for last years’s Summer of Code, but now something works. :-) I was able to boot loader.efi on my MacBook and see a “FreeBSD/i386″ boot message. Yay! Unfortunately, there seems to be a bug in (probably) the FORTH library and it sometimes hangs or, if it doesn’t hang, it displays a lot of garbage.

So, you have a MacBook and want to try this out? Great! Here’s the procedure:

Don’t expect nothing fancy though.

UPDATE: the bug is not in the FORTH library as I originally though.

Written by Rui Paulo

August 31st, 2008 at 5:09 pm

Posted in FreeBSD

3 Responses to 'FreeBSD IA32 EFI boot loader'

Subscribe to comments with RSS or TrackBack to 'FreeBSD IA32 EFI boot loader'.

  1. This is interesting work. Is your loader.efi built from the stock FreeBSD tree or did you apply any modifications? If so, can you post patches?

    Philip

    1 Sep 08 at 10:52 am

  2. The development is happening in the FreeBSD perforce tree at //depot/projects/efi.
    I’ll post patches after fixing some bugs.
    Thanks.

    Rui Paulo

    1 Sep 08 at 1:09 pm

  3. [...] | user-saved public links | iLinkShare 2 votesRui Paulo: FreeBSD IA32 EFI boot loader>> saved by yarox 1 days ago2 votesReview: Bios Vlaamse Bourgogne (Monk’s Cafe)>> saved by [...]

Leave a Reply