Subject: Re: VAX miniroot help.
To: NetBSD mailing list <nbsd@righi.df.unibo.it>
From: Anders Hogrelius <ahs@hogrelius.nu>
List: port-vax
Date: 02/17/2001 17:01:48
On Sat, 17 Feb 2001, NetBSD mailing list wrote:
> I could succesfully create a boot CD for NetBSD 1.5 supporting the
> VAXstation 4000/90 SCSI host adapter.
> I have problems anyway.
> After detecting all the devices the system crashes because it cannot find
> the init program.
> How can then include a MINIROOT stuffed in the kernel ??
> What procedure do I have to use ??
> 
Have a look at "mdsetimage". You should be able to insert the md
filesystem into the kernel that way. If you have no other way of
creating the md image, you can boot the existing installkernel on
a box that supports it, and then use dd if=/dev/md0c of=whatever bs=512
to extract the existing image. This is of course of no use, if you're
not able to save the image, but a good way would be to use NFS to 
access another box. I assume that you have another vax though, since
you was able to build the new kernel.

You can also mount the fs-image as a vnd device if you need to make
changes to it. One such change would possibly be adding missing device
files in /dev.


--
cheers,

/Anders

I am Pentium of Borg... -Division is futile!

**************************************************************************
* Anders Hogrelius       Phone : +46 21 381860   
* Tessingatan 12         E-mail: anders@hogrelius.nu         
* SE-72216 Vasteras                        
* SWEDEN