Re: can 1 linux swap partition be used by 2 distros?

From: Doug Freyburger (dfreybur_at_yahoo.com)
Date: 11/24/03


Date: 24 Nov 2003 09:26:45 -0800

Rob Baxter wrote:
>
> I was wondering if I install gentoo and debian linux on a computer,
> can both of them use the same swap partition or do I have to setup 2
> separate swap partitions - one for each linux OS?

Swap is used by the currently booted O/S.

You can only run 1 O/S at any one time without some some of VM system.

Linux distros don't have multi-boot at the same time VM systems.

Therefore no problem using the same space as swap



Relevant Pages

  • Re: ext3 or xfs for desktop laptop
    ... always possible that the crash could have occured anywhere on the disk. ... the heads will be in the swap partition and the data area will be less ... > hyper threading simply tells the processor to use it's free time ... but I've not read anything in Linux Journal nor ...
    (Debian-User)
  • Re: Adding a second distro..how to in simple terms
    ... In the old days a swap partition as big as RAM or bigger was ... Given the configuration I have, and the fact that I will have to repartition /dev/hda1, can anyone recommend a good distro that I could load on... ... Live CD of DSL, INSERT, SLAX, and Puppy Linux ... Minimal install of Debian, SUSE and Gentoo ...
    (comp.os.linux.setup)
  • Re: [SLE] Two swap partitions?
    ... if you did happen to have two versions of Linux running on the same ... RAM -- something in RAM that isn't being used at the current time can be ... Linux treats a swap partition in the same way -- it is just an extension ...
    (SuSE)
  • Re: install without bootable cdrom and without floppy
    ... >> I'd like to have a look into freeBSD. ... >> How can I start the installation process from the running linux system? ... >> do NOT want to install freeBSD beside linux, ... Or do you mean to deactivate the swap partition and turn it into an ordinary ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Can one swap partition be used by many linux installations?
    ... Unless, of course, you suspend-to-disk (into the swap partition ... actually) one linux installation, and then boot the other. ... With a bit of scripting you can also share the swap space between linux ...
    (comp.os.linux.portable)