Subject: port-sparc64/29703: Manual Installation of NetBSD breaks from Solaris 10
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: netbsd-bugs
Date: 03/16/2005 03:48:01
>Number:         29703
>Category:       port-sparc64
>Synopsis:       Manual Installation of NetBSD breaks from Solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 16 03:48:00 +0000 2005
>Originator:     collver@peak.org
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
System: NetBSD sanctum 2.0 NetBSD 2.0 (SANCTUM) #1: Sun Feb 13 20:48:27 PST 2005 root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
	INSTALL.txt has a section titled "Manual Installation of NetBSD using Solaris".  These instructions do not work if installing from Solaris 10 because NetBSD 2.0 is unable to read the resulting UFS filesystem.
>How-To-Repeat:
	Create a UFS filesystem from Solaris 10 on sparc64.  Boot NetBSD, mount the filesystem, then try to get a directory listing.  NetBSD panics.
>Fix:
Index: distrib/notes/sparc64/install
===================================================================
RCS file: /cvsroot/src/distrib/notes/sparc64/install,v
retrieving revision 1.23
diff -u -r1.23 install
--- distrib/notes/sparc64/install	12 Jun 2004 06:59:17 -0000	1.23
+++ distrib/notes/sparc64/install	16 Mar 2005 03:32:15 -0000
@@ -233,6 +233,15 @@
 or
 .Sx "Installing NetBSD by using a NetBSD kernel on a Solaris partition" .
 .Pp
+Manual installation from Solaris 10 is not possible because NetBSD
+cannot use the resultng UFS filesystem.  It is possible to install
+Solaris 10 and NetBSD on the same disk.  To do so, partition the disk
+with the Solaris format command, then boot NetBSD and perform a manual
+installation.  Be careful not to write a NetBSD disklabel.  Use the
+disklabel command to read the partition size, as constructed from the
+Solaris disklabel.  By default the NetBSD newfs command writes a NetBSD
+disklabel.  Avoid this by using the -F and -s arguments to newfs.
+.Pp
 .(bullet
 .To 2 "Preparing the disk in Solaris"
 .Em "Preparing the disk in Solaris"