home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
SECTCHG.ZIP
/
SECTCHG.DOC
< prev
next >
Wrap
Text File
|
1992-11-25
|
2KB
|
52 lines
BACKGROUND:
OS/2 !! SYS01475
OS/2 !! SYS02027
A number of us have discovered that OS/2 2.0 FORMAT command puts out cryptic
messages in the boot sector after formatting a diskette. If you try to boot
a non-bootable diskette formatted with OS/2 2.0, you may see the above two
messages. SYS01475 means the diskette is non-bootable. SYS02070 means you
need to replace the disk(ette) with a bootable one, press Ctrl-Alt-Del to
continue. Unfortunately, these messages were left out in the OS/2 on-line
help (including the Service Pack), so most of us can't figure what they
mean, and what is wrong with the system.
The messages are actually intentional. They were put in there because of
NLS (National Language Support) requirements. However, for those of us who
don't care about NLS or would like to substitute a DOS boot sector, there is
a way to fix it.
THE CURE:
The follow pair of 16-bit OS/2 code will take a boot sector of your choice
and replace it permanently in the OS/2 FORMAT.COM command. It works for
OS/2 1.3 and 2.0 FORMAT.COM.
READSECT -- It reads the boot sector off a formatted diskette and writes it
to a file. Typically, you want to use a formatted diskette with
a version of DOS which is specially tailored for your country.
If you use a German version of DOS, READSECT will read off the
boot sector with the German version of the "non-bootable disk"
message.
SECTCHG -- It takes the sector file created by READSECT, and substitutes it
into the OS/2 FORMAT.COM command. From then on, whenever you
format a diskette, it will put the DOS boot sector instead of
the OS/2 boot sector. Hence no more cryptic messages!
One word of caution:
The patched version of FORMAT may not be used to format a bootable partition
for OS/2 if you patch it with a DOS boot sector. A DOS boot sector expects
to load IO.SYS/IBMIO.SYS/MSDOS.SYS/IBMDOS.SYS but an OS/2 boot sector
expects OS2BOOT for booting the operating system. However, you're free to
use a hex editor to change an OS/2 boot sector and replace the SYS messages
with your own and still have the boot sector usable for booting OS/2.
WARRANTY:
None whatsoever. Use it at your own risk.