Subject: How to use bootxx_msdos
To: None <port-i386@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: port-i386
Date: 12/27/2005 11:55:30
Hi all,

I'm trying to create a FAT boot floppy (in fact, an image).  This is
what I do:

dd if=3D/dev/zero of=3Dtest.img bs=3D1k count=3D2880
mformat -i test.img -f 2880 ::
mcopy -i test.img /boot ::
mcopy -i test.img /tmp/netbsd.gz ::
installboot test.img /usr/mdec/bootxx_msdos

But after running the installboot command, the image gets
corrupted.  I've also tried passing '-H 36' to mformat to "reserve"
some sectors at the beginning of the file system, but I get the
same results.

Can't I use bootxx_msdos in this way?  If not, how is it supposed
to work?

Thanks,

--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/
The NetBSD Project - http://www.NetBSD.org/