| Forum |
|
|||||||
| Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems. |
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
|
#1 (permalink)
|
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
1) let windows swapfile reside on a separate partition wid fat32 file system and let it be of a fixed size preferably. 2) boot into linux and ensure that the partition is automounted at boot. note down the partition number. 3) create a suitable mount point for it say, /mnt/swap 4) issue the command: mkswap /mnt/swap/pagefile.sys (assuming pagefile.sys is the windows' swap file) 5) then issue the command: swapon /mnt/swap/pagefile.sys 6) there u haf it, a system that shares the swap file between linux and windows! u might want to add the last two lines as a startup script. put the scrip in the init.d folder and make sure that the partition is mounted before the script is executed! i was going crazy looking at complicated steps given at various sources...but somehow i figured out this method...which is something which even a n00b can perform! cheers!
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#3 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
how do we do it for /tmp? i mean how can windows share the partition then? how do we do that? create a hard link?
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
|
|
#5 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
ok! but my intention was to share swap file b/w linux and windows to save that half a gb of space...
anyways i did find out other things on the net..but they were like too messy...i find this method quite viable!
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
|
|
#7 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
these are some of those:
http://tldp.org/HOWTO/Swap-Space-6.html http://www.ibiblio.org/pub/linux/doc...Swap-space-FAQ http://www.ibiblio.org/pub/Linux/doc...ned/Swap-Space
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/28574-howto-swap-file-sharing-windows-linux.html
|
||||
| Posted By | For | Type | Date | |
| The 'Your swap should not be three times your RAM' thread. - Page 4 - Ubuntu Forums | This thread | Refback | 23-07-2010 08:10 AM | |