Discussion Locked

Format a Hard Drive

0 helpful
21 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the proper sequence to format a hard drive? I thought I knew but came up with the error : The following file is missing or corrupted. Command.com. Type the name of the Command Interpreter (eg. c:windows\command.com).

21 replies

by syscokid

Format c: /s

is the normal way, in that it formats the disk and copies the system files necessary to boot the computer.

If you have a boot disk, you can reformat using

format c: /s

or you can try

sys c:

which copies the system files to a formatted disk.

by imrankasu

To format the primary partition on a boot drive Shut down the computer. Place the bootable media OR Universal Boot Disk, or System Disk, in the appropriate drive.
To start from a CD you need to make your CD/DVD drive the primary boot device in the BIOS Setup utility. Refer to the documentation that came with your CD to make your CD/DVD the primary boot device.
Restart the computer. The Main menu opens.
Close the Main menu by following the on-screen instructions.
If you are formatting a boot drive, type format x: /s where x is the letter of the hard drive you have just installed, then press Enter.
Select Y. The system starts formatting. When formatting is complete, the program asks if you want to label the drive.
If you do notwant to label the partition, press Enter.
NOW REINSTALL THE OPERATING SYSTEM
IF YOU HAVE NOT YER FORMATTED AND YOU ARE GETTING THE ABOVE error message ie corrupted Command.com you can extract the file. please follow the procedure

Use the MS-DOS 6.x Upgrade Setup Disk 1 to restart your computer, and then use the SYS command on drive C. To do so, follow these steps:
Place the MS-DOS 6.x Upgrade Setup Disk 1 in drive A, and then restart your computer.
Press the F3 key when MS-DOS Setup starts to exit MS-DOS Setup.
Type sys c:, and then press ENTER.
Restart your computer.

by gommer

1st make a boot disk. set up the harddrive in bios. you then have to set the jumpers (master slave make sure poweris off) fdisk if it is new. then format and it should be a go if you have already fdisked and installed the hard drive right

by mark.suckling

First use or create a startup disk on a floppy.Then boot from this floppy.Run fdisk from the A:Prompt to set up your active partions.Then you will be asked to reboot.Once rebooted type Format c: /s this will format your hard disk and make it bootable.

by neos_101

Heres your problem... quit using other programs to try and erase you disk.... those will not eliminate virus's... you have everything you need with a normal Win98 boot disk....DEBUG
Even if you have repartitioned the hard drive, FDISK does not update the entire partition sector after the first time. The following DEBUG script will clear the partition sector (cyl 0, head 0, sector 1) of the first hard drive, which will force FDISK to completely start over. This is sometimes useful for removingDisk Manager or EZ Drive and should also remove any boot sector viruses, providing that the virus is not active in memory, which should be the case if you have booted clean from a non-infected diskette. Although this script clears only the first physical drive, I recommend unplugging other drives to prevent accidental data loss. Letters in script are not case-sensitive.

A:\>DEBUG
- f 200 L200 0
- a 100
xxxx:0100 mov ax,301 (ignore segment:offset values at left)
xxxx:0103 mov bx,200
xxxx:0106 mov cx,1
xxxx:0109 mov dx,0080
xxxx:010C int 13
xxxx:010E int 3
xxxx:010F (Press ENTER an extra time here)
- d 100 LF
xxxx:0100 B8 01 03 BB 00 02 B9 01-00 BA 80 00 CD 13 CC
(make sure that hex values match above line before proceeding)
(if values do not match, type Q and start over)
- g=100
(ignore register display)
- q (quits back to DOS)

FDISK should now show "No partitions defined".

by mzy

If you ever meet this situation again, get a startup disk from another computer with the correct operating system (i.e., if your previous OS was WIN98 SE, then create the disk from another computer with the same OS), and insert it in. It will automatically boot to DOS, and from there you can install any form of OS, even from your CD.

Hope this helps

by purple713

To answer your question of how to format a hard drive:
1. If you have a WIN 95 CD-ROM boot disk insert it into your A: drive and boot the system and follow the prompts.

2. At the A: Prompt type FDISK. Follow the prompts to delete and re-create the partition.

3. Reboot the machine with the disk still in the A drive.

4. At the A: prompt type the following. FORMAT C: and press ENTER. (C:\s adds system files which will be added when you load the operating system)

5. Reboot the machine and install your operating system. (If installing 98 insert the CD)

Hope this helps.

by flan

if you used the format command from the c drive and formatted the c drive, of course you'll have that error because it's gone now. it's best to do formats from floppy.

by contra-heald

it is always a good idea to check the dos volume first, this will tell you which volume the hdd was partitioned by, if you partition a drive with dos 6.0, the n later format with dos 6.2 you will have problems!
so at the c: prompt type: dos vol

This discussion is closed to new replies.