Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
Linux Compatible
advertisement


Forum overview » General Linux » Can two distros share the same swap partition? (1/1)

Reply New Poll

Can two distros share the same swap partition?
Author Message
ReFoRMaT
Account Disabled


Posts: 84
From: Toronto, Ontario, Canada
Joined: 2004-10-17
Member No.: 44266
Icon 2005-01-16 20:30:36

Is that possible? I plan to only boot into one distro at a time but what if one is Rieser and the other Ext3? I am going to resize the Suse partition with the Mepis live disk to make room for a Mepis hdd install.

Post #155231
Edit Quote Print Solution Plonk Delete
robstr12
Member


Posts: 15
Joined: 2004-07-14
Member No.: 33414
Icon 2005-01-16 22:08:56

No problem at all...
from this page here,
link:

http://www.faqs.org/docs/linux_admin/x1762.html

I see that:
(quote):

"A swap partition is also not special in any way. You create it just like any other partition; the only difference is that it is used as a raw partition, that is, it will not contain any filesystem at all."

(/quote)

So, there is no filesystem on the swap partition.
And, in my experience, the swap file is automagically detected and used by every distro that is installed to the system.

I am confident someone will correct me if I'm wrong.

Post #155234
Edit Quote Print Solution Plonk Delete
danleff
Moderator


Posts: 2365
From: Albany, NY
Joined: 2002-08-30
Member No.: 12718
Icon 2005-01-17 04:01:57

Yes, correct. I have 5 distros sharing the same swap partition. Most distros have a custom or expert install option for partitioning. Pick that and set root to the partition that you made for Mepis and also tell it to use the existing sweap partition.

Be aware, that you need to use lilo or grub as a bootloader. So, if the option is there, tell the second distro to install lilo or grub on a floppy. You can then add the Mepis install to Suse's bootloader when you are satisfied that all looks good. That is if you want to keep the suse bootloader.

Alternately, if you elect to use the Mepis bootloader, then it may automatically add Suse as a boot option. If not, then you can add it manually.

Post #155249
Edit Quote Print Solution Plonk Delete
ReFoRMaT
Account Disabled


Posts: 84
From: Toronto, Ontario, Canada
Joined: 2004-10-17
Member No.: 44266
Icon 2005-01-17 06:27:07

Thank you for your answers. I suspected a single swap partition was multi distro usable. Thanks for you confirmation. About grub, they all do the same job with different graphics so if the Suse grub gets overwritten with a new grub that will automatically add all existing os's, that will just save me the hassle of manually adding. Thanks for that extra information though.

Post #155260
Edit Quote Print Solution Plonk Delete

Reply New Poll

Forum overview » General Linux » Can two distros share the same swap partition?

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System