Subject: Re: NetBSD(i386)1.3_BETA boot.fs can't boot in IBM TP755CX
To: Deng Hongwei <dhongwei@sz.cei.go.cn>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 01/05/1998 10:47:36
Deng Hongwei writes:
> I want to do some test about this( let BOOTSEC = 0x1000 in NetBSD ),
> but I don't know how many codes relative to it, how to make a boot 
> floppy, and where should I be in to build the install floppy(
> 'sys/arch/i386/boot/biosboot' or 'sys/arch/i386/stand')?

0) IGNORE sys/arch/i386/boot/biosboot! It is old!
1) one builds the boot blocks (which are installed in /usr/mdec) in
   sys/arch/i386/stand by typing "make"
2) to build a boot floppy:
   a) in sys/arch/i386/conf/ do 'config INSTALL' (and optionally
      'config INSTALL_SMALL'
   b) build the kernels in ...i386/compile/INSTALL & INSTALL_SMALL,
      with "make depend && make" in those directories.
   c) in /usr/src/distrib/i386/floppies, do a "make" as root -- this
      will now build install floppy images for you.

You can pretty easily figure out how to modify this procedure to build
with alternate kernels/boot sectors/etc.

Perry