LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-03-2005, 06:14 AM   #1
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
swap?


hi i have used several distros of linux and have been dual booting with windows and linux on my PCs for about a year now, but i have never had more then one distro on a single machine at a time!

what a was wundering is if i have 2 or more distro's on the same PC can they all use the same swap partition or do they each need their own swap partition?

thanks in advance for any help

berrance
 
Old 03-03-2005, 06:49 AM   #2
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
one swap partition should be fine, swap can be used for things like hibernation. That would obviously cause problem as the image in swap would be that of the distro you were logged in as.
 
Old 03-03-2005, 06:52 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Different (linux) distro's can use the same swap partition. I've got 6 "distro's" on my laptop, all use /dev/hda1 for swap.

I've read somewhere that it is possible to use windows swapfile under linux, but never tried that or can confirm that that works (although we are talking about a file, not a dedicated swappartition).

Hope this helps.
 
Old 03-03-2005, 06:57 AM   #4
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
thanks for the info. i thought you would be able to use the same swap partition for all the distro's on my machine but i thought i would make sure befor i put both slack and suse 64bit on the same machine

thanks again

berrance
 
Old 03-03-2005, 10:41 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Swap is disk space that's in fact not organized in a filesystem (liek your normal Linux partition), it doesn't have a structure. It means you can overwrite it, because it has no data that will be used after reboot.
 
Old 03-03-2005, 06:10 PM   #6
EchO
Member
 
Registered: Jan 2002
Location: NY
Posts: 42

Rep: Reputation: 15
i would also like to add that swap space cant be used by two different operating systems at the same time, because well you cant boot into two different linux flavours at the same time so you can use the same swap space because its awesome like that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Swap os2 Linux - General 1 03-18-2005 08:21 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
Swap punker22 Linux - Newbie 3 10-14-2003 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration