From owner-freebsd-hackers Wed Sep 23 15:17:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27000 for freebsd-hackers-outgoing; Wed, 23 Sep 1998 15:17:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26992 for ; Wed, 23 Sep 1998 15:17:07 -0700 (PDT) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id PAA12146; Wed, 23 Sep 1998 15:17:04 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp04.primenet.com, id smtpd012128; Wed Sep 23 15:16:57 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id PAA15669; Wed, 23 Sep 1998 15:16:51 -0700 (MST) From: Terry Lambert Message-Id: <199809232216.PAA15669@usr09.primenet.com> Subject: Re: Booting from NT ? To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 23 Sep 1998 22:16:50 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199809231617.SAA07726@labinfo.iet.unipi.it> from "Luigi Rizzo" at Sep 23, 98 06:17:07 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is there a way to boot a FreeBSD kernel from NT ? I have been told that > fbsdboot does not run because of protection problems.... > > I admit i want to make things difficult, because i cannot have a > FreeBSD partition on the disk so i need to boot a kernel from an > NTFS partition (not necessarily from NT, even from the boot manager > would do but i doubt i can load it!) >From a running NT, you would have to provide a VXD that, running in protected mode, loaded the code and jumped to it. You would basically have to recreate most of the second stage boot, and start thwacking up a virtual address space. At the very least, you would need to modify locore.s. NT doesn't return to real mode for anything; that's why it doesn't have the VM86 based drivers available, as Windows 95 does, that would allow it to run on all PC hardware. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message