LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Swap files (https://www.linuxquestions.org/questions/linux-software-2/swap-files-630244/)

ronlau9 03-24-2008 10:22 AM

Swap files
 
I install 3 different distros on 3 separate hd namely SDA SDB and SDC
Whill installing I told the installer to do it on specific drive
I find it rather strange that distro number 2 create his own swap file but use also use the swap file from distro one
So distro 3 again create his own swap file and use also the swap file from distro 1 and 2

I know that if I take out of Fstab then it is over.
But I am wondering why ?

Cane anybody told why ?

Any hint will be most well come


all the best

acid_kewpie 03-24-2008 10:40 AM

well swap is always useful if it's there, the more the merrier if you've no other use for it. there's no harm in using swap in that way, nothing persists across a boot or such, so there's no danger at all in using some other systems swap file.

marozsas 03-24-2008 11:53 AM

I am not sure acid_kewpie, but I think when you put your system to hibernate, the current memory image is saved on swap.

Having a separate swap for each distro enables you to hibernate from each distro, not having one distro erasing the single swap space (and mess with the previous memory image from the other system).

cheers,

acid_kewpie 03-24-2008 02:14 PM

you know that did slip my mind half way through replying... you need to be a certain type of person to want to do that on multiple distro's though. i still don't think hibernation is reliable enough to get that far though...

ronlau9 03-25-2008 12:58 AM

well acid kewpie I try to explain below what my seasons are
On of the reasons that I do so is that booting up goes as quick as possible hard drive normally start writing and reading
form the outside to the inside . Second I have try to do put a distro on drive sdb en put GRUB on sda where windows xp is
suse 10.3 it ends up that suse and windows did not boot again and also Fedoora which I was installing as the 3 OS
I had to use suse repair mode to get it booting again Suse mention Fedora as a option but Fedora did not boot
That is way I separate it all. So I have always one distro working


all the best


All times are GMT -5. The time now is 06:44 PM.