From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 20:12:00 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 EEC5B106573A for ; Sat, 17 Apr 2010 20:12:00 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 509338FC17 for ; Sat, 17 Apr 2010 20:12:00 +0000 (UTC) Received: (qmail 494 invoked from network); 17 Apr 2010 20:11:59 -0000 Received: from s4.stradamotorsports.com (HELO [192.168.1.182]) (jcw@[64.81.163.122]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Apr 2010 20:11:59 -0000 Message-ID: <4BCA160E.5090703@speakeasy.net> Date: Sat, 17 Apr 2010 13:11:58 -0700 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 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 20:12:01 -0000 Dan Naumov wrote: > Hey > > A 64kb freebsd-boot partition should be more than plenty for what you > want to do, see my setup at: http://freebsd.pastebin.com/QS6MnNKc > Interesting. I read somewhere that the boot partition should not be too large as the entire partition is loaded into memory. I re-partitioned my drive to create a 64KiB freebsd-boot partition and I no longer get the error. It would appear that there is an undocumented maximum size to the freebsd-boot partition. In my case, a 1MiB boot partition was too large. Now I need to teach gptboot in ad4p1 how to find my root partition in ad4p4 without manual intervention. Is there a GPT equivalent to boot0cfg? gptboot currently attempts to boot: 0:ad(0p2)/boot/kernel/kernel I'd like it to boot: 0:ad(4p4)/boot/loader How does the boot process discover the partition in which the gptboot loader resides? And GPT is pretty damn slick. Nice work FreeBSD hackers. Thanks, Jason C. Wells