From owner-freebsd-current Wed Nov 25 02:49:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA20704 for freebsd-current-outgoing; Wed, 25 Nov 1998 02:49:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m1-12-dbn.dial-up.net [196.34.155.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA20695 for ; Wed, 25 Nov 1998 02:49:43 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id MAA15178; Wed, 25 Nov 1998 12:47:07 +0200 (SAT) From: Robert Nordier Message-Id: <199811251047.MAA15178@ceia.nordier.com> Subject: Re: /boot/loader what to set rootdev to? In-Reply-To: <199811250640.OAA01720@hsw.generalresources.com> from Christopher Hall at "Nov 25, 98 02:40:26 pm" To: hsw@acm.org Date: Wed, 25 Nov 1998 12:47:02 +0200 (SAT) Cc: 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 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). There's currently no way, though. The boot/loader, with Forth itself, runs in userland (i386 protected mode ring 3). So you'd have to add a BTX syscall, at least, in addition to the Forth code. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message