From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 14:26:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5E4316A41F for ; Thu, 21 Jul 2005 14:26:09 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1273843D46 for ; Thu, 21 Jul 2005 14:25:59 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 6808 invoked from network); 21 Jul 2005 14:25:58 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Jul 2005 14:25:58 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 435C63E; Thu, 21 Jul 2005 10:25:58 -0400 (EDT) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org References: <42DC1173.6020307@axe.homelinux.net> <42DEB7CC.7070003@axe.homelinux.net> From: Lowell Gilbert Date: 21 Jul 2005 10:25:58 -0400 In-Reply-To: <42DEB7CC.7070003@axe.homelinux.net> Message-ID: <44wtnki6bt.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: /boot on a separate partition 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: Thu, 21 Jul 2005 14:26:09 -0000 Ross Kendall Axe writes: > Garance A Drosihn wrote: > > At 9:30 PM +0100 7/18/05, Ross Kendall Axe wrote: > > > >> > >> ... I want to place the /boot directory in a small 25MB partition > >> at the start of the drive. Setting up the partition with sysinstall > >> is easy enough, but does anyone have any suggestions of how to > >> diddle the bootloader to accept this configuration? > > > > > > I doubt you can on FreeBSD. The problem is that the OS would have > > to mount both / and /boot before it could do anything, and FreeBSD > > doesn't do that. It assumes the partition that you are loading > > from is '/', and uses that to find (for instance) /etc/fstab so > > it can find out what the other partitions are. > > I would have though that putting '/sbin/mount /boot' at the start of the > /etc/rc would sort that out. Surely the contents of /lib, /bin and > /sbin are enough to get you that far? The kernel has to be loaded *first*.