Re: Building a boot floppy?

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.