Subject: Re: port-sun3/34524: NetBSD 3.0 / 3.0.1 miniroot for Sun3 panics on
To: None <SigmFSK@aol.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 09/16/2006 01:10:59
SigmFSK@aol.com wrote:

> I had trouble creating a netbsd bootable install CD, so I:

IIRC currently ISO CD for NetBSD/sun3 isn't bootable.
(it should be trivial if we can use the same method with sparc)

> 1) b sd(0,30,3) with the original sunos 4.1.1 bootable cd
> 2) used the sunos procedure to copy the sunos miniroot to /dev/rsd0b
> 3) b sd(,,1)-s into the sunos miniroot, then used it to mount the netbsd  
> cdrom, and copy the netbsd miniroot to /dev/rsd0b.
> 4) stop-a
> 5) b sd(,,1)-s into the netbsd miniroot, which blew up with the netbsd  
> 2.0.2, 2.1, 3.0, 3.0.1 miniroot, but worked with the netbsd 1.6.2.  miniroot.

If SunOS miniroot mounts /dev/sd0b as R/W and uses it for swap,
dd'ing into it is problematic. Instead, you could try:

> 1) b sd(0,30,3) with the original sunos 4.1.1 bootable cd
> 2) used the sunos procedure to copy the sunos miniroot to /dev/rsd0b
 3) b sd(,,1) -s into the sunos miniroot, then used it to mount the netbsd  
    cdrom, and copy the netbsd miniroot to /dev/rsd0a. (not sd0b)
 4) halt
 5) b sd(,,0) -s into the netbsd miniroot on sd0a
 6) mount the netbsd cdrom, and copy the netbsd miniroot to /dev/rsd0b.
 7) halt
 8) b sd(,,1) -s into the netbsd miniroot on sd0b and proceed installation
(not tested at all)
---
Izumi Tsutsui