home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / SECTCHG.ZIP / SECTCHG.DOC < prev    next >
Text File  |  1992-11-25  |  2KB  |  52 lines

  1. BACKGROUND:
  2.  
  3. OS/2 !! SYS01475
  4. OS/2 !! SYS02027
  5.  
  6. A number of us have discovered that OS/2 2.0 FORMAT command puts out cryptic
  7. messages in the boot sector after formatting a diskette.  If you try to boot
  8. a non-bootable diskette formatted with OS/2 2.0, you may see the above two
  9. messages.  SYS01475 means the diskette is non-bootable.  SYS02070 means you
  10. need to replace the disk(ette) with a bootable one, press Ctrl-Alt-Del to
  11. continue.  Unfortunately, these messages were left out in the OS/2 on-line
  12. help (including the Service Pack), so most of us can't figure what they
  13. mean, and what is wrong with the system.
  14.  
  15. The messages are actually intentional.  They were put in there because of
  16. NLS (National Language Support) requirements.  However, for those of us who
  17. don't care about NLS or would like to substitute a DOS boot sector, there is
  18. a way to fix it.
  19.  
  20.  
  21. THE CURE:
  22.  
  23. The follow pair of 16-bit OS/2 code will take a boot sector of your choice
  24. and replace it permanently in the OS/2 FORMAT.COM command.  It works for
  25. OS/2 1.3 and 2.0 FORMAT.COM.
  26.  
  27. READSECT -- It reads the boot sector off a formatted diskette and writes it
  28.             to a file.  Typically, you want to use a formatted diskette with
  29.             a version of DOS which is specially tailored for your country.
  30.             If you use a German version of DOS, READSECT will read off the
  31.             boot sector with the German version of the "non-bootable disk"
  32.             message.
  33.  
  34. SECTCHG  -- It takes the sector file created by READSECT, and substitutes it
  35.             into the OS/2 FORMAT.COM command.  From then on, whenever you
  36.             format a diskette, it will put the DOS boot sector instead of
  37.             the OS/2 boot sector.  Hence no more cryptic messages!
  38.  
  39. One word of caution:
  40. The patched version of FORMAT may not be used to format a bootable partition
  41. for OS/2 if you patch it with a DOS boot sector.  A DOS boot sector expects
  42. to load IO.SYS/IBMIO.SYS/MSDOS.SYS/IBMDOS.SYS but an OS/2 boot sector
  43. expects OS2BOOT for booting the operating system.  However, you're free to
  44. use a hex editor to change an OS/2 boot sector and replace the SYS messages
  45. with your own and still have the boot sector usable for booting OS/2.
  46.  
  47.  
  48. WARRANTY:
  49.  
  50. None whatsoever.  Use it at your own risk.
  51.  
  52.