home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10609 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.8 KB

  1. Path: sparky!uunet!noc.near.net!ceylon!genesis!steve2
  2. From: steve2@genesis.nred.ma.us (Steve Gerakines)
  3. Newsgroups: comp.unix.bsd
  4. Subject: [386bsd] startup fixed
  5. Message-ID: <9212232827@genesis.nred.ma.us>
  6. Date: 22 Dec 92 22:31:16 GMT
  7. Organization: Genesis Public Access Minix  +1 508 664 0149
  8. Lines: 38
  9.  
  10. Thanks to all who sent me messages for getting my system up and booting
  11. on the hard disk.  I'm using an UltraStor 24F controller in ISA mode,
  12. and a Maxtor 535SY drive.
  13.  
  14. After finally getting the system to boot off the hard disk, I found that
  15. the system would only start up in standalone, no matter what I did.  For
  16. the benefit of anyone else who runs into this problem, here's what I found.
  17.  
  18. The boostrap (bootwd) forces standalone mode if one of two conditions
  19. occur:  the disklabel's magic number isn't found, or a labeled partition
  20. doesn't match up with the cylinder boundary the bootstrap physically
  21. loaded from.
  22.  
  23. Turns out I ran into the second case.  The initial bootstrap (wdboot)
  24. was retreiving an incorrect "off" value (current cylinder offset - the
  25. cylinder the boostrap ended up at after loading) from the controller.
  26.  
  27. To quickly remedy this, I whipped out the handy dandy diskeditor for the
  28. zillionth time and made the following patches to the first boot sector:
  29.  
  30. 00DB: EC 31 C9  becomes  B0 F4 90
  31. 00E1: E4 84 EC  becomes  B0 00 90
  32.                             ^^
  33.                             ||
  34. In this case, my 386BSD "A" partition starts at cylinder 244, so I plugged
  35. in $F400.  
  36.  
  37. Seems to me it probably would have been a little safer, especially at
  38. do or die boot time, to go after the BIOS for this information instead
  39. of asking the controller directly.
  40.  
  41. Hope this saves at least one person some needless aggravation.  :-)
  42.  
  43. - Steve
  44. --
  45. Steve Gerakines           |
  46. steve2@genesis.nred.ma.us |  "I have a three user 386BSD TV license." - me
  47. +1 (508)664-0149          |
  48.