Subject: Re: Putting NetBSD-1.1 in the disk
To: None <port-sun3@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sun3
Date: 01/04/1996 12:03:16
>>         installboot ufsboot bootxx /dev/rsd0c

> Someone correct me if I'm wrong, but I believe that if you want to
> boot from sd(0,0,0) that the correct installboot command would be:

> 	installboot ufsboot bootxx /dev/rsd0a

> since rsd0a is the raw device for partition 0.

Actually, using rsd0c instead will normally work because they both
begin at the same offset (ie, zero).  And indeed, you can't normally
installboot on sd0a when running multi-user, because it's mounted, but
you can on sd0c, so I usually do use sd0c.

More likely to be the problem is that the path is probably wrong.  You
probably want something more like

	# cd /usr/mdec
	# cp ufsboot /
	# ./installboot /ufsboot bootxx /dev/rsd0c
(or /dev/rsd0a if you want to be conceptually correct and are either
single-user or running with securelevel set negative).

Note that you have to copy ufsboot to somewhere on the boot partition
and pass the path there to installboot.  You can put it anywhere on
that partition, but /ufsboot is apparently some sort of canonical place
to drop it....

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu