From owner-freebsd-emulation Wed Mar 26 20:32:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA03277 for emulation-outgoing; Wed, 26 Mar 1997 20:32:15 -0800 (PST) Received: from thelab.hub.org (hal-ns1-12.netcom.ca [207.181.94.76]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA03272 for ; Wed, 26 Mar 1997 20:32:09 -0800 (PST) Received: from thelab.hub.org (localhost [127.0.0.1]) by thelab.hub.org (8.8.5/8.8.2) with SMTP id AAA12582; Thu, 27 Mar 1997 00:31:28 -0400 (AST) Date: Thu, 27 Mar 1997 00:31:28 -0400 (AST) From: The Hermit Hacker To: Michael Smith cc: freebsd-emulation@FreeBSD.ORG Subject: Re: README.booting_dos questions... In-Reply-To: <199703270327.NAA05498@genesis.atrad.adelaide.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 27 Mar 1997, Michael Smith wrote: > The Hermit Hacker stands accused of saying: > > > > But the next step says to insert bootable floppy into drive > > A and type 'doscmd': > > Please note that, as the README says, the instructions you're > following are _old_. You'd be much better off using a bootfile as > with pcemu. Haven't found anywhere that explains this, but I've finally figured out how to 'fdisk' a C: drive :) The README mentions using 'dd', but doesn't do more then that (I know, old docs)...since my familiarity with dd is limited, I just wiped together a quick C program to call 'truncate' to create a 11MB "dos file system" for me to work with, and now fdisk works...format is next. Finally, for this email, I can fdisk the 'file', but I can't seem to format it. The fdisk completes as expected (crashes doscmd), and the format seems to work okay, but if I do a 'dir c:', I get 'Invalid media type reading drive C... Only thing I can think of is that I have to use dd for some reason, vs using truncate() to create the 'bootfile'? I've gone through just about everything I can think of, including running with -D to see that the format *seems* to work, to no avail :( > > > ./doscmd > > Unknown interrupt 15 function 4101 > > doscmd: fatal error int16 func 0x1 only supported in X mode > > So, how about running it _in_x_mode_? "doscmd -bx" > *yes!* now I can get a 'shell'...next, a file system...see above :(