Subject: Re: Building a boot floppy?
To: Zen <zen@kill-9.it>
From: Jochen Kunz <jkunz@maja.unixag-kl.fh-kl.de>
List: port-prep
Date: 05/23/2003 13:26:25
On Fri, May 23, 2003 at 11:35:53AM +0200, Zen wrote:

> 	Nonaka or somebody else can enlighten me on building a boot
> 	floppy for the prep? 
$ cat sys/arch/prep/stand/README  
$NetBSD: README,v 1.1 2000/02/29 15:21:52 nonaka Exp $

Contents.
        boot        NetBSD/prep boot-loader
        boot_com0   NetBSD/prep boot-loader(serial console) 
        mkbootimage Make bootable floppy image.


How to make bootable floppy disk image.

         $ cd /sys/arch/prep/stand
         $ make
            For cross compile environment:
                $ for i in common boot_com0 boot; do (cd $i; ppc-make); done
                $ (cd mkbootimage; make)
         $ mkbootimage/mkbootimage boot/boot /tmp/boot.fs
            To make kernel attached bootable floppy image:
                $ gzip -c ../compile/YOUR_KERNEL/netbsd > /tmp/netbsd.gz
                $ mkbootimage/mkbootimage boot/boot /tmp/boot.fs /tmp/netbsd.gz
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/