Hello, guys, and thanx for the info !
I'm fighting with Chameleon for a couple of days already,
trying to make it see and boot FreeBSD
I tried various versions/hints from iFabio and Black OSX in InsanelyMac (MacFanatic76 there
),
and stopped here, having hoped this one would do the job finally.
Nope...It also cannot see the damn FreeBSD-partition,
or is it just me that forgets to do something important ?
Here's what i did so far + some drives layout info :
- FreeBSD is installed on the second BIOS-drive, with a Mac-created GPT structure,
the EFI-part is setup with all the needed stuff for Lion + Chameleon
- All other partitions from this and other drives are properly detected,
Lion is also booting just fine
- Here the setup :
bash-3.2# gptsync /dev/rdisk1
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 195459999 Mac OS X HFS+
3 195722144 212499359 Linux Swap
4 212499360 422214559 Basic Data
5 195460000 195460127 Unknown
6 422214560 438991775 FreeBSD Swap
7 438991776 459963295 FreeBSD UFS
8 459963296 491420575 FreeBSD UFS
9 491420576 543849375 FreeBSD UFS
10 543849376 648706975 FreeBSD UFS
Current MBR partition table:
# A Start LBA End LBA Type
1 1 39 ee EFI Protective
2 40 409639 af Mac OS X HFS+
3 409640 195459999 af Mac OS X HFS+
4 195722144 12499359 82 Linux swap / Solaris
Status: GPT partition of type 'Unknown' found, will not touch this disk.
I used a manual way of installing FreeBSD 8.2 AMD64, because the standard installer
and its "fdisk" are incapable of handling GPT properly.
Used standard UFS-formatting of the partitions, because ZFS is even worse to boot from
Partitions are :
#5 - freebsd-boot
#6 - freebsd-swap
#7-10 - freebsd-ufs, for root, var, tmp and usr respectively
For booting FreeBSD, i created a partition of type "freebsd-boot" and size 64K,
which is shown in the above table as "unknown", the 5-th part.
Wrote the bootcode as suggested :
gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptboot -i 5 ad12
This would of course boot FreeBSD, because it then remains the only bootloader
on the drive and because of the "pmbr" (protective MBR) too.
Well, putting the "gptboot" on the root part (part 7) did not make any difference as well,
when the pmbr is replaced with Chameleon. I followed Fabio's post here, downloaded
Kabyl's branch (thanx !), applied the V2-diff, compiled it manually (not with XCode)
and put the "default" theme, which contains BlackOSX's *BSD-icons (thanx !)
Installed it as usual, using the boot0, boot1h and boot-files (booting from EFI).
Same result... No UFS-partition is seen, at all.
Using gptsync and putting FreeBSD-partitions in the MBR-part of the drive - no sense.
Could I please get any hints or remarks, as what could be wrong my side ?
Thanx all in advance !
Cheers