From owner-freebsd-questions Tue Apr 28 09:32:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA00322 for freebsd-questions-outgoing; Tue, 28 Apr 1998 09:32:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA00287 for ; Tue, 28 Apr 1998 09:32:02 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id LAA00702; Tue, 28 Apr 1998 11:32:00 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id LAA01392; Tue, 28 Apr 1998 11:31:28 -0500 Message-ID: <19980428113128.00344@right.PCS> Date: Tue, 28 Apr 1998 11:31:28 -0500 From: Jonathan Lemon To: Martin Machacek Cc: freebsd-questions@FreeBSD.ORG Subject: Re: doscmd problem References: <199804280931.CAA05134@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199804280931.CAA05134@hub.freebsd.org>; from Martin Machacek on Apr 04, 1998 at 11:30:50AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 04, 1998 at 11:30:50AM +0200, Martin Machacek wrote: > I'm trying to make doscmd running on my FreeBSD 3.0 (cvsuped and world made on > March 20). I've very closely followed the example on the doscmd's manpage. > I've created minimalisitic /etc/doscmdrc saying: > > X11_FONT=fixed > assign A: /dev/rfd0.1440 1440 > assign A: /dev/rfd0.720 720 > assign hard /u/doscmd/disk_c 30 > > I've touched the /u/doscmd/disk_c file and made it world readable and > writable. I've also created bootable DOS floppy, put it in the floppy drive > (A) and started doscmd -b -x. I've received (on the terminal I've started the > doscmd) following messages: > > martin@woody:/u/doscmd# doscmd -x -b > Init: 0 > Unknown interrupt 15 function 4101 > Unknown interrupt 15 function 87ee > > Finally the doscmd window came up showing DOS prompt. I've started fdisk from > the floppy, selected 'Create DOS partition ...' and then 'Create Primary DOS > Partition'. After that fdisk said: > > No space to create DOS partition > > There is about 200MB free on the partition i which the /u/doscmd/disk_c file > resides. I've tried couple more tricks, like zeroing the /u/doscmd file to the > requested size, vnconfiging it and trying to access it through /dev/rvn0c. > None of them helped. The file must already exist, with the correct size. eg, for a type 30 disk, your disk_c file should be 55931904 bytes in length. You did say you alredy zeroed the file to the correct size, but you may want to check. If this still fails, try giving a specific C/H/S value for the disk, and creating the correct size, eg: assign C: /u/doscmd/disk_c 1600 8 8 dd if=/dev/zero of=/u/doscmd/disk_c bs=1m count=50 I've had some weird results in the past with fdisk not liking certain H/S values, so perhaps that's the problem. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message