Solved

Formatting Hard drive

Posted on 1997-09-11
1
157 Views
Last Modified: 2013-12-16
I have read the answer to this question by gregritz however it was not detailed enough for me.
I want to reformat my hard disk and reinstall windows. I have a Pentium 100 with 32 MB RAM and W95 and a 1.28G Quantum Fireball. I have very little experience with DOS so please be precise and I will give a bonus of 100 points. ( I have already made an emergency startup disc).
0
Comment
Question by:jghentley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
maudib031397 earned 200 total points
ID: 1750594
hello jghentley,

First you need to make sure that you have a bootable system disk.
That means a 3.5 in. floppy that contains command.com, (io.sys),
(msdos.sys), and (drivespace.bin). If you insert a blank floppy and go to "My Computer", right click on the a: drive and choose
"format". Then choose full format and copy system files from that
dialogue box; you will then have that disk. Command.com is the only file that is not hidden.

Next you must copy some files from C:\Windows\Command directory.
While still in "My Computer" doubleclick C: drive. Then click the Windows directory and then Command directory. Here you will find edit.com, format.com, fdisk.exe, mscdex.exe, and scandisk.exe. Copy these to the a: drive.

Now go to the root of c:. This is where the Windows dir. resides along with Mouse dir. and My Documents dir. (directory).

Now copy autoexec.bat and config.sys to the a: drive.

Now click the "start button" then choose "programs" and then "MSDOS Prompt". You should then get a dos window with the prompt
at c:\windows. Now type cd.. to get to the root of c:.

Type a: <enter> to get to the floppy; once there, type [edit autoexec.bat] <enter>.

look for the call for mscdex.exe in the text. Then change the call from c:\windows\command\mscdex etc...etc... to a:\mscdex etc...etc... (keep the etc... as they are memory addresses).

once you have changed the call to the a: drive and removed the windows,command pointers you can type alt+f then x and choose yes to save.

Now the config.sys.  First just type [type config.sys] <enter>.
this will show you the config.sys. You need to find the line that
pertains to your cd-rom. It will say something like
Device=c:\MTMCDAI.SYS /D:MTMIDE01 or it could be something like
nec_ide.sys or taitap.sys. Also, it will probably reside in a directory and that will be in that line as well. (this shows where to get the file that it points to) You need to go to that directory and copy the *.sys file to a: drive that is specified in the config.sys.

With that done, at the a: drive prompt type "edit config.sys".
Now change the pointer from the c: drive to the a: drive and remove any directory designations as the file sits on the root of a: drive for these purposes.

Now the acid test, with the floppy inserted just reboot the pc, and go into setup using the delete key or cntrl+alt+esc or whatever pc you bought has the instructions to go to setup at boot. Now look carefully in this window and choose the advanced setup page. There you will find the boot sequence option. If it says c: then a: you will need to change it to a: then c: or choose floppy boot enabled depending on the cmos setup that you have.

That done go ahead and save and quit and let it boot on the floppy. If it boots and "sees" the cd-rom you are almost there,
If it doesn't see the cd then you have a typo or directory structure error in the autoexec.bat or config.sys on the floppy.

With a good boot you can then type fdisk <enter>.

in fdisk you will need to display partition information to be sure that you have only one partition on the master drive.

in that case you can hit escape and then choose to delete the primary partition. then hit escape again and then choose to create partition and choose primary partition. Easiest to use the entire drive for one partition. and let it be made active.

Leave the floppy in and reboot. once at the a: type format c: /s.
The /s switch causes the system files to be transferred and the c: drive becomes bootable.

Now type "copy a:\*.* c: and copy everything but the command.com to the c: drive.

Now type c: and you are on the root of c: again. Now type "edit autoexec.bat" and change the a: to c: for mscdex and do the same for config.sys, change the a: to c: for the cd driver.
With that done you can remove the 3.5 floppy and reboot the machine.

If it doesn't work then check for typos and such.

If it does work you can then put your win95 cd in and run setup.

It is all preferences from here on in so you are set.

Questions?
paul





0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question