From owner-freebsd-embedded@FreeBSD.ORG Mon May 31 01:16:53 2010 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 8E7D8106566C for ; Mon, 31 May 2010 01:16:53 +0000 (UTC) (envelope-from pierre@userid.org) Received: from mail.storm.ca (unknown [IPv6:2607:f0b0:0:6:209:87:239:66]) by mx1.freebsd.org (Postfix) with ESMTP id 434D68FC0A for ; Mon, 31 May 2010 01:16:53 +0000 (UTC) Received: from mail.userid.org (pandora.userid.org [216.106.102.33]) by mail.storm.ca (8.14.2+Sun/8.14.2) with ESMTP id o4V0RV5S023868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 30 May 2010 20:27:36 -0400 (EDT) Received: from [IPv6:2607:f0b0:1:3800:1406:740f:3344:31f1] (unknown [IPv6:2607:f0b0:1:3800:1406:740f:3344:31f1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pierre) by mail.userid.org (Postfix) with ESMTP id 41C552C779E for ; Sun, 30 May 2010 20:27:21 -0400 (EDT) Message-ID: <4C030271.3090807@userid.org> Date: Sun, 30 May 2010 20:27:29 -0400 From: Pierre Lamy User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-userid-MailScanner-Information: Please contact the ISP for more information X-userid-MailScanner-ID: 41C552C779E.A0445 X-userid-MailScanner: Found to be clean X-userid-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.001, required 6, autolearn=not spam, NO_RELAYS -0.00) X-userid-MailScanner-From: pierre@userid.org X-Spam-Status: No Subject: Trying to understand the boot process X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 01:16:53 -0000 I've got a nice little Atom box with a CF and hard drive, and I can currently boot NanoBSD off the flash no problem. I would like to optionally select the HD as a bootable device, and it does show up in the boot: 1 FreeBSD 3 FreeBSD 5 Drive 1 Now, I have already set a slice and put /boot in ad4s1a, and FreeBSD is manually installed out of a chroot'ed install (tar'd on seperate system and extracted correctly to the appropriate local HD filesystem) but I can't figure out how to actually get it booted, it seems to be missing the MBR? I have already RTFM, and used bsdlabel -B ad4s1, and also tried fdisk -B. I simply get the "Reboot and select proper boot device or insert boot media..." message. Does anyone have any suggestions? My second question is how to label the boot options so that 1 says NanoBSD, 3 doesn't show up at all, and 5 days FreeBSD. -Pierre