On Tue, 08 Dec 2015 02:04:12 -0500, liaoo <
jimmy...@gmail.com> wrote:
> I have one HDD with size 2GByte and want to make it bootable to DOS.
> How do I achieve this goal via Win7 ?
>
> In Win7 this HDD can be detected and can be formatted.
Obviously, you'll need to format as either FAT16 or FAT32, and
not as NTFS. According to Microsoft, 2GB is the largest FAT16
partition accessible by MS-DOS or Windows. So, you have your
choice of FAT16 or FAT32, but you're right at the FAT16 limit
for a single partition.
If you do partition and format with Win 7, it should perform the
functions of DOS' FDISK and FORMAT commands for you. If you use
DOS, you'll have to use FDISK to partition and FORMAT to write
the file system.
If it's for MS-DOS 6.22 or earlier, you probably want FAT16. If
the DOS version supports LFNs, e.g., DOSes for Windows 98/SE/ME,
then you'll want FAT32.
> But I have no idea how to transfer the DOS system files onto it ...
> is there any tool available ?
The system files have to be written to specific disk locations.
It's easiest to use the existing DOS command for the DOS version
which you're installing. This command is usually named SYS. To
run it, you'll need a floppy, cd-rom, usb stick, etc which is
already bootable into DOS. One of these usually requires some
tool for an existing OS to write or burn or an existing DOS to set
up the image.
Once you have a bootable DOS image written or burned or DOS setup,
boot it. On a newer PC, you'll used the BBS menu (F11) to select
it. On an older PC, it'll either cycle to the device, or you'll
have to change BIOS settings. Once booted, run the SYS util
against the harddrive to install the files. You'll also need to
copy
COMMAND.COM to your drive.
E.g., if your boot floppy/cd-rom/usb-stick is A:
A:\SYS C:
If you don't have a boot disk for your specific DOS version,
but for another version of the same DOS, you can still use the
SYS to put the files into the correct disk location. Afterwards,
you'll need to copy your DOS system files onto the ones installed
by SYS, overwriting them, by using the COPY command, not XCOPY.
This method works for MS-DOS and FreeDOS, and perhaps others.
The files installed by SYS are IO.SYS and MSDOS.SYS for MS-DOS,
or
IBMBIO.COM and
IBMDOS.COM for IBM DOS or OpenDOS/DR-DOS, or
KERNEL.SYS for FreeDOS. So, you probably can't use FreeDOS
SYS command with other DOSes, since it only installs one file.
Rod Pemberton
--
How to kill Facebook. Tell a bunch of fourth graders that
only old people use Facebook. Wait eight years.