Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 15:22:12 +0000
From:      Geoff Buckingham <geoffb@chuggalug.clues.com>
To:        current@freebsd.org
Subject:   Re: newfs_msdos behaviour change between 4.x and 5?
Message-ID:  <20040419152212.GA66959@chuggalug.clues.com>
In-Reply-To: <20040419142242.GB65324@chuggalug.clues.com>
References:  <20040419142242.GB65324@chuggalug.clues.com>

next in thread | previous in thread | raw e-mail | index | archive | help

left out:

fdisk -B -b /boot/cpq-mbr

which uses an  MBR captured from a Compaq server  years ago. 

On Mon, Apr 19, 2004 at 02:22:42PM +0000, Geoff Buckingham wrote:
> 
> Under 4.x the following produces a bootable dos fat partition:
> 
> newfs_msdos -B /boot/win28.b -S 512 -r 32 -i l -c 32 -n 2 -k 6 -m 0xf8 /dev/da0s1
> mount_msdos -l /dev/da0s1 /dest
> cp IO.SY /dest/
> cp MSDOS.SYS /dest/
> cp COMMAND.COM /dest/
> 
> Where /boot/win28.b is a dd'd copy of the first 28 512 byte 
> sectors of a bootable win95 sr2 partition and IO.SYS,
> MSDOS.SYS and COMMAND.COM come from the same FS.
> 
> (Obviosley the da0s1 need to be created matching the BIOS's 
> idea of the GEOMTREY)
> 
> However under 5.2.1 the above produces a non-bootable fs
> 
> Any ideas where I should be looking for the cause of this?
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419152212.GA66959>