Subject: can't get sgivol to work
To: None <port-sgimips@netbsd.org>
From: Tom Vier <tmv@comcast.net>
List: port-sgimips
Date: 05/03/2003 17:57:08
i'm trying to move everything to another drive, but i can't seem to make it
bootable. i've run sgivol -w boot /usr/mdec/boot sd1, but arc doesn't want
to boot it.

when i try to boot, it seems to exec the loader, but i get this:

Boot: scsi(1)disk(5)partition(0)netbsd
devopen: scsi(1)disk(5)partition(0) type scsi file netbsd
open scsi(1)disk(5)partition(0)netbsd: No such file or directory
Boot failed! Halting...

/netbsd is definetly there, however.

i have netbsd installed and booting from sd0. sd1 is the drive i'm moving
everything to.

sd0 disklabel:
8 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:   7947440      3280     4.2BSD   1024  8192    54   # (Cyl.    2 - 4847)
 b:    524800   7950720       swap                      # (Cyl. 4848 - 5167)
 c:   8482080         0     unused      0     0         # (Cyl.    0 - 5171)
 d:      3280         0       boot                      # (Cyl.    0 - 1)

sd1 disklabel:
4 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:   1541967      3605     4.2BSD   1024  8192   144   # (Cyl.    7 -
3001*)
 b:    524288   1545572       swap                      # (Cyl. 3001*-
4019*)
 c:   2069860         0     unused      0     0         # (Cyl.    0 -
4019*)
 d:      3605         0       boot                      # (Cyl.    0 - 6)


sgivol sd0:
Volume header files:
boot     offset    2 blocks, length    50464 bytes (99 blocks)

SGI partitions:
 0:a blocks  7947440 first     3280 type  4 (BSD4.2)
 1:b blocks   524800 first  7950720 type  3 (Raw)
 3:d blocks     3280 first        0 type  4 (BSD4.2)
 8:i blocks     3296 first        0 type  0 (Volume Header)
10:k blocks  8482080 first        0 type  6 (Volume)

sgivol sd1:
Volume header files:
boot     offset    2 blocks, length    50464 bytes (99 blocks)

SGI partitions:
 0:a blocks  2066725 first     3135 type  4 (BSD4.2)
 8:i blocks     3135 first        0 type  0 (Volume Header)
10:k blocks  2069860 first        0 type  6 (Volume)

i think the problem may be the missing 1 3 partitions. there's no docs for
sgivol, and i don't know how to force it to add those.


-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA