Re: Suspending to swap with two OS's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:
On 14/07/07, Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx> wrote:
Dotan Cohen writes:

> sda1 is Ubuntu, sda2 is empty, sda3 is swap, and sda4 is /home. I'd
> like to install Fedora to sda2 and use sda3 as swap for Fedora as
> well. However, I'm concerned that when Ubuntu suspends it will dump
> it's memory to swap, which Fedora will overwrite when I boot Fedora
> (and vice versa). Is this a valid concern? Should I give each OS it's
> own swap?

Yes, it's a valid concern, and that's exactly what will happen, if you
configure this partition as a swap partition, in Fedora.



Thanks. As I'm running out of disk space in /home, I'd rather not
create another swap partition. Is it true that a swap file on the same
disk as the file system performs as well as a swap partition? This
machine has 2 GB of physical memory.

Swap to file is not as fast, and I have the feeling that restore may be at too low a level to use it. There are some options on where the suspend data is written, I'm sorry I can't recall the details other than the fact that you can control that. Look for a boot option or something.

This came out of a discussion I initiated regarding a restore requiring booting the same kernel that was suspended. The consensus was that that might not be true in the future, restoring whatever was suspended was possible if desired.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux