From owner-freebsd-fs  Tue Dec 17  1:56:28 2002
Delivered-To: freebsd-fs@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 27DCA37B401
	for <freebsd-fs@freebsd.org>; Tue, 17 Dec 2002 01:56:27 -0800 (PST)
Received: from chuggalug.clues.com (chuggalug.clues.com [194.159.1.85])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED1043EC5
	for <freebsd-fs@freebsd.org>; Tue, 17 Dec 2002 01:56:26 -0800 (PST)
	(envelope-from geoffb@chuggalug.clues.com)
Received: from chuggalug.clues.com (localhost [127.0.0.1])
	by chuggalug.clues.com (8.12.6/8.9.3) with ESMTP id gBHANwAR016224
	for <freebsd-fs@freebsd.org>; Tue, 17 Dec 2002 10:23:58 GMT
	(envelope-from geoffb@chuggalug.clues.com)
Received: (from geoffb@localhost)
	by chuggalug.clues.com (8.12.6/8.12.6/Submit) id gBHANwIN016223
	for freebsd-fs@freebsd.org; Tue, 17 Dec 2002 10:23:58 GMT
Date: Tue, 17 Dec 2002 10:23:57 +0000
From: Geoff Buckingham <geoffb@chuggalug.clues.com>
To: freebsd-fs@freebsd.org
Subject: How to make a bootable 4GB dos slice from FreeBSD?
Message-ID: <20021217102357.A16193@chuggalug.clues.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: owner-freebsd-fs@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-fs.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-fs>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-fs>
X-Loop: FreeBSD.org


I am working at the moment using FreeBSD as a replacement for DOS in a
PXE booted buildserver enviroment. (It is just too hard to keep a sensible 
amount of RAM free after load the MS CIFS/SMB stuff and an ethernet driver)

However I need to produce a bootable 4GB DOS partition for the next stage of 
the process. Currently I do this by dd'ing a gzip'd image of such a fs  
onto the disk. 

This takes a while, and I would like to use mewfs_msdos and copy in msdos.sys
io.sys and command.com. However I need to find some documentation for precisely
where DOS expects to find these files. There also appear to be limitations
to the fs tuneables that are acceptable I am unable to 'SYS' a 4GB filesystem
created with simply 'newfs /dev/da0s2' (SYS used is FAT32 aware).

Anybody got a URL for this stuff?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message