Subject: no go on SCSI boot disk setup
To: None <port-i386@netbsd.org>
From: Space Case <wormey@eskimo.com>
List: port-i386
Date: 03/25/2000 17:41:27
OK, I got a bootable SCSI card, and the system is willing to boot from it,
but getting the disk set up so I can actually boot from it seems to be
rocket science, and I'm not grokking it.
I've played with the geometry, twisting its head in various pointy little
ways, and had instances of: reboot as soon as it loads the mbr, complaints
of no operating system, and looking for various kernel incantations and
not finding them.
This is what I'm currently reading from the various utilities. Can
someone tell me if I'm on the right track, or point me to a guide that
will Do The Right Thing? I want the whole disk to be NetBSD...
Thanks,
~~Steve
DOS pfdisk:
pfdisk> l
# Partition table on device: 0
geometry 1023 64 32 (cyls heads sectors)
# ID First(cyl) Last(cyl) Name # start, length (sectors)
1 0 0 0 empty # 0, 0
2 0 0 0 empty # 0, 0
3 0 0 0 empty # 0, 0
4 169 0 8738 unkno # 32, 17897440
# note: last(4): phys=(1023,63,32) logical=(8738,63,32)
active: 4
NetBSD 1.3H install floppy fdisk:
# fdisk sd0
******* Working on device /dev/rsd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=11474 heads=5 sectors/track=312 (1560 sectors/cylinder)
Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=11474 heads=5 sectors/track=312 (1560 sectors/cylinder)
Information from DOS bootblock is:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
start 32, size 17897440 (8738 MB), flag 0x80
beg: cylinder 0, head 1, sector 1
end: cylinder 1023, head 63, sector 32
NetBSD 1.4M fdisk:
# fdisk sd0
NetBSD disklabel disk geometry:
cylinders: 11474 heads: 5 sectors/track: 312 (1560 sectors/cylinder)
BIOS disk geometry:
cylinders: 1023 heads: 64 sectors/track: 32 (2048 sectors/cylinder)
Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
start 32, size 17897440 (8738 MB), flag 0x80
beg: cylinder 0, head 1, sector 1
end: cylinder 1023, head 63, sector 32
# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: Gateway
label:
flags:
bytes/sector: 512
sectors/track: 312
tracks/cylinder: 5
sectors/cylinder: 1560
cylinders: 11474
total sectors: 17899440
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 #milliseconds
track-to-track seek: 0 #milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 305728 32 4.2BSD 1024 8192 16 # (Cyl. 0*- 195)
b: 1048288 305760 swap # (Cyl. 196 - 867*)
c: 17899408 32 unused 0 0 # (Cyl. 0*- 11473)
d: 17899440 0 unused 0 0 # (Cyl. 0 - 11473)
e: 16545392 1354048 4.2BSD 1024 8192 16 # (Cyl. 867*- 11473)
--
Steve Allen - wormey@eskimo.com http://www.eskimo.com/~wormey/ ICQ 6709819
Faith is the quality that enables you to eat blackberry jam on a picnic
without looking to see whether the seeds move.
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
-Kyle Hearn <kyle@intex.net>
"Every time I think I know where it's at, they move it."