Subject: Re: A boot disk
To: dkwok <dkwok@iware.com.au>
From: Julio Merino <juli@merino.net>
List: port-i386
Date: 06/13/2001 15:46:04
On Wed, Jun 13, 2001 at 11:18:59PM +1000, dkwok wrote:

> I absolutely agree.
> 
> 
> I have just done the conversion. I had been LRP 1-disk router for 2 years.
> The transfer rate getting from the router was max 20KB on a cable network.
> Then I switched to NetBSD the transfer rate now is max 50KB on the same
> network. Although the hardware is slightly different I moved from 486-66
> with 20MRam to Pentium 100 with 24Mram.

Heh, my routes is a Pentium 60 with 32 of ram. I don't know if I will
get higher transfer rates though. Btw, NetBSD and FreeBSD use the same
tcp/ip stack? Anyone faster?

> 
> I still wish NetBSD kernel can be as small as Linux at 500K though. But
> again I am just never satisfied.

Mmm, note that the linux kernel is gzipped. And the NetBSD kernel I've
compiled for that machine is 600kb gzipped.

--Slink

> ----- Original Message -----
> From: Patrick Welche <prlw1@newn.cam.ac.uk>
> To: Julio Merino <juli@merino.net>
> Cc: NetBSD i386 port list <port-i386@netbsd.org>
> Sent: Wednesday, June 13, 2001 11:08 PM
> Subject: Re: A boot disk
> 
> 
> > On Wed, Jun 13, 2001 at 02:14:53PM +0200, Julio Merino wrote:
> > > Hi all,
> > >
> > > before switching my linux gateway to NetBSD, I would like to check
> > > a compiled kernel that I've done for it. I'm now wondering how
> > > can I create a boot disk with my own kernel to check if the
> > > computer boot ok... (don't need sh or anything, just the kernel).
> > >
> > > I've tried to write some of the cdrom images inside
> > > i386/installation/floppy to a floppy disk, but then I'm unable to
> > > mount them in any directory! So I can't change it's kernel....
> > >
> > > Any idea?
> >
> > Simplest might be:
> >
> > disklabel -r -w /dev/fd0a floppy3
> > newfs /dev/fd0a
> > /usr/mdec/installboot -v -f /usr/mdec/biosboot.sym /dev/rfd0a
> > mount /dev/fd0a /mnt
> > cp yourkernel /mnt
> >
> > and see how far it gets...
> >
> >
> > > P.S: Do you think NetBSD is ok for a gateway and server (http, ftp)?
> > > (security and such things).
> >
> > Of course! Then again, I'd be biased ;)
> >
> > Cheers,
> >
> > Patrick
> >