home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 5008 < prev    next >
Encoding:
Text File  |  1992-09-02  |  4.0 KB  |  81 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!park.uvcc.edu!ns.novell.com!gateway.novell.com!thisbe.Eng.Sandy.Novell.COM!terry
  3. From: terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert)
  4. Subject: Re: Booting 386BSD from second IDE drive?
  5. Message-ID: <1992Sep2.155151.13601@gateway.novell.com>
  6. Sender: news@gateway.novell.com (NetNews)
  7. Nntp-Posting-Host: thisbe.eng.sandy.novell.com
  8. Organization: Novell NPD -- Sandy, UT
  9. References: <1992Sep1.154658.18258@motor.physiolmotor.physiol>
  10. Date: Wed, 2 Sep 1992 15:51:51 GMT
  11. Lines: 68
  12.  
  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. >The FAQ mentions setting active partitions on a single drive, but
  21. >nothing about booting from a second drive.
  22. >
  23. >Presumably I'd have to boot from a floppy and then load unix from
  24. >the IDE drive.  Is there the equivalent of Sun's `b (,,)' monitor
  25. >command?
  26. >
  27. >I also thought that reboot/shutdown/halt might offer a solution,
  28. >but haven't found one yet.
  29.  
  30.     The problem with booting from other than the primary boot device is
  31. not a result of 386BSD's boot code.  It is a problem with the BIOS boot
  32. code, which can not be changed without burning new ROM's.
  33.  
  34.     One possibility is a multi-pull, multi-throw switch that you would
  35. wire into the drive control cable (not the radial!) in order to change
  36. device select.  If you have a "smart" controller, this won't work, as it
  37. will allow queueing of requests to a device, and expect the radials to be
  38. seperately latchable (ie: they won't be connected on the board, and thus
  39. it matters which radial is hooked to which drive).  If it did work, you'd
  40. flip a switch, and your primary boot device would change.
  41.  
  42.     Another possibility is dividing both OSes between both drives.  The
  43. initial boot would always take place on a single drive.  This would require
  44. that the DOS partition be left active on the secondary drive and that the
  45. driver code be changed for 386BSD so that it could recognize the inactive
  46. partition as being mountable.
  47.  
  48.     One potential "real" soloution is an extremely long (>512) master
  49. boot record on the primary drive, or a floppy, which duplicates the ROM
  50. code plus the normal master boot record code.  This would allow *apparently*
  51. initial boot from other than the primary boot device.  There are several
  52. problems with this: first and foremost, it would require that the active
  53. partition contain the modified boot code.  A partition is required for this
  54. because the new boot code will exceed the 512 limit on the MBR.  Second,
  55. it will require modification of boot blocks that expect to boot an offset
  56. on the active partition (ie: Interactive UNIX).  Third, it would would
  57. require the ability to "save" the ID of the designated boot device somewhere
  58. it wouldn't get overwritten before it could be read, and modification of
  59. all boot code that made the assumption of booting from the primary device
  60. to use this value to determine the pseudo-primary device (ie: DOS and
  61. pretty much everyone else's boot code).
  62.  
  63.     The main problem is the auoto-selection of a boot device without
  64. user intervention.  In order, this is: any boot code as a result of bus
  65. reset (like a remote boot netork card or SCSI controller), The primary
  66. floppy (drive A: for DOS folks), and the hard disk bootstrap (first drive
  67. ID only).  A "Sun-like" soloution would work, but only if it were implemented
  68. as part of this sequence (ie: in the PC ROMs).
  69.  
  70.     I know this isn't the answer you wanted to hear, but perhaps one
  71. of the options above will work for you.
  72.  
  73.  
  74.                     Terry Lambert
  75.                     terry_lambert@gateway.novell.com
  76.                     terry@icarus.weber.edu
  77.  
  78. ---
  79. Disclaimer:  Any opinions in this posting are my own and not those of
  80. my present or previous employers.
  81.