Subject: Booting a RAQ from its Own Disk
To: Soren S. Jorvang <soren@wheel.dk>
From: Len Burns <lenb@sasquatch.com>
List: port-cobalt
Date: 06/04/2000 13:28:08
Hi,

We have moved from netbooting to getting the RAQ set up to boot from a
disk.  I suspect that the problem I am seeing probably involves my
lack of knowledge regarding how the system boots.  I did the
following: 
Attached an IDE drive to a Linux box and created a small partition,
and formatted it.  
2.  Attached the drive to a NetBSD i386 machine, and set up the
partition table as follows:
Partition table:
0: sysid 131 (Linux native)
    start 63, size 16002 (7 MB), flag 0x0
	beg: cylinder    0, head   1, sector  1
	end: cylinder    0, head 254, sector 63
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
    start 16128, size 60020352 (29306 MB), flag 0x0
	beg: cylinder   16, head   0, sector  1
	end: cylinder 1023, head  15, sector 63
I labeled the disk:
#        size   offset     fstype   [fsize bsize   cpg]
  a:  1090593    16128     4.2BSD     1024  8192    16   # (Cyl.   16 - 1097*)
  b:  2217600  1106721       swap                        # (Cyl. 1097*- 3297*)
  c: 60020352    16128     unused        0     0         # (Cyl.   16 - 59559)
  d: 60036480        0     unused        0     0         # (Cyl.    0 - 59559)
  e: 56696031  3324321     4.2BSD     1024  8192    16   # (Cyl. 3297*- 59543)
  f:    16002       63 Linux Ext2        0     0         # (Cyl.    0*- 15*)
On the Linux partition, I created a directory called boot and placed a
compressed kernel called vmlinux, which matches the name it was using
on its native drive.  When we start it we see:
Cobalt:  Cobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Mon Aug 24 14:44:00 PDT 1998

 1.LCD Test................................PASS
 2.Controller Test.........................PASS
 4.Flash Test..............................PASS
 5.Bank 0:.................................64M
 6.Bank 1:.................................64M
 7.Bank 2:.................................64M
 8.Bank 3:.................................64M
 9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
Decompressing done
Decompressing -unknown compression methoCobalt Microserver Diagnostics -
From there it loops.  I have a feeling we are doing something obviously
wrong, but am missing it.  Thanks in advance for your wisdom.

-Len