Subject: Re: Installboot????
To: Andrew S. Clapp <clapp@peak.org>
From: Matt Thomas <matt@3am-software.com>
List: current-users
Date: 10/13/1997 07:59:12
At 01:06 AM 10/13/97 -0700, Andrew S. Clapp wrote:
>I have just gone from 1.0 to 1.2G snapshot.
>I can boot wd0a:/netbsd via the floppy, but
>My bios does not appear to see the OS on the drive
>so I cannot boot directly to the hard drive.
>I tried to "installboot biosboot.sym /dev/rwd0a" and
>"installboot -f biosboot.sym /dev/rwd0a" and neither
>worked.

I've been fighting that on a DEC Celebris GL6200.
Ir seems thats the MBR partition info is definitely
wrong.

etBSD 1.2G (GENERIC) #1: Fri Aug 15 15:01:33 PDT 1997
    perry@jekyll.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: family 6 model 1 step 9
cpu0: Intel Pentium Pro (686-class)
real mem  = 16379904
avail mem = 12451840
using 225 buffers containing 921600 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82440FX (Natoma) PCI and Memory Controller (rev. 0x02)
de0 at pci0 dev 3 function 0de0: can't find phy 0
 at irq 9
de0: DEC 21143 [10-100Mb/s] pass 3.0
de0: address 00:00:f8:78:38:bd
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB (Triton II) PCI-ISA Bridge (rev. 0x01)
Intel 82371SB (Triton II) IDE controller (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
Matrox MGA Millenium 2064W ("Storm") (VGA display, revision 0x01) at pci0 dev 9 function 0 not configured
ahc1 at pci0 dev 11 function 0
ahc1: interrupting at irq 10
ahc1: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc1 channel 0: 16 targets
de1 at pci0 dev 12 function 0 at irq 10
de1: DEC DE500-AA 21140A [10-100Mb/s] pass 2.0
de1: address 00:00:f8:02:c0:cc
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <QUANTUM FIREBALL_TM1280A>
wd0: 1222MB, 2484 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
sb0 at isa0 port 0x220-0x237 irq 7 drq 1: dsp v3.01
audio0 at sb0
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4440 netmask 4640 ttymask 46c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
de0: enabling BNC port
de1: enabling 10baseT port


DOS partition table initialized.
******* Working on device /dev/rwd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=2484 heads=16 sectors/track=63 (1008 sectors/cylinder)

Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=2484 heads=16 sectors/track=63 (1008 sectors/cylinder)

Information from DOS bootblock is:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 165 (NetBSD or FreeBSD or 386BSD)
    start 63, size 2503809 (1222 MB), flag 80
	beg: cylinder    0, head   1, sector  1
	end: cylinder  435, head  15, sector 63


# /dev/rwd0d:
type: unknown
disk: 
label: QUANTUM FIREBALL
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 2484
total sectors: 2503872
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:    80640   951552    4.2BSD        0     0     0 	# (Cyl.  944 - 1023)
  b:   322560  1088640      swap                    	# (Cyl. 1080 - 1399)
  d:  2503872        0    unused        0     0       	# (Cyl.    0 - 2483)
  e:   806400  1411200    4.2BSD        0     0     0 	# (Cyl. 1400 - 2199)
  h:   286272  2217600    4.2BSD        0     0     0 	# (Cyl. 2200 - 2483)



-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt.html
Nashua, NH                Disclaimer: I disavow all knowledge of this message