Subject: Re: sparc64 port - installing NetBSD-1.6 with Solaris 9
To: Greg Earle <earle@isolar.DynDNS.ORG>
From: Vadim <solovey@netvision.net.il>
List: netbsd-help
Date: 02/11/2003 19:44:57
  Hi,
> > 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)
Hmmm.. sounds very weird - as far as I know, this problem was resolved years
ago -
all modern OSes should have protection both ALL kinds of partitions,
including swap.
In addition, I found that this subject was discussed in kernel devel.
mailing-list at 1996!
Is it possible that the protection hadn't been included in the CURRENT (1.6)
kernel ???

>
> >   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.
Yeap... I'm very sorry for this stupid inattention - it worked, as expected
;-)

  Thanks a lot for your help!
     Vadim

>
> - Greg
>
>
>