Subject: Re: Installing & Booting NetBSD 1.2 under SVR4
To: Michael L. Hitch <mhitch@gemini.oscs.montana.edu>
From: Don Phillips <bsd@blkhole.resun.com>
List: port-amiga
Date: 06/11/1997 21:09:23
Michael wrote:
>   You might also try the bootbsd program that's included in the bootblock
> stuff I did.  The bootbsd program runs the bootblock under AmigaDOS, you can
> specify which partition contains the kernel and the bootblock should work
> with the miniroot.  I think the bootblock archive should still be on the
> NetBSD-Amiga archives.

Thanks.  I've gotten a lot further now.  I've reached the point that I
I believe that NetBSD is actually running.  It is asking for the root-device,
as per the docs included with the bootblock program.  I'm not yet familiar
with the NetBSD names for devices.  Where I am apparently wants the name of
the root device in a format of fd%d, sd%d or cd%d.  I can't yet look at a
working system, or read man pages to figure out what the correct input is.

I've taken Michael's suggestion and am using his bootblock program from
the NetBSD archives at ftp.netbsd.org.  I believe that it is version 0.3.

This is all being done under SVR4 Unix.  Here is what I've done so far:

rdb -H /dev/rdsk/c6d0s0

#    Name               Start   Blocks   Size      Flags

 1:  Unix_Root           1144   615472   300 MB    mb P0 C0 F0x554e4901
 2:  Unix_SwAp         616616   205920   100 MB    mb P0 C0 F0x72657376
 3:  Unix_Boot         822536     4576     2 MB    MB P2 C2 F0x554e4900
 4:  BSD_Usr           827112   811096   396 MB    Mb P0 C16 F0x4e425507
 5:  BSD_SwAp         1638208   205348   100 MB    MB P-2 C16 F0x4e425301
 6:  BSD_Boot         1843556     4576     2 MB    Mb P0 C0 F0x554e4900
 7:  WB_1.3           1848132     4576     2 MB    Mb P0 C0 F0x444f5301
 8:  WB_2.x           1852708    12584     6 MB    MB P0 C0 F0x444f5301
 9:  BSD_Root         1865292   244244   119 MB    Mb P0 C16 F0x52455356

dd if=inst-12.fs of=/dev/rdsk/c6d0s5
8192+0 blocks in
8192+0 blocks out

dd if=bootblock.bin of=/dev/rdsk/c5d0s5
16+0 blocks in
16+0 blocks out

telinit 0
three finger salute with outer mouse buttons depressed.
Boot to BSD_SwAp

Loading BSD messages appear.

Screen goes to grey & black.
Whole bunches of configuration information displayed.

The system then prompts:

root-device>

Entering sd0 or sd6 causes a panic and we're dropped into the debugger.

Can somebody tell me what steps I'm missing, or what the correct answer is
to the root-device question?  Do I have the file system flags set incorrectly?

Thanks in advance,

-- 

  Don Phillips         bsd%blkhole.resun.com@foxtail.com
  Research Unlimited   or ...!foxtail!blkhole!bsd
  Escondido, Calif.    My opinions are just that, and no more.