Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it a good idea to use one and the same swap-partition for two diferent Linux distributions installed in a dual-boot-system? I figure they don't run at the same time, but I don't know if anything is left on the swapdisk after Linux shuts down that could be mangled when using the same swapdisk with another Linux then...
The most that I had when I ran mulitple distros was 3, they had common /boot, /swap and /home partitions. Only the /root was seperate - I never did manage to get 2 booting at the same time!
Originally posted by artificialGekko I figure they don't run at the same time, but I don't know if anything is left on the swapdisk after Linux shuts down that could be mangled when using the same swapdisk with another Linux then...
Once you shutdown or reboot, anything in swap is wiped out. And swap should rarely be used doing routine computer stuff. If you notice you ever start using a lot of swap, either you need more ram or something is wrong with your ram.
The only time it's an issue is if you use software-suspend/hibernate. Ram is saved to swap in that circumstance, and you could potentially lose quite a bit of data if you brought up another distro after suspending.
It could be a little more complicated to share /home than sharing swap. You may want to have different custom configurations that use the same filename. I hope I do not violate the forum rules when I post this link (since it is in german): http://www.linux-user.de/ausgabe/200...tri/index.html
They have some interesting hints how to accomplish a common /home.
common home partitions might be undesirable as, depending on which distros you are planning to install, they might interfere with each other's stuff... (different version of KDE, Gnome etc.).
you might prefer to have an extra multimedia partition and one for work, but there is no real reason to separate the two...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.