home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5164 < prev    next >
Encoding:
Text File  |  1992-09-07  |  3.7 KB  |  86 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spool.mu.edu!agate!tfs.com!tfs.com!julian
  3. From: julian@tfs.com (Julian Elischer)
  4. Subject: Re: Booting 386BSD from second IDE drive?
  5. Message-ID: <1992Sep5.073214.24311@tfs.com>
  6. Organization: TRW Financial Systems
  7. References: <1992Sep1.154658.18258@motor.physiolmotor.physiol> <1992Sep2.155151.13601@gateway.novell.com>
  8. Distribution: comp
  9. Date: Sat, 5 Sep 1992 07:32:14 GMT
  10. Lines: 74
  11.  
  12. In article <1992Sep2.155151.13601@gateway.novell.com> terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert) writes:
  13. >In article <1992Sep1.154658.18258@motor.physiolmotor.physiol> smg@physiology.oxford.ac.uk (Steve Gough) writes:
  14. >>
  15. >>I have installed 386BSD on a whole drive (which was surprisingly easy,
  16. >>thanks to the install program).  At the moment to switch between 
  17. >>booting DOS or BSD, I swap drive cables, change the CMOS drive parameters
  18. >>and reboot---there has to be an easier way!
  19. >>
  20. [deleted stuff]
  21. >
  22. >    The problem with booting from other than the primary boot device is
  23. >not a result of 386BSD's boot code.  It is a problem with the BIOS boot
  24. >code, which can not be changed without burning new ROM's.
  25. >
  26. [deleted ideas about multi-pole switches]
  27. >
  28. >boot record on the primary drive, or a floppy, which duplicates the ROM
  29. >code plus the normal master boot record code.  This would allow *apparently*
  30. >initial boot from other than the primary boot device.  There are several
  31. >problems with this: first and foremost, it would require that the active
  32. >partition contain the modified boot code.  A partition is required for this
  33. >because the new boot code will exceed the 512 limit on the MBR.  Second,
  34. >it will require modification of boot blocks that expect to boot an offset
  35. >on the active partition (ie: Interactive UNIX).  Third, it would would
  36. >require the ability to "save" the ID of the designated boot device somewhere
  37. >it wouldn't get overwritten before it could be read, and modification of
  38. >all boot code that made the assumption of booting from the primary device
  39. >to use this value to determine the pseudo-primary device (ie: DOS and
  40. >pretty much everyone else's boot code).
  41. >
  42. Terry as usual has the right of it, but I have more to add here.
  43. I am working on a new set of boot blocks for use in 386bsd.
  44. Their feaures are:
  45. 1/ they use the BIOS so they should work for any disk that has
  46.     BIOS drivers (e.g the WD7000 driver that Terry is working on
  47.     (BTW how's it going terry..))
  48.  
  49. 2/ They ask the name of the device/partition/filename in the
  50.     SUN/Generic BSD manner (sd(1,a)386bsd.backup)
  51.  
  52. 3/ They can load the booted kernel to other places (e.g.
  53.     above 1MB (If they are linked there) by reading
  54.     the a.out header. (needed when the 
  55.     kernel + data + bss + symbols > 608k)
  56.  
  57. The point relevant to the discussion here is point 2.
  58. Hopefully I will be able to load the loader from a tiny
  59. 'pseudo' partition on the first drive, but actually
  60. do the loading of the kernel from the second.
  61. Used in conjunction with the os-bs bootblock, it should be possible
  62. to have all of the first disk devoted to other
  63. O/Ss except for a single track, which would have the 386bsd boot code
  64. and would boot from elsewhere.
  65.  
  66. It might be possible to make it load other OSs too but that would be 
  67. more work.
  68.  
  69. At the moment it loads the kernel, but
  70. I haven't had time to make it transfer to it properly.
  71. >
  72. >                    Terry Lambert
  73. >                    terry_lambert@gateway.novell.com
  74. >                    terry@icarus.weber.edu
  75. >
  76.  
  77. +----------------------------------+       ______ _  __
  78. |   __--_|\  Julian Elischer       |       \     U \/ / On assignment
  79. |  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
  80. | (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
  81. +- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\            
  82.           v
  83.  
  84.  
  85.  
  86.