Subject: Re: Installation problems...
To: Adam K Kirchhoff <adamk@voicenet.com>
From: George Sollish <gsollish@mail.gisco.net>
List: port-hpcmips
Date: 10/04/2001 10:12:32
On Thu, 4 Oct 2001, Adam K Kirchhoff wrote:

> On Thu, 4 Oct 2001, billy ball wrote:

> > On Thu, 4 Oct 2001, Adam K Kirchhoff wrote:
> >
> > >
> > > formatted the Microdrive under Linux using a USB CF reader.  I gave it a
> > > 20 meg DOS partition, and the rest I gave to NetBSD.  I copied all the
> >
> > so, you partitioned and made the first partition type msdos and the second
> > type Linux ext2 and then *formatted* both partitions properly, right?
>
> No.  I only formatted the first partition as msdos.  I had fdisk change
> the label for the second partition to BSD, but I didn't format it as
> anything at that point (which is the same thing I did with the
> CompactFlash).
>
> > > base NetBSD sets (base.tgz, etc.tgz, and kern.tgz) onto the 128 meg CF
> > > card, booted off the install kernel, mounted the CF card, ran disklabel on
> > > the Microdrive, and then installed on to the Microdrive.  The installation
> > > ran without a hitch.
> >
> > > Now here's the problem...  When booting off the regular kernel (from Greg
> > > Hughe's website), everything starts fine.  It detects both the network
> > > card and the Microdrive.  It properly identifies the Microdrive as 340
> > > megs...  And then, when it goes to mount the root partition, this is what
> > > I get:
> > >
> > > root file system type: msdos
> >                          ^^^^^
> >
> > the root filesystem should not be type 'msdos,' but should be formatted
> > during the NetBSD installation process!
>
> And it did...  I saw it run the newfs command on wd0a, and there were no
> error messages from it.
>
> > > warning: no /dev/console
> > > init: not found
> > > panic: no init
> > > Stopped in pid 1 (init) at	0x8014e468:		jr	ra
> > > 		bdslot: nop
> > > db>
> > >

[snip]

I'm sorry I don't have my 780 with me, but I seem to remember having to
add some options (-a something) to the bootloader to avoid this with my 1G
Microdrive before I built a custom kernel.  If memory serves, you need to
tell the loader root is ffs and on wd0a.

Eventually you can hardwire this into your new kernel.  Good luck!

George E Sollish	Chief Engineer		Auto Gear Equipment
			Host			Classic FM's Listening Room
			Project Manager		The Payne Lake Project