Wednesday, July 23, 2008
create swap parition that can be used by both windows and linux
Is it possible to create swap parition that can be used by both windows and linux O.S es,independant of filesystems, in a dual boot system ?
tamoneya
no because windows doesnt use swap partitions it uses a swap file which they call the "paging file". since one uses a file and one uses a partition it is a little difficult to share them. It is however simple to use the same swap file across multiple linux distros.
rocket2DMn
Indeed, Windows has the pagefile.sys file which it uses in the same manner that linux uses a swap partition
Gallienus
Actually, it's possible to set up Ubuntu to use a swap file rather than a swap partition -- I did it on my computer (Hardy) using the following information.
https://help.ubuntu.com/community/SwapFaq#How%20do%20I%20add%20more%20swap?
I wonder if it would be possible to set up Ubuntu so that it uses the pagefile.sys on the Windows partition instead of its own swap file? Note, that's something I haven't tried, so it could well be very risky. I very much doubt that the two swap file formats are compatible.
grim4593
Actually, you can share the pagefile.sys file. Windows clears it on every boot, so anything that is put there by linux is wiped out. So in order to get linux to use the file sucessfully, you have to mkswap pagefile.sys and turn it on every boot. The only issue is that you can't hibernate on one system, and then boot the other without messing up the swapfile.
I have successfully done this.see:- http://hype-free.blogspot.com/2007/08/setting-up-laptops.html
Lew Pitcher
Yes, it is possible
http://tldp.org/HOWTO/Swap-Space.html
Grant
>http://tldp.org/HOWTO/Swap-Space.html
Yeah, but these days, why bother? RAM is cheap, disk is cheap, and dual booting going out of fashion in favour of vmware and friends.
anon
Yes! But why? with cheap TB drives it is easier just to use two partitions.A better swapper partition version is to add extra RAM and use the RAM as swapper files. Then using UPS shutdown software, copy the RAM swapper to a disk partition or file if and when needed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment