From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 19 16:33:38 2014 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE3BA8C7 for ; Sun, 19 Jan 2014 16:33:38 +0000 (UTC) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A81B1955 for ; Sun, 19 Jan 2014 16:33:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZN00F00PYL9600@smtpauth2.wiscmail.wisc.edu> for freebsd-amd64@freebsd.org; Sun, 19 Jan 2014 10:33:31 -0600 (CST) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.19.162415, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-68-77.dsl.mdsnwi.sbcglobal.net [76.208.68.77]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZN00C4NPZTXD20@smtpauth2.wiscmail.wisc.edu>; Sun, 19 Jan 2014 10:33:30 -0600 (CST) Message-id: <52DBFE59.3060101@freebsd.org> Date: Sun, 19 Jan 2014 10:33:29 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Raimundo Santos , Volker Nebel Subject: Re: Booting FreeBSD on a Macintosh? References: <52D6D32A.9010506@rancid.berkeley.edu> In-reply-to: Cc: freebsd-amd64@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 16:33:38 -0000 On 01/19/14 09:24, Raimundo Santos wrote: > On 15 January 2014 17:26, Volker Nebel wrote: > >> Is type freebsd-boot wrong? > > Hello Volker, > > in MBR you do not need a boot partition. With the way MBR works you just > need to set an active boot partition and write the right boot code where > you need it. > > mdoc.su/f/gpart manpage have good example of doing this: > > Create an MBR scheme on *ada0*, then create a 30GB-sized FreeBSD slice, > mark it active and install the *boot0* boot manager: > > /sbin/gpart create -s MBR ada0 > /sbin/gpart add -t freebsd -s 30G ada0 > /sbin/gpart set -a active -i 1 ada0 > /sbin/gpart bootcode -b /boot/boot0 ada0 > > Now create a BSD scheme (BSD label) with space for up to 20 partitions: > > /sbin/gpart create -s BSD -n 20 ada0s1 > > Create a 1GB-sized UFS partition and a 4GB-sized swap partition: > > /sbin/gpart add -t freebsd-ufs -s 1G ada0s1 > /sbin/gpart add -t freebsd-swap -s 4G ada0s1 > > Install bootstrap code for the BSD label: > > /sbin/gpart bootcode -b /boot/boot ada0s1 > > Never try MBR creation within installer paprtition manager, maybe it create > all these for you. > It does, in fact, if you select an MBR scheme. -Nathan