Subject: Re: sparc64 port - installing NetBSD-1.6 with Solaris 9
To: Vadim <solovey@netvision.net.il>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: netbsd-help
Date: 02/11/2003 08:21:16
> 1) Partitioned the disk (added slices 5 and 6 for NetBSD - root and usr):
> Part      Tag    Flag     Cylinders        Size            Blocks
>   0       root    wm     293 - 2118        3.13GB    (1826/0/0)  6557166
>   1       swap    wu       0 -  292      513.75MB    (293/0/0)   1052163

Having swap start at cylinder 0 sure would've bitten you in the ass back
in the old days ... (overwriting the label/boot sectors while swapping)

>   2     backup    wu       0 - 4923        8.43GB    (4924/0/0) 17682084
>   3       home    wm    2119 - 2689     1001.20MB    (571/0/0)   2050461
>   4 unassigned    wm       0               0         (0/0/0)           0
>   5       root    wm    2690 - 3488        1.37GB    (799/0/0)   2869209
>   6        usr    wm    3489 - 4923        2.46GB    (1435/0/0)  5153085
>   7 unassigned    wm       0               0         (0/0/0)           0
> 
> 2) newfs on both partitions, mounted
> 3) installboot bootblk /dev/rdsk/c0t0d0s5
> 4) Copied ofwboot and netbsd (kernel-GENERIC) to the root partition, chown
> root:sys, chmod 755
> 5) Copied and extracted the basic packages (base, comp, etc)
> 6) Created required devices under /dev/
> 7) While trying to boot to the root partition (boot \
> /pci@1f,4000/scsi@3/disk@0,0:e), get ok prompt after the following error:
> Boot device: /pci@1f,4000/scsi@3/disk@0,0:e File and args:
> NetBSD IEEE 1275 Bootblock
> Invalid superblock magic
> Fast Data Access MMU Miss
> ok

Partition "e" is slice 4, not slice 5.  0=a, 1=b, 2=c, 3=d, 4=e, 5=f.
Your slice 4/e is empty.

Try "boot /pci@1f,4000/scsi@3/disk@0,0:f" instead.

	- Greg