|
In the Forums... |
Posted: April 15, 2000 Written By: Keith "Farrel" McClellan Sharing Pagefiles Other than the name difference, the win386.swp and pagefile.sys files are virtually identical assuming you have them both set to the same, unchanging size. And, believe it or not, there is a way to convince the two OSes to share a single swapfile so as to save hard drive space. It’s pretty tough though, so unless you feel comfortable messing with some high level tweaks, stay away from this one – if you screw up, don’t hold me accountable. I couldn’t figure out how to get Windows 98 to use a different name for its swapfile (which is what I would have preferred. If there is a way to do this, let me know), so this little piece of dirty work will have to be done within Windows 2000. The key that we will be modifying is [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] – we will be changing the PagingFiles value. Before you continue on with this tweak, I recommend you go back and export a copy of that key as it currently exists, because it is impossible for me to create an undo key for this operation. Now, you can either choose to edit the value manually or use one of my pre-defined defaults. To edit the value manually, right click on the value and select Modify. You will want to modify the letters/numbers on the far right – they will automatically change the hex values to the left for you. Just be careful to leave those dots in between each character (be careful not to delete them – I haven’t yet figured out how to type them using the keyboard – they are different than regular periods). If you are going to be less brave, here are the default registry files for 128, 192, and 256 MB of virtual memory for both the C and D drives. C Drive: 128 MB; 192 MB; 256 MB D Drive: 128 MB; 192 MB; 256 MB After changing the registry setting reboot into Win2k and log on to an administrator account. Then go ahead and delete pagefile.sys from your root directory – there should be a warning of some sort about deleting the file. Ignore it and delete it anyway, and then reboot again. Check and see if the file was recreated – if it wasn’t, you are in the clear. Wrapping Things Up Now that you’ve got that all cleared up and are saving yourself a bundle of physical disk space, go ahead and reinstall all of your programs again (to the same directory as you did originally – make sure you select all of the same options as well). Once you’ve got that all covered, go ahead and tweak out your system and defrag both of the hard disks to finish up. Conclusion Well, hopefully this will help you get the whole dual-boot situation in order. As new drivers and patches for our games come out, this kind of setup will hopefully become less and less important, but for the time being it is a necessity. Oh well. Want to print this guide? Check out the: Printer Friendly Version |
||
|
---|