From owner-freebsd-hackers@FreeBSD.ORG Mon May 7 20:53:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97C89106566B for ; Mon, 7 May 2012 20:53:25 +0000 (UTC) (envelope-from eric@shadowsun.net) Received: from mail.atlantawebhost.com (dns1.atlantawebhost.com [66.223.40.39]) by mx1.freebsd.org (Postfix) with ESMTP id 072048FC17 for ; Mon, 7 May 2012 20:53:24 +0000 (UTC) Received: (qmail 24059 invoked from network); 7 May 2012 16:53:23 -0400 Received: from thingy.cs.umass.edu (HELO ?10.1.40.116?) (128.119.40.196) by mail.atlantawebhost.com with SMTP; 7 May 2012 16:53:23 -0400 Message-ID: <4FA8363D.6050204@shadowsun.net> Date: Mon, 07 May 2012 16:53:17 -0400 From: Eric McCorkle User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.4) Gecko/20120425 Thunderbird/10.0.4 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig09119EF3ECFC7A26B1AA81EA" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD on MacBook X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2012 20:53:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig09119EF3ECFC7A26B1AA81EA Content-Type: multipart/mixed; boundary="------------010300000801080006040906" This is a multi-part message in MIME format. --------------010300000801080006040906 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/05/12 23:58, Alfred Zhong wrote: > Hi Dear Hackers, > > I tried to install FreeBSD on my MacBook. Bascially I followed this pos= t > online. > http://www.glenbarber.us/2011/11/12/Dual-Booting-OS-X-and-FreeBSD-9.htm= l > > And the tragedy happened. I do remember, as the post said, typed > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 3 ada0 > > By the way, I did installed rEFIT on Mac OS > > After rebooting, I see neither my Mac boot option nor the FreeBSD boot > option. Even after holding Option key... > > The only stuff can boot is if I insert a CD (say, the FreeBSD live CD).= =2E. > > My installation was successful, but the boot loader was messed up! > > How can I fix this? > It is possible to install on a macbook (I've done it), though the process is a bit more intricate than any of the guides available suggest.= Basically, you need to install an MBR and boot in legacy BIOS mode.=20 Apple's EFI implementation does some funny things, and FreeBSD doesn't support EFI on i386 (yet, I'm actually working on adding support). I have a ZFS-only system, laid out as follows: there is an MBR with one partition, containing a BSDlabel. Inside that, there is a swap partition, and a single ZFS instance. When installing, you'll need to use dd to install the first part of zfsboot to the bsdlabel, and the remaining portion to the free space after the ZFS header (there's a guide on how to do that somewhere). --=20 Eric McCorkle Computer Science Ph.D Student eric@shadowsun.net --------------010300000801080006040906-- --------------enig09119EF3ECFC7A26B1AA81EA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJPqDZCAAoJENSCzbQ+koZ7sQ4P/AjUG473YYZt0s0P6mph2MU7 WsZM10TCCkPpHotGaijfPrj0gQ7+qyewLw6LlwVR/NElLm62VmOhqu1ZbL6Z+ElB iDOtWEUB2+zQJ8lVn1sCBu55njr4HmbjPpBXbstFgjh2GNrkEmqKXvWgFRw+fNZQ h7v/aqAwhFsIQD1NhIxBnX11mJrltfmRgYJ+2/mgvIaEuHUB297MkCt/fSZjmNeY i0kW1H/w5CCX7t9SyasLWDTz+S7pVzpWiNpAcUkwsSzE7HPCZ7Bt6Ni1WPcqotmI 5YSJnoXhhrL0+i3Ry3CabA8e0+ypoNDIEgdVVvi1GPn3TMIcIF3kVh1S/lpVgJrt aMHMg8x7d4oSMufpcfbFCWVfbCBBTsdBzYva2A1DqpqyXvc3KM8HIVr0+eWg+SA7 TH2H8fnjg/0NW374GPpfecTO02VVILbroy8tyCNul+1TwkAs5pIHa8nbyzi8AScQ Bd4GZqxo/8JfyIiKbo2b5GJ0s3HUhreFuYAFBCBjwdQi415rBL4IFJDNXVL+wQiM 9A6uiw03qMn2aKehpQs7fCuAnMrF2/oXcoBR9/QaEmfxZ43sCdq/t+vfDHBME4gy IFYILJr2ssJbogLf5fNn3vzC58K+c4j9hrmwy9BASfdYE/hwvuQpS3vodc9jcofp cgJr7qjNqLIvIDqcc3Ry =Z0at -----END PGP SIGNATURE----- --------------enig09119EF3ECFC7A26B1AA81EA--