From owner-freebsd-current Wed Nov 25 08:06:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17154 for freebsd-current-outgoing; Wed, 25 Nov 1998 08:06:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m2-29-dbn.dial-up.net [196.34.155.93]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17136 for ; Wed, 25 Nov 1998 08:06:31 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id SAA18008; Wed, 25 Nov 1998 18:04:03 +0200 (SAT) From: Robert Nordier Message-Id: <199811251604.SAA18008@ceia.nordier.com> Subject: Re: /boot/loader what to set rootdev to? In-Reply-To: <199811251503.JAA10521@friley-185-114.res.iastate.edu> from Chris Csanady at "Nov 25, 98 09:03:57 am" To: ccsanady@friley-185-114.res.iastate.edu (Chris Csanady) Date: Wed, 25 Nov 1998 18:04:00 +0200 (SAT) Cc: rnordier@nordier.com, hsw@acm.org, mike@smith.net.au, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Csanady wrote: > > >Christopher Hall wrote: > > > >> Another question: Is there any way to boot DOS from /boot/loader? > >> Perhaps using some Forth code? > > > >I'm curious why you should want to do this (ie. rather than use a > >partition manager such as boot0/booteasy or some free or commercial > >alternative). > > Perhaps if you want to dual boot off of a serial console. Right now, > I have to use lilo to boot my FreeBSD partition. It would be nice > if it were possible to boot random partitions from FreeBSD as well. Yes, that's true. Bear in mind that boot/loader just looks like a FreeBSD kernel to the boot blocks. So one solution might be a "boot/manager". This could be loaded by the boot blocks or by boot/loader, and could itself load either boot/loader or other boot blocks. With BTX and the current libstand, ficl, and other boot library code, the necessary tools now exist for producing various mutant boot applications on demand. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message