Subject: Re: 1.3 installation: next problem
To: Phil Nelson <phil@cs.wwu.edu>
From: Bruce Walker <bmw@visgen.com>
List: netbsd-help
Date: 01/27/1998 07:51:37
Phil Nelson writes:
> 
> Please boot your system (with the floppy), boot it off the floppy
> and send me the output of the following commands:
> 
>   fdisk /dev/rsd0d
>   disklabel sd0
 
Ok, see below...

> What it appears is that your secondary bootstrap program is not
> getting executed properly.  This usually happens when the BIOS
> partition and the disklabel partitions are not mapped correctly.
> 
> Did you choose a custom install or did you take the default
> install?

I tried both, but the results you see below are from a default
install.  This is after I tried reinstalling DOS, then doing the
default NetBSD install over that.


# fdisk /dev/rsd0d

******* Working on device /dev/rsd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=3117 heads=4 sectors/track=83 (332 sectors/cylinder)

Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=3117 heads=4 sectors/track=83 (332 sectors/cylinder)

Information from DOS bootblock is:
0: sysid 0 (unused)
    start 32, size 0 (0 MB), flag 0x0
        beg: cylinder    0, head   1, sector  1
        end: cylinder    0, head   0, sector 32
1: sysid 0 (unused)
    start 20480, size 0 (0 MB), flag 0x0
        beg: cylinder   61, head   2, sector 63
        end: cylinder   61, head   2, sector 62
2: sysid 0 (unused)
    start 0, size 0 (0 MB), flag 0x0
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector  0
3: sysid 165 (NetBSD or FreeBSD or 386BSD)
    start 32, size 1046496 (510 MB), flag 0x80
        beg: cylinder    0, head   0, sector 33
        end: cylinder   80, head   0, sector  0


# disklabel sd0

# /dev/rsd0d:
type: SCSI
disk: spoon
label:
flags:
bytes/sector: 512
sectors/track: 83
tracks/cylinder: 4
sectors/cylinder: 332
cylinders: 3117
total sectors: 1034844
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:   174268       32      4.2BSD     1024  8192    16   # (Cyl.    0*- 524*)
  b:   264240   174300        swap                        # (Cyl.  525 - 1320*)
  c:  1034812       32      unused        0     0         # (Cyl.    0*- 3116*)
  d:  1034844        0      unused        0     0         # (Cyl.    0 - 3116)
  e:   596304   438540      4.2BSD     1024  8192    16   # (Cyl. 1320*- 3116*)


Cheers!

-bmw