Firstly, decide whether you even want dump or mini-dump files in the event of a system crash! Personally, I don’t want them, nor do I need them, so I eliminated that option entirely on all my PCs. In laymans terms, if you don’t know how to open it, and don’t know how to read it, then you don’t need it
OK, sleeves rolled up, lets get you up and running! First step is to get rid of that possible virus. The easy way to do this is via a low level format of the disk, but this cannot be done from windows! If you have a floppy drive and a bootable MS DOS floppy, then fdisk will do the job, otherwise download a copy of the Ubuntu (Linux) trial CD and burn it to a CD, you can boot from that and the linux utilities will do the job. In either event, take your current working hard disk OUT of the PC before you start, so you don’t blow away the wrong disk (experience talking!)
Once the disk is cleaned off, put your main disk back in on the primary IDE channel as the master drive. Put the second disk on the secondary IDE channel as the master drive (you may need to move the CD drive to the slave position to do this).
Calculate your total system RAM and multiply it by 3 - 3 gigs in your case - this is the size of the partition you need to create for your swap partition, so begin by making that partition at the very beginning of the now-blank disk. I always give it the drive letter “S” for “Swap”. Format that partition with NTFS and you’re almost done. What I will often do when I set up my friend’s PCs is make that drive writeable by the system account only so they can’t save any other files there!
Right click on My Computer and go to Properties. Under Advanced - Performance options, you will find the option to change your swap-file settings. Add a new swap file to the S drive and make both min and max the same size - 2.5 x your total RAM (2560mb in your case). This will create a fixed size swap file, and so less likely to fragment over time. Whilst you are there, remove the swap file entirely from the C drive - this will also turn off the mini-dump option and throw up several warnings, just click though them! The system will want to reboot as soon as you are done, so let it do that. It will be a little slow coming back up as it has to write the new file and remove the old one!
Couple of minor jobs left to do:
- Tell windows not to index the S drive
- Tell Avast to ignore the S drive in its regular scans
You now have your swap file on a separate drive, with a separate IDE controller, so reads and writes will not interfere with your normal drive useage - this should speed your machine up quite a bit. Also, the swap file is set to the largest size that Windows can assign (2.5 x RAM) so it won’t be changing size and is therefore less prone to getting fragmented! The reason the partition has to be larger than the swap file is that windows will pop up warnings if the available space on any drive is less than 10%. By dint of Microsoft programming wizardry, this warning can only be turned off for ALL drives, not just for one drive!
Lets take it up a notch: Create another partition on that hard drive - make it 6 gigs or so, and give it the drive letter “T” for Temp. Go back into system properties (right click my computer, etc.) and go into environmental variables. You will find 4 sets of temp variables there, 2 as user and 2 as system (Temp and Tmp). Change them all to point to the T drive. Once again, tell windows indexing not to index this drive, but this time tell Avast to watch this drive like a hawk since this is where a lot of viruses get into the system (downloaded software). Tell Firefox or your favourite browser to send all downloads there too and that’s another load off your main system drive!
If you still have lots of space left on that drive, consider taking up the rest of it with yet another partition - letter “U” for User. Right click on “My Documents” and change the location to the U drive - windows will offer to move all your documents for you, let it do that. You now have all your programs on one drive, and all your data on another! Even if you get a bad virus that trashes your system drive, your documents are all safe on another drive!
Sorry for the wall of text, feel free to ask if you have any questions though
Dave