From owner-freebsd-questions@FreeBSD.ORG Wed Jul 20 20:45:03 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 C25B316A41F for ; Wed, 20 Jul 2005 20:45:03 +0000 (GMT) (envelope-from ross@axe.homelinux.net) Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3538243D48 for ; Wed, 20 Jul 2005 20:45:02 +0000 (GMT) (envelope-from ross@axe.homelinux.net) Received: from lucy.axe.homelinux.net ([82.36.124.90]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 20 Jul 2005 21:45:46 +0100 Received: from [192.168.0.3] (purplehaze [192.168.0.3]) by lucy.axe.homelinux.net (Postfix) with ESMTP id A82DD47584; Wed, 20 Jul 2005 21:45:01 +0100 (BST) Message-ID: <42DEB7CC.7070003@axe.homelinux.net> Date: Wed, 20 Jul 2005 21:45:00 +0100 From: Ross Kendall Axe User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <42DC1173.6020307@axe.homelinux.net> In-Reply-To: X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://www.rossaxe.pwp.blueyonder.co.uk/.pgpkey Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jul 2005 20:45:47.0014 (UTC) FILETIME=[0171B260:01C58D6C] Cc: freebsd-questions@freebsd.org 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: Wed, 20 Jul 2005 20:45:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? > I know that linux supports this, as well as some other clever > trickery with partitions at system-startup, but FreeBSD doesn't. I must admit, I'm not sure what trickery you're talking about here, unless you're referring to initrd, which _is_ a horrible hack IMHO. Ross -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC3rfL9bR4xmappRARAhXyAKC7qiA9t0C9/Eny12Q8nG7XXqE9JgCeLPb9 ZAb5ityPlJ0OpZJvDsm43LY= =goS5 -----END PGP SIGNATURE-----