home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 195 / DMBOOT.ZIP / README1.TXT < prev    next >
Text File  |  1992-02-06  |  3KB  |  58 lines

  1.              DR-DOS & MS-DOS DUAL BOOT TECHNIQUE
  2.  
  3.                      Edward Welch 72361,620
  4.  
  5.  
  6. Many users or potential users of DR-DOS 6.0 probably would like to
  7. have the ability to occasionally run MS-DOS 5.0, without the need
  8. to boot from a floppy.  By having both systems available,
  9. compatibility problems can be checked, and the user can remain
  10. familiar with both systems.  I was determined to find a way to do
  11. this, and initially set up 2 partitions, using a small partition
  12. activator utility to change the boot partition.  This was very
  13. awkward to configure, and caused a problem with the resultant
  14. switching of C and D drive designations when the boot partition is
  15. changed.
  16.  
  17. However, I found a way to solve the problem and have both
  18. operating systems available on one partition.  This required only
  19. DEBUG, and the creation of several DEBUG scripts and batch files. 
  20. DEBUG is used to create two files with copies of the hard drive's
  21. boot record, first with MS-DOS and then with DR-DOS, and then used
  22. to write the appropriate file back to the hard drive's boot area
  23. depending on the operating system desired.  It also takes advantage
  24. of several quirks of DR-DOS and MS-DOS:  First, the fact that DR
  25. calls their system files IBMBIO.COM and IBMDOS.COM, while MS calls
  26. their files IO.SYS and MSDOS.SYS.  Second, the fact that DR does
  27. not require the system files to start at the beginning of the
  28. drive, while MS requires IO.SYS to be first.  Third, the fact that
  29. DR-DOS, if installed after MS-DOS, will not disturb the MS-DOS
  30. system files.
  31.  
  32. This method is potentially dangerous.  If it fails, it can cause
  33. the need for the drive to be SYS'd from a floppy, but much worse
  34. could corrupt the FAT, causing severe data loss.  Therefore, anyone
  35. who tries this should MAKE A COMPLETE BACKUP FIRST.  Two backups
  36. would be better!  I have tried this only on my system, and it has
  37. worked with no problem, but it is entirely possible that it could
  38. cause problems on another system.  Try this at your own risk.  It
  39. might also work with earlier version of MS-DOS and DR-DOS, but I
  40. haven't tried it.  Also, someone with IBM-DOS, or an OEM MS-DOS,
  41. using the file names IBMBIO.COM and IBMDOS.COM can't use this
  42. method unless they rename the files and patch all references to
  43. them within the files and the boot record to match the new names,
  44. a complicated procedure, which would probably work, however.
  45.  
  46. One more thing, DEBUG, like most MS-DOS external utilities, does a
  47. DOS version check, and will refuse to run under DR-DOS.  It is easy
  48. to patch it to eliminate the version check, however, and this must
  49. be done to allow changing back to MS-DOS while running DR-DOS.  It
  50. is possible that DR's SID could be used instead, but I'm not
  51. familiar enough with it to try it on a boot sector!
  52.  
  53. Once completely setup, changing operating systems involves simply 
  54. typing DRBOOT (or MSBOOT), pressing enter, then rebooting.  The
  55. necessary simple debug script files are included here.  Two other
  56. text files describe patching DEBUG (README2) and setting up the
  57. system (README3).  Good luck!
  58.