home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 11196 < prev    next >
Encoding:
Internet Message Format  |  1993-01-13  |  4.3 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
  2. From: terry@cs.weber.edu (A Wizard of Earth C)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: 386BSD.EXE - Let DOS handle booting?
  5. Message-ID: <1993Jan13.050106.28871@fcom.cc.utah.edu>
  6. Date: 13 Jan 93 05:01:06 GMT
  7. References: <C0q94w.48p@NeoSoft.com> <id.QJNW._89@ferranti.com>
  8. Sender: news@fcom.cc.utah.edu
  9. Organization: Weber State University  (Ogden, UT)
  10. Lines: 84
  11.  
  12. In article <id.QJNW._89@ferranti.com> peter@ferranti.com (peter da silva) writes:
  13. >In article <C0q94w.48p@NeoSoft.com> karl@NeoSoft.com (Karl Lehenbauer) writes:
  14. >> Hey, how about making the second stage boot, say Julian's loader, an
  15. >> executable DOS program?
  16. >
  17. >This is what Plan 9 does. I was at first repelled and disgusted, but on
  18. >reflection it sounds like a really nice idea. It would resolve the Compaq
  19. >boot problem, it would resolve the problem of video boards that require
  20. >magic DOS configuration programs, it would resolve the "how do I boot
  21. >386BSD on a second controller" problem, and so on.
  22.  
  23. I'm still repelled and disgusted.  B-).
  24.  
  25. Actually, this wouldn't resolve the Compaq boot problem, which is the result
  26. of a NOP tromping a register in the second stage boot.  It's actually a
  27. wonder that the boot works on as many machines as it does.  A soloution
  28. based on a DOS first stage boot would still blow up during the second stage.
  29.  
  30. It would only resolve the video board problem in two ocassions:
  31.  
  32. 1)    When there were unused clocks to be reset by BIOS which had a
  33.     "normal" way for the clocks to be set.
  34. 2)    When there is only one mode that will be used, and that mode can
  35.     be selected from the BIOS.
  36.  
  37. The first might be possible (although it's just as hard as doing it from
  38. 386BSD directly, and there's just as much possible variance by which PAL
  39. the particular board uses), but is probably not applicable to the Diamond
  40. problem.
  41.  
  42. The second is applicable to the Diamond problem, but drastically limits
  43. the available resoloutions.
  44.  
  45. The "boot on a second controller" problem is resolved with Julian's boot
  46. blocks.
  47.  
  48. What's needed for either of the video soloutions is the ability to make
  49. BIOS calls from 386BSD.  This can be accomplished fairly easily without
  50. resort to DOS by providing a virtual 8086.  This also has the advantage
  51. of allowing us to run DOS or Windows under 386BSD without having to resort
  52. to actually running DOS to make BIOS calls (an 8086 assembly program is
  53. sufficient; therefore one need not buy DOS with their machine for another
  54. $60 just to set video modes).
  55.  
  56. >Plus, it'd make it easier to hack around with the boot sequence. You could
  57. >build a new boot program without worrying about making your system non-
  58. >bootable. You could give it arguments
  59. >
  60. >    bootbsd boot-options where init-options
  61. >
  62. >    bootbsd as1a:386bsd.old
  63. >    bootbsd -large wd0a
  64. >    bootbsd -debug fd0a
  65.  
  66. The boot arguments are pretty well supported by Julian's boot blocks; you
  67. can build a new boot block without making the machine unbootable already
  68. (by mounting/writing/unmounting/syncing/booting a fixit.fs/dist.fs disk).
  69.  
  70. The only additional problem I see this resolving that isn't already solved
  71. is the video modes problem for some unsupported cards (Diamond, in
  72. particular), and this is resolvable by using the posted Diamond clock code
  73. from articles past, or, to great additional advantage, the use of a
  74. virtual machine to make the BIOS calls (since this also buys us DOS under
  75. 386BSD with very little additional work).
  76.  
  77.  
  78. On the other hand, a DOS utility to cause it to boot to 386BSD when DOS
  79. is the default partition could be handy, since to keep DOS the default
  80. involves fdisking 386BSD active, rebooting, and fdisking (in 386BSD) the
  81. DOS partition active.  Plus you could quickly type it and pretend you
  82. were rebooting if any of your friends caught you using DOS  ;-).
  83.  
  84.  
  85.                     Terry Lambert
  86.                     terry@icarus.weber.edu
  87.                     terry_lambert@novell.com
  88. ---
  89. Any opinions in this posting are my own and not those of my present
  90. or previous employers.
  91. -- 
  92. -------------------------------------------------------------------------------
  93.                                         "I have an 8 user poetic license" - me
  94.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  95. -------------------------------------------------------------------------------
  96.