jsnipe
August 27th, 2006, 07:14 PM
I came across this neat little trick while researching another issue, installed it and have been running it for about two weeks. That being said, I only use win XP for morrowind, so I can't say I've fully verified this programs functionality.
How to use linux swap partition as windows swap file:
1. Go to the website below, and download the swapfs zip file to a windows accessible folder:
http://www.acc.umu.se/~bosse/
2. Write down the location of your linux swap partition (for example, mine is the 4th partition on the first drive; /dev/hda4 or (hd0,4). hda=hd0, hdb=hd2, etc... If your drive is sdaX, check your bios settings to determine which drive it is.
(Do not include extended partitions, only primary and logical).
3. Extract the contents of the zip file to its own folder, and open up the file "swapfs.reg" for editing, changing the two lines that read "\\Device\\Harddisk0\\Partition1" to the location of your linux swap partition (in my case "\\Device\\Harddisk0\\Partition4").
4. Copy the driver (swapfs.sys) to "%systemroot%\system32\drivers\".
5. Reboot, and verify you swap settings under system settings, in the control panel (you may have to turn off the old paging file manually).
6. Enjoy the extra disk space!
these instructions are also included with the zip file, along with the source code for the original program. This works great because the swap data contained in linux and windows is forgotten after every reboot, so why not utilize the same space?
P.S- I didn't write this program, I found it while googling another issue.
How to use linux swap partition as windows swap file:
1. Go to the website below, and download the swapfs zip file to a windows accessible folder:
http://www.acc.umu.se/~bosse/
2. Write down the location of your linux swap partition (for example, mine is the 4th partition on the first drive; /dev/hda4 or (hd0,4). hda=hd0, hdb=hd2, etc... If your drive is sdaX, check your bios settings to determine which drive it is.
(Do not include extended partitions, only primary and logical).
3. Extract the contents of the zip file to its own folder, and open up the file "swapfs.reg" for editing, changing the two lines that read "\\Device\\Harddisk0\\Partition1" to the location of your linux swap partition (in my case "\\Device\\Harddisk0\\Partition4").
4. Copy the driver (swapfs.sys) to "%systemroot%\system32\drivers\".
5. Reboot, and verify you swap settings under system settings, in the control panel (you may have to turn off the old paging file manually).
6. Enjoy the extra disk space!
these instructions are also included with the zip file, along with the source code for the original program. This works great because the swap data contained in linux and windows is forgotten after every reboot, so why not utilize the same space?
P.S- I didn't write this program, I found it while googling another issue.