This article needs additional citations for verification. (August 2014) (Learn how and when to remove this template message)
In the PC bootup sequence, the first sector of the boot disk is loaded into memory and executed. If this is the DOS boot sector, it loads the first three sectors of IO.SYS into memory and transfers control to it. IO.SYS then:
- Loads the rest of itself into memory.
- Initializes each default device driver in turn (console, disk, serial port, etc..). At this point, the default devices are available.
- Loads the DOS kernel and calls its initialization routine. The kernel is stored in MSDOS.SYS with MS-DOS and in IO.SYS with Windows 9x. At this point, "normal" file access is available.
- Processes the MSDOS.SYS file with Windows 9x.
- Processes the CONFIG.SYS file, in MS-DOS 2.0 and higher and Windows 9x.
- Loads COMMAND.COM (or other operating system shell if specified).
- Displays the bootsplash in Windows 9x. If LOGO.SYS is present, it is used as the bootsplash. Otherwise, the bootsplash in IO.SYS is used.
Disk layout requirements
- The two first entries of the root directory must be allocated by IO.SYS and MSDOS.SYS, in that order.
- IO.SYS must be the first file stored in the FAT directory table for files.
- The files IO.SYS + MSDOS.SYS must be contiguous.
However, v3.3 allows sector 4 and higher to be fragmented. v5.0 allows the first 3 sectors of IO.SYS to be allocated anywhere (as long as they are contiguous). COMMAND.COM can be treated like any ordinary file.
- MS-DOS Device Driver Names Cannot be Used As File Names — includes list of default device drivers.
- SYS.COM Requirements in MS-DOS Versions 2.0-6.0 — includes requirements for IO.SYS to be loaded.
|This operating-system-related article is a stub. You can help Wikipedia by expanding it.|
|This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.|