From owner-freebsd-embedded@FreeBSD.ORG Fri Apr 17 12:58:26 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80F71065670 for ; Fri, 17 Apr 2009 12:58:26 +0000 (UTC) (envelope-from matthias-bsde@mteege.de) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) by mx1.freebsd.org (Postfix) with ESMTP id A3DF68FC1C for ; Fri, 17 Apr 2009 12:58:26 +0000 (UTC) (envelope-from matthias-bsde@mteege.de) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mx.arcor.de (Postfix) with ESMTP id 3426F28EF12; Fri, 17 Apr 2009 14:58:25 +0200 (CEST) Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 26237ABD19; Fri, 17 Apr 2009 14:58:25 +0200 (CEST) Received: from crn.mteege.de (six.mteege.de [88.79.143.204]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 5B3AF2BAA85; Fri, 17 Apr 2009 14:58:24 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-13.arcor-online.net 5B3AF2BAA85 Received: from cab.de ([192.168.153.14]) by crn; Fri Apr 17 12:58:23 GMT 2009 Message-ID: <0c9e7e64a8be8ddaf12a27ab43dbbf8c@mteege.de> To: fb-embedded@psconsult.nl, freebsd-embedded@freebsd.org Date: Fri, 17 Apr 2009 14:58:23 +0200 From: Matthias Teege In-Reply-To: <20090417104848.GA919@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Subject: Re: nanobsd boot slice selection does not work X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-embedded@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 12:58:27 -0000 Moin, > Did you see correct output from dd and fsck at the end of the updatepX > run? Yes, no error message. > What does 'boot0cfg -v ad0' tell you (change ad0 to you flash device if > different)? # boot0cfg -v ad1 # flag start chs type end chs offset size 1 0x00 0: 1: 1 0xa5 494: 15:32 32 253408 2 0x80 495: 1: 1 0xa5 989: 15:32 253472 253408 3 0x00 990: 0: 1 0xa5 993: 15:32 506880 2048 version=1.0 drive=0x80 mask=0x3 ticks=182 bell=# (0x23) options=packet,update,nosetdrv default_selection=F2 (Slice 2) reboot with slice 2, works # boot0cfg -s 1 -v ad1 # flag start chs type end chs offset size 1 0x00 0: 1: 1 0xa5 494: 15:32 32 253408 2 0x80 495: 1: 1 0xa5 989: 15:32 253472 253408 3 0x00 990: 0: 1 0xa5 993: 15:32 506880 2048 version=1.0 drive=0x80 mask=0x3 ticks=182 bell=# (0x23) options=packet,update,nosetdrv default_selection=F1 (Slice 1) reboot with slice 2 to, but shows "Boot: 1" in Bootmanager. If I select "1" with keyboard/console it boots from slice 1. If I select "2" with the keyboard it boots from slice 2. It autoboots the slice which was last selected by keyboard. It doesn't matter which slice I select with boot0cfg. Many thanks Matthias