From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 08:31:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2C0106564A for ; Sat, 17 Apr 2010 08:31:27 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id DE3F68FC21 for ; Sat, 17 Apr 2010 08:31:26 +0000 (UTC) Received: (qmail 19269 invoked from network); 17 Apr 2010 08:04:45 -0000 Received: from dsl081-163-121.sea1.dsl.speakeasy.net (HELO [192.168.1.182]) (jcw@[64.81.163.121]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Apr 2010 08:04:45 -0000 Message-ID: <4BC96B9D.7020102@speakeasy.net> Date: Sat, 17 Apr 2010 01:04:45 -0700 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: boot loader too large X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2010 08:31:27 -0000 I have been following a number of GPT and ZFS docs on the web. I intend to run UFS with GPT. I have partitioned the drive. I installed the bootcode using: gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptboot -i 1 ad4 ad4p1 is a 1 MB partition with nothing in it and type=freebsd-boot. The root device is ad4p2 with binaries and kernel already installed. When I boot I get an error message: boot loader too large I am not sure what stage of the boot process this occurs in. I do not see any of the familiar boot0 or boot1 prompts. I tried installing mbr, boot0, and boot1 just to see what would happen. I didn't expect them to boot assuming that they are GPT unaware. I did get some familiar prompts/errors. I at least confirmed that I was managing to get the bootcode installed. Is there any documentation on the new GPT boot process yet? I am curious how the PMBR knows to pass control to the boot partition, and then on the to root partition's /boot/loader. Thanks, Jason