Subject: Re: Question about bootfs?
To: None <mlm@mm-network.com>
From: Martin Husemann <martin@duskware.de>
List: port-sparc64
Date: 03/28/2003 19:33:10
On Fri, Mar 28, 2003 at 12:05:19PM -0600, mlm@mm-network.com wrote:
> I've read through some docs on the site, but I still don't 
> fully understand what makes up the bootfs file that you
> put on the CDROM.

It's a ffs image containing /ofwboot and /netbsd. You can look at it
by mounting it: "mount /dev/cd0f /mnt".

> I am assuming that it contains a kernel and miniroot

In the install CD case: yes.

> how do I create 
> a new bootfs image to go into slice f, so that I am not installing
> the 32-bit runtime using the 64-bit kernel?

Best to start with -current makefiles and scripts, they have improved
quite a lot (even if you are packing a 1.6.x based system).

You may want to look at etc/etc.sparc64/Makefile.inc for the iso-image
related targets, those call distrib/common/sunbootcd.sh to make the
iso image bootable by adding distrib/sparc64/bootfs/boot.fs.

> P.S. does anyone know if the 32-bit 1.6 running on sparc64 is stable?

There is ~ no difference in stability between running 32bit or 64bit kernels.

Martin