Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: booting install kernel



On Fri, Jan 09, 2009 at 10:34:52PM +0000, Milos Negovanovic wrote:
> On Fri, Jan 09, 2009 at 11:05:39PM +0100, Manuel Bouyer wrote:
> > On Fri, Jan 09, 2009 at 09:14:49PM +0000, Milos Negovanovic wrote:
> > > > > no file system for md0 (dev 0x1100)
> > > > > cannot mount root, error = 79
> > > > > root device (default md0a):
> > > > > dump device (default md0b):
> > > > 
> > > > From where does the kernel come from ?
> > > 
> > > Its compiled from /usr/src/sys/arch/amd64/conf/INSTALL_XEN3_DOMU
> > 
> > So I guess you didn't use mdsetimage(8) to embed the ramdisk in the
> > binary.
> 
> No I didn't. Is there a document that describes how to do this? Install
> kernel from releng.netbsd.org works just fine.

Try `make dependall' in /usr/src/distrib/amd64/instkernel.

Otherwise, you have to ``create a file system image from a directory
tree'' with makefs(8) first and then you can use that image to ``set
(the) kernel RAM disk image'' with mdsetimage(8).

Something like:

   makefs ${OPTIONS} ${IMAGE} ${DIRECTORY}
   mdsetimage ${KERNEL} ${IMAGE}


See makefs(8) and mdsetimage(8) for details.



   Petar Bogdanovic


Home | Main Index | Thread Index | Old Index