Link to home
Start Free TrialLog in
Avatar of paycheck
paycheck

asked on

format hard drive

what is the DOS command to format the hard drive?
ASKER CERTIFIED SOLUTION
Avatar of brakmat
brakmat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oldgreyguy
oldgreyguy

if you are not familiar with the vagaries of DOS... or like myself.. just need refreshers once in a while

http://www.computerhope.com/formathl.htm

http://www.colorado.edu/geography/gcraft/tips/doshelp.html

My answer and explanation for a hard drive reformat.

Download a boot disk from www.bootdisk.com and boot on it
FDISK /mbr
FDISK and remove the partition(s)
recreate the partition(s)
Reboot on the boot disk
FORMAT C:
MD C:\CABS
COPY D:\WIN98\*.* C:\CABS
C:
CD\CABS
SETUP

Explanation:
FDISK /mbr rewrites the boot sector of your hard drive.  This is good just in case you may have some boot sector corruption due to virus or some other foe.
Removing the partition(s) is option 3 in FDISK I believe.  this guarantees that you will not have any leftovers from the old installation.
Recreating the partitions is option 1.  You should be able to only create one partition and make sure you chose large disk support when you started FDISK if you have a drive larger than 2G.
FORMAT C: formats the drive as you already know.  There is no need to put /s on it since that will be taken care of by the 98 installation.
You create a CABS directory on your hard drive and put the installation files there for faster and easier installation.  It is also quite easier when you need to add hardware or make config changes.
SETUP starts the Win98 installation.
he asked the command to reformat the hard drive not how to install win98 on a new harddrive
You know ive noticed alot of younger teens seeing DOS as hacking ;)


but yes,
"Format C/D/E/F...etc"

 is the way to go.
It will even ask for a neat label (god dos is awesome and i miss it)


 Problem is format is typically fat32, and can only goto 32 gigs.. If you need to format a modern hard drive for use vs to format, use a newer vs of win (hook it up as a secondary) and do it NTFS
You have to do that mind reading thing and anticipate the next question.
format  /help

or format /?


should give you the full syntax with all parameters available to the command


Best regards
W
paycheck:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.