From owner-freebsd-emulation Wed Aug 6 04:54:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18700 for emulation-outgoing; Wed, 6 Aug 1997 04:54:21 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA18695; Wed, 6 Aug 1997 04:54:19 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 6 Aug 1997 7:53:40 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA24183; Wed, 6 Aug 97 07:53:38 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id HAA24471; Wed, 6 Aug 1997 07:50:55 -0400 Message-Id: <19970806075054.63235@ct.picker.com> Date: Wed, 6 Aug 1997 07:50:54 -0400 From: Randall Hopper To: George Michaelson Cc: current@freebsd.org, emulation@freebsd.org Subject: Re: modifying boot mgrs FROM FREEBSD References: <199708060151.LAA18687@broon.off.connect.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <199708060151.LAA18687@broon.off.connect.com.au>; from George Michaelson on Wed, Aug 06, 1997 at 11:51:46AM +1000 Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk George Michaelson: |So how can you tune the bootmgrs from within FreeBSD? Sure, lotsa recipes |to drop to DOS and run but given the damn thing is actually |written by sysinstall (albiet via weird magic in wizards.c returning hex |in structs) there really should be a way to tweak/frob from inside Unix |and modify the 1-2 bits needed to flag what the preferred booting option is. One thing you might look at is running these DOS multiboot utilities in FreeBSD inside PCEmu or DOSCMD. If the bootmanager uses the BIOS to do all its reading and writing, and if those ISRs are emulated correctly, it just might work. Caveat: Note that I haven't tried this nor heard of anyone that has (...but now that the thought's occurred to me, I'll put it on my list :-). I'd definitely try this first with a small file hard disk image inside a UFS (when not running as root and with the normal, restricting permissions on your /dev files), but if it appears to work successfully, if your system is backed up, and if you don't mind living on the edge, point C: at your raw wd0 or sd0 and give it a shot. (I'm Ccing emulation because I really don't know much about doscmd or pcemu's capabilities and limitations -- just started working with them a few days ago ... so please allow time for some of the experts to follow-up before trying this). Randall Hopper