*BSD News Article 36578


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!noc.near.net!ray.com!news.ray.com!news.ed.ray.com!rayssd!galaxia!dave
From: dave@galaxia.network23.com (David H. Brierley)
Subject: How do I restore boot block on scsi disk?  (FreeBSD 1.1.5)
Organization: Galaxia Computer Systems
Message-ID: <Cx6Hny.AL0@galaxia.network23.com>
Date: Wed, 5 Oct 1994 02:31:10 GMT
Lines: 29

I am running FreeBSD 1.1.5.1 on a 486DX/40 with a scsi disk controller as
its only drive controller.  When I originally set the machine up I was using
an UltraStor 14f controller card that I had borrowed from work.  Yesterday,
I received by Bus Logic BT-445S controller card and proceeded to install it
in the machine.  Before I shut the machine down I built a new kernel with the
"bt" driver configured in.  I then powered down the machine, removed the old
card and plugged in the new card.  When I powered the machine back up again,
it would not boot, it just hung.  At first I thought it was due to some kind
of incompatability between the controller cards and I was going to have to
dump the disk to tape and then reload, but then I decided to try booting from
the floppy and asking the floppy bootstrap to boot from the scsi disk.  This
worked flawlessly and I was able to access the entire scsi drive (it is larger
than 1 GB so I was concerned about being able to access the entire drive).  The
system is up and running again on the new controller, but if I need to reboot
I have to use the floppy and that is a pain.

I am assuming that one of two things is happenning.  Either the first level
bootstrap code that was installed on the disk is somehow not compatible with
the BT-445S card, or I missed something in setting up the new card.  So, my
question is two-fold:

  1. To anyone using a BT-445S card: did you have to do anything special to get
     it to be able to boot from a scsi drive?

  2. To anyone who can answer: assuming that I have somehow scrambled the first
     level bootstrap code on the drive, how do I restore it?
-- 
David H. Brierley                            Work: dhb@ssd.ray.com
3B1 Hacker Extraordinaire                    Home: dave@galaxia.network23.com