From owner-freebsd-i386@FreeBSD.ORG Mon Dec 4 10:29:16 2006 Return-Path: X-Original-To: freebsd-i386@freebsd.org Delivered-To: freebsd-i386@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CF1716A407 for ; Mon, 4 Dec 2006 10:29:16 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1459743CA6 for ; Mon, 4 Dec 2006 10:28:43 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 15DB899007 for ; Mon, 4 Dec 2006 05:29:37 -0500 (EST) Received: from mappit.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id CCA9B99006 for ; Mon, 4 Dec 2006 05:29:36 -0500 (EST) Received: from lists by mappit.linnet.org with local (Exim 4.60) (envelope-from ) id 1GrB6B-0003Lo-0I for freebsd-i386@freebsd.org; Mon, 04 Dec 2006 10:30:59 +0000 Date: Mon, 4 Dec 2006 10:30:58 +0000 From: Brian Candler To: freebsd-i386@freebsd.org Message-ID: <20061204103058.GA12800@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: boot0cfg required before booting >8GB ? X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 10:29:16 -0000 Hello, I installed FreeBSD 6.1 on a HP/Compaq i386 machine with two 20GB partitions - FreeBSD went in the first, and the second was spare. All was well. I let FreeBSD put its own bootloader in the MBR. I then installed OpenBSD 4.0 in the second partition. Unfortunately, it was unable to boot OpenBSD. When the machine started, it offered me F1 FreeBSD F2 BSD but when I pressed F2, it just went beep. I mistakenly assumed that this was a problem with OpenBSD (partly due to an error in their own INSTALL.i386 which still cautions against installing OpenBSD above cylinder 1024) Anyway, to cut a long story short, I've now been able to solve this problem simply by reinstalling the FreeBSD MBR, using boot0cfg -B -v ad0 and F2 happily boots OpenBSD. When I ran boot0cfg, it reported that it was using options=packet,update,nosetdrv which is reasonable enough - the boot0cfg manpage says these are the defaults. The issue is: why didn't this work first time with the MBR installed during the FreeBSD installation program? Unfortunately, I did not take a copy of the MBR before overwriting it with boot0cfg. But my guess (and it's only a guess) is that at install time the MBR is being written with options=nopacket If this is the case, perhaps it ought to be changed to match the current boot0cfg default, to be able to use modern BIOSes in most machines? Or at least, could this be noted in the installation documentation? (My apologies if it already is. A google for "site:www.freebsd.org boot0cfg" turns up a few pages about boot0cfg, but I could find nothing which indicates that you may need to re-run boot0cfg after an initial install if you want the full functionality of booting above the 8GB boundary) Regards, Brian.