From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 19 15:25:12 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 5FCC391F for ; Sun, 19 Jan 2014 15:25:12 +0000 (UTC) Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 267E2150D for ; Sun, 19 Jan 2014 15:25:12 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i7so4295067oag.15 for ; Sun, 19 Jan 2014 07:25:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=J5vXrJFFUOuiALJ1ElQn3bznekgaYir33sTp7k0wxDM=; b=JKmKUxI6WxR4QxEF+5PJLF0A8ANUa0hT7Q28ozW4aNskeRnLkE4BpSCdVtrW1c+zzc SOPIj50TGOKmGfLXME7hN4yHvtLWJTYQJcp+HC+2BgXRV+/ZA7h7Ydbok80byUr5g4fo 1BtzNmkRahEzOGUhK3B5oxsfop8kTQEdTH+iPZymlqyeyv0ET/4UxmI4yysf/ALVNVG4 RwgtaBMM+EzfMVsK6pK6imhbANknorZZW0hn/2YGJ5XyVgMAJe3vBBqUl16UdvLycQRm 2hkSLY0DIUZaORfYn07N6pQpEHZyuqHlO0f9RhRjMGXF4OGodNW1hX2ZDpXT/MK5PTNa FEWg== X-Received: by 10.182.53.72 with SMTP id z8mr11546588obo.36.1390145111294; Sun, 19 Jan 2014 07:25:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.84.148 with HTTP; Sun, 19 Jan 2014 07:24:51 -0800 (PST) In-Reply-To: References: <52D6D32A.9010506@rancid.berkeley.edu> From: Raimundo Santos Date: Sun, 19 Jan 2014 13:24:51 -0200 Message-ID: Subject: Re: Booting FreeBSD on a Macintosh? To: Volker Nebel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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 15:25:12 -0000 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. Best regards, Raimundo Santos