They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
Alexio
Score: 13
votes: 20
Format: Article

 How to make a dual-boot into Windows put the "pagefile.sys" onto the linux-swap partition


You can have Linux use a swap file instead of a partition. You can also have Windows (via something like SwapFS - see http://www.acc.umu.se/~bosse/ or the mirror at http://branten.se/nt/) use a swap partition and move your pagefile.sys to it.

SwapFs is a driver for Windows that let you use a Linux swap partition for temporary storage, like a RAM-disk. It is possible to put Windows page file on it. It is implemented as a disk filter driver.
New in release 2.1 Works with swap partitions bigger than 4GB, works on 64-bit systems.
New in release 2: Works with standby and hibernation on Windows 2000/XP.

You should also know that there are two files for the Windows operating system: the paging file (pagefile.sys) for swap and the hibernation file (hiberfil.sys), which stores the system state when the Windows operating system goes into "hibernate" mode.


Tags: dual-boot, swap, Linux, Windows
Created: 7 years ago.
Last edited: 7 years ago.
Read 2418 times.

Comments
6 years ago

kazztan0325
This tutorial is very interesting, though I don't use Windows on real machine anymore.
 
6 years ago

Alexio
As mentioned in the swapfs.reg file, you should know that /dev/hda1 in Linux is equivalent to \\Device\\Harddisk0\\Partition1 in Windows NT. Please note that an extended partition number is skipped in the enumeration.

You should try with "SwapDevice"="\\Device\\Harddisk0\\Partition4" and "S:"="\\Device\\Harddisk0\\Partition4". If it fails, you may need to write Harddisk1 instead of Harddisk0.
 
6 years ago

cpatrick08
so if my partition is sda4 i would change partition1 to partition4 on both instances in the swapfs.reg file  

Other tutorials from Alexio