BarryMurphy
Technical User
I have a problem and a question. First my situation. I have a P166 with 32MG RAM and a 2GB hard drive, and I have done a clean install of Windows98. I wanted to put the swap file on its own partition at the beginning of the drive, and have separate partitions for software and data. I started by creating three primary partitions (using a DOS utility called PDisk), making the first one small for my swap file, and then activated and installed Win98 on the second. Next I transferred my swap file (using a utility called VoptXP) to the first partition, D:\, and set its min and max to the same value. My final step was to hide D:\ (using PDisk), so that no one could accidentally delete the swap file or save data on that logical drive (this PC is for the use of my sister and her two children who are all novices).
Now I know some people will want to tell me that I should let Windows control virtual memory, but I've done it this way, rightly or wrongly. At least this way the swap file won't get fragmented (I'm not confident that the users will appreciate the benefit of regular defragging). Anyway, my problem is this. When I hid D:\, Windows changed the drive letter of my data drive, which was E:\, into D:\, and at the same time put my swap file into it! There is now a copy of pagefile.sys in both my hidden drive and my data drive, but Win98's Virtual Memory dialog confirms my data drive to be the location of my swap file. How can I get my swapfile to stay in its hidden drive and not be transferred to my data drive? Or is this impossible?
My question is about a related issue. My swapfile is set to 77MB, which is roughly the size I want it to be, but to get 77MB of free space I had to create a partition of 118MB. Does anyone know why this is? There are no other files in that partition. With a data partition of only 671MB I don't want to waste 41MB. We must become the change we want to see. (Mahatma Ghandi)
Now I know some people will want to tell me that I should let Windows control virtual memory, but I've done it this way, rightly or wrongly. At least this way the swap file won't get fragmented (I'm not confident that the users will appreciate the benefit of regular defragging). Anyway, my problem is this. When I hid D:\, Windows changed the drive letter of my data drive, which was E:\, into D:\, and at the same time put my swap file into it! There is now a copy of pagefile.sys in both my hidden drive and my data drive, but Win98's Virtual Memory dialog confirms my data drive to be the location of my swap file. How can I get my swapfile to stay in its hidden drive and not be transferred to my data drive? Or is this impossible?
My question is about a related issue. My swapfile is set to 77MB, which is roughly the size I want it to be, but to get 77MB of free space I had to create a partition of 118MB. Does anyone know why this is? There are no other files in that partition. With a data partition of only 671MB I don't want to waste 41MB. We must become the change we want to see. (Mahatma Ghandi)