DragonFly users List (threaded) for 2012-03
Re: Single boot EFI Mac install
On Thu, Mar 22, 2012 at 12:28 AM, peeter (must) <email@example.com> wrote:
> Thanks again, partial success so far: could get refit working but
> apparently refit does not boot dfly, or at least not yet.
> I made two partitions for dfly as described in the README on the live
> cd, a ufs partition for /boot and hammer partition for the rest. refit
> recognizes the boot partition as a FreeBSD one and when I choose to
> boot it in the refit many then I get a blank screen and then "No
> bootable device -- insert boot disk and press any key". Then the
> computer hangs.
2 GPT partitions or 2 slices in the dragonfly partition?
> I thought it might be since refit isn't familiar with 64bit disklablel
> but using disklabel32 gives the same result.
> I tried to gptsync the partition tables but refit refuses; refit sees
> dfly partitions as "Unknown" and refuses to do anything with them. I
> thought there might be a way to force gptsync but refit shell hasn't
> got gptsync.
Did you use a GPT aware partitioning tool?
(g)parted or cgdisk on Linux livecds (sysresccd etc.) or Apple's Disk Util.
> I wonder if there's a way to make refit recognize how to boot from the
I've never booted a BSD via rEFIt. Is it possible you need to have a
1MB BIOS BOOT partition as the 3rd partition?
> dfly ufs partition? I was browsing around to find if grub2 might work
> but haven't found the right .efi image yet.
The following is what "should" work, but I didn't try it out for BSDs.
You could of course install a grub.efi image inside the HFS+ partition
and then provide a grub.cfg with the chainloader config or kernel
loader config based on one of the myriads of grub2 plugins for
Creating a grub2.efi image file is not hard. Get a livecd with
grub2-efi-32 and then use usegrub-mkimage to create an efi image
file by selection all plugins/modules you want and the output filename.
Once you have that, write or generate a grub.cfg and put it in the
Next bless the grub efi image instead of refit.efi in the OSX installer's
If you have an Nvidia or ATI video adapter you might have to load one
of the video bios grub plugins or just boot with rEFIt to avoid such issues.