Subject: Re: cannot boot netbsd, manual install from solaris
To: None <port-sparc@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-sparc
Date: 03/07/2005 11:22:42
In article <20050306181439.GZ25792@sanctum.takilma.net>,
	Ben Collver <collver@peak.org> writes:
> The NetBSD bootblock fails.  Here are the details:
> 
> Partitions 0, 1, and 2 are used by Solaris.
> 
> * added partition 3 for NetBSD
> * newfs /dev/dsk/c0t0d0s3
> * mkdir /netbsd
> * vi /etc/vfstab
> * mount /netbsd
> * cd /netbsd
> * for i in /cdrom/cdrom/sparc64/binary/sets/*tgz;
> 	do gzip -dc $i | pax -r -p e; done
> * cp /cdrom/cdrom/sparc64/installation/misc/ofwboot /netbsd
> * /usr/sbin/installboot /cdrom/cdrom/sparc64/installation/misc/bootblk \
> 	/dev/rdsk/c0t0d0s3
> * cd /netbsd/dev
> * cp MAKEDEV MAKEDEV.ben
> * vi MAKEDEV.ben
> 	alter mkdev() to use mknod, chown, chgrp, and chmod on Solaris
> * /bin/ksh ./MAKEDEV.ben init
> 	The only errors are the special files for serial ports, which
> 	have major/minor numbers that are invalid for the Solaris mknod.
> * vi /etc/fstab /etc/rc.conf
> * reboot

Try to unmount the filesystem before rebooting. Solaris 10 uses UFS logging
by default which NetBSD cannot handle. If you unmount the filesystem
Solaris should unroll the journal completely.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/