Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Chain loading is
a method used by computer programs to replace the currently executing
program with a new program, using a common data area to pass information
from the current program to the new program. It occurs in several areas
of computing. Chain loading is similar to the use of overlays. Like the
use of overlays, the use of chain loading increases the I/O load of an
application. Unlike overlays, however, chain loading replaces the
currently executing program in its entirety. Overlays usually replace
only a portion of the running program. In operating system boot manager
programs, chain loading is used to pass control from the boot manager to
a boot sector. The target boot sector is loaded in from disk, replacing
the in-memory boot sector from which the boot manager itself was
bootstrapped, and executed.