Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-06-2002, 01:14 AM   #1
Member (4 bit)
 
Join Date: Sep 2002
Location: Wellington, New Zealand
Posts: 8
Send a message via ICQ to Barry
Win98 won't let me hide my swap file

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).

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?

My question is about a related issue. My swapfile is set to 77MB, which is the size I want it to be, but to get 77MB of free space I had to create a partition of 118MB. Why is this? There are no other files in that partition. With a data partition of only 671MB I don't want to waste 41MB.
Barry is offline   Reply With Quote
Old 09-06-2002, 02:07 AM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,791
Can I give you my opinion without offending you? I would forget all the partitions with only a 2 gig drive and just leave it all as a single FAT32 partition for everything, and let Windows handle the swapfile by itself. Keep it simple - especially when novices will be using the machine. Multiple partitions are for advanced users who want more control over their machine. You are just asking for confusion the way you want to do it.
glc is offline   Reply With Quote
Old 09-06-2002, 04:47 AM   #3
Member (4 bit)
 
Join Date: Sep 2002
Location: Wellington, New Zealand
Posts: 8
Send a message via ICQ to Barry
Thanks for your opinion glc, and perhaps you are right, but I would still like to solve this if I can, and I'll keep trying for a while yet before I give up.
Barry is offline   Reply With Quote
Old 09-07-2002, 12:14 AM   #4
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
Hi Barry,

Welcome to PC Mechanic !!!!

First, I'm a strong promoter of multiple logical (partitions) drives, but I have to agree with glc 100% on the above. Three logical drives on a pure DOS machine would be OK on a 2 gig drive, but diffinately not on a Windows machine.

Second, Windows stores Swap file info in several places, such as the System.ini file (where it's location is recorded). The problem is that when you Hide a drive (logical or physical) then Windows can't see it because, well..., it's hidden. So, even if you changed the location in the System.ini file, it will always point to that drive letter designation that it can find. In other words, you will not be able to put it on a hidden drive.

To answer your last question, it's a matter of "slack" and cluster sizes (one of the reasons glc recommened FAT32). Go to PC Mechanic's home page, the click on Hard Drives, then on File structure for indepth reading on the subject.

HTH

TwoRails
TwoRails is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:08 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2