Microsoft KB Archive/57730

= Err Msg: &quot;No Room for System on Destination Disk&quot; with SYS =

Article ID: 57730

Article Last Modified on 5/10/2003

-

APPLIES TO


 * Microsoft MS-DOS 3.1
 * Microsoft MS-DOS 3.2 Standard Edition
 * Microsoft MS-DOS 3.21 Standard Edition
 * Microsoft MS-DOS 3.3 Standard Edition
 * Microsoft MS-DOS 3.3a
 * Microsoft MS-DOS 4.0 Standard Edition
 * Microsoft MS-DOS 4.01 Standard Edition
 * Microsoft MS-DOS 5.0 Standard Edition
 * Microsoft MS-DOS 5.0a
 * Microsoft MS-DOS 6.0 Standard Edition
 * Microsoft MS-DOS 6.2 Standard Edition
 * Microsoft MS-DOS 6.21 Standard Edition
 * Microsoft MS-DOS 6.22 Standard Edition

-



This article was previously published under Q57730



SYMPTOMS
In the Microsoft MS-DOS user's manuals, the SYS command entry states that you do not need to reformat your disk when you upgrade to a later version of MS-DOS. SYS updates system disks even though the new system files are larger and must be broken up to fit in the available disk space.

However, when upgrading some system disks, SYS returns the following error message:

No room for system on destination disk



CAUSE
This error message is caused by one of the following:


 * There is not enough free space anywhere on the destination disk for the relocatable part of the system files.

Solution

Delete some files to make room for the system files. This is documented in Appendix F of the &quot;Microsoft MS-DOS User's Guide and Reference&quot; for versions 4.01 and earlier, under the &quot;No room for system on destination disk&quot; error message.
 * A file occupies the first clusters of the disk on a non-system disk.

Solution

If a disk utility is available to find which file(s) occupy the first clusters of the disk, erase or move those files to clear the space needed for the system.

If you have the MS-DOS 5, 6, or 6.2 Upgrade, you can run Setup with the /M parameter.

If the previous two options are not available, you must reformat the disk.
 * The disk has an original equipment manufacturer (OEM) version of MS-DOS that does not use the Microsoft naming convention for the hidden system files.

Solution

Contact the OEM supplier for an MS-DOS upgrade. You should continue running the OEM version of MS-DOS. However, if you must change to the Microsoft MS-DOS packaged product, see the information provided below.
 * Cluster 2 is a lost cluster and cannot be used to hold IO.SYS.

Solution

Run MS-DOS CHKDSK /F to correct the lost allocation unit.

If you are using MS-DOS 6.2 or later, run SCANDISK.



MORE INFORMATION
There is a quick solution for the OEM MS-DOS problem mentioned above. This solution requires that you have a good understanding of MS-DOS, and that you have a third-party utility to remove the Hidden, System, and Read-Only attributes from the system files.

The MS-DOS SYS command looks for the files named IO.SYS and MSDOS.SYS on the destination disk. If these files are not found, because they do not exist or are named differently, SYS assumes the disk is not a system disk and attempts to install the new system files starting at cluster 2 (IO.SYS must be contiguous starting at cluster 2).

Some OEMs, such as IBM, use different names for the system files. To make SYS work with these disks, you can rename the two files to IO.SYS and MSDOS.SYS, as in the following example. (The following example uses IBM PC-DOS naming conventions.)

 Using a third-party attribute change utility, remove the Hidden, Read-Only, and System attributes from IBMBIO.COM and IBMDOS.COM. MS-DOS does not provide a utility to set or reset the Hidden and System attributes of a file, because you should not tamper with these files. Rename these two files as follows:

ren ibmbio.com io.sys

ren ibmdos.com msdos.sys

 Use the attribute utility to replace the Hidden, Read-Only, and System attributes.

The SYS command should work correctly after you make the above changes. The SYS command does not transfer COMMAND.COM to the destination floppy disk in MS-DOS versions 3.3x through 4.x, so you must do that manually.

Additional query words: appnote 6.22 3.30 3.30a 4.00 4.00a 5.00 5.00a 6.00 6.20

Keywords: KB57730

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.