Subject: Re: Install on flash disk systems
To: Peter C. Wallace <pcw@mesanet.com>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-install
Date: 06/28/2001 20:30:55
On Thu, 28 Jun 2001, Peter C. Wallace wrote:

> 	Has anyone made a script for installing NetBSD on a small drive
> (16M flash soldered onto CPU card in my case) I managed to get a fairly
> good working set into 10M doing it by hand but now I need to duplicate it
> for a customer over many machines. I can copy the files with pax but have
> trouble getting the drive to boot: So I guess I really need to know is
> what is the exact procedure for intializing a fresh drive: I had endless
> troubles with fdisk, installboot, and disklabel mostlu ending up with
> unbootable drives...

If you can copy the files, you must have disklabel'd and newfs'd it
already? So just

    /usr/mdec/installboot -v /usr/mdec/biosboot.sym /dev/rwdNa

substituting the appropriate raw device for /dev/rwdNa. If you can
make the ramdisk drive 0 in the BIOS, it should boot. (I'm reaching
now.) How far does it get when you try to boot it?


Frederick