From owner-freebsd-fs@FreeBSD.ORG Fri Apr 4 06:14:48 2003 Return-Path: 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 D026837B401 for ; Fri, 4 Apr 2003 06:14:48 -0800 (PST) Received: from chuggalug.clues.com (chuggalug.clues.com [194.159.1.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F089943F3F for ; Fri, 4 Apr 2003 06:14:47 -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 h34Eqsvv039093 for ; Fri, 4 Apr 2003 15:52:54 +0100 (BST) (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.12.6/8.12.6/Submit) id h34Eqrds039092 for freebsd-fs@freebsd.org; Fri, 4 Apr 2003 15:52:53 +0100 (BST) Date: Fri, 4 Apr 2003 15:52:53 +0100 From: Geoff Buckingham To: freebsd-fs@freebsd.org Message-ID: <20030404145253.GB39067@chuggalug.clues.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: newfs_msdos modifies BPB for bootable dos partition? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 14:14:49 -0000 When creating a new FAT32 filesystem withe newfs_msdos using the -B option to provide a boot sector (Larger than one sector) should newfs_msdos make all the required changes to the BPB to produce a bootable dos partition? (Provided that IO.SYS, MSDOS.SYS and COMMAND.COM corresponding to the boot secotor are copied into the fs next) I am using 28 sectors from win95sr2 and success seems dependant on using similar disk geometry to the doner fs. Do I need this much data? Most of it must be that bitmap image that gets splashed all over the screen. Am I just missing out some obscure parameter, or is work required on one of the other FAST32 specific structures? http://www.file-recovery.net/downloads/filerecovery.pdf http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win9x/fat32_6re8.asp