Multiple linux sharing one common swap

Myles Green rmg57 at telus.net
Mon Dec 27 04:40:34 UTC 2004


On Sun, 2004-26-12 at 21:28 -0500, alex wrote:
> Myles Green wrote:
> >
> >Hi Alex,
> >There should be no problems as a result of sharing your swap partition,
> >I've done this for years on my desktop machines. Personally, I always
> >use the same partitioning software (linux fdisk) to avoid the 'lost
> >space' problem you're experiencing; it seems that mixing your
> >partitioning software, ie Ranish and "a graphical partitioner" (wouldn't
> >be Partition Magic would it?)
> >
> Not Partition Magic---but something similar that I downloaded as a trial 
> just for the purpose of checking
> the partitioning.  I've always had excellent results with an older 
> version Ranish Parition Manager but I used
> a newer Beta version this time.  I'm going back to the old version.     
> I previously had 6  Linuxes  installed
> with perfect partitioing
> 
> >results in these gaps appearing. If you
> >have a mechanism for backing up your data from the various installations
> >you have going there, you should do that
> >
> making and reinstalling backups scares me.   I've  never had good 
> results with this and ended up with
> more work than if I had just deep formatted the hard drives and started 
> from scratch.   I would like
> to succeed at backupping though so may give it another try.   I have a 
> few spare VFAT partitions that might
> be used for temporary storage of some Linux data.
> 
> > and then wipe the disc clean
> >( dd if=/dev/zero of=/dev/hd? ) and make all your partitions with one
> >tool.
> >
> /dev/hd?      ? = a or b, I presume.

Yes.

> >I suggest doing that with your favourite Live-CD (Ubuntu?) or
> >  
> >
> cfdisk off the Live-CD.   I didn't think of the Live CD.ubuntu.

It would be the 'better' choice seeing as we (you) are working on an
Ubuntu system ;-)

> >floppy distro (tomsrtbt comes to mind) and either fdisk or cfdisk.
> >Unfortunately, sometimes the long way is actually the shortest way - or
> >at least the most headache-free way.
> >  
> >
> Sounds like what I was thinking of doing,  forgetting the backupping and 
> just start afresh.
> Since only the Linux partitions are out of kilter,  I think I can use 
> cfdisk to delete them and deep format and repartition just that part of 
> the hard drive with cfdisk..

That should do the trick if you use the ' m ' switch (flag?) with
cfdisk.

Good luck! Let us know how you make out?

Cheers!
Myles

-- 
Myles Green <rmg57 at telus.net> Calgary AB Canada
Ubuntu Linux 5.04 "Hoary Hedgehog" Development Branch http://www.ubuntulinux.org/
My GPG/PGP public key (9D02F338) is available on this server: http://keyserver-beta.pgp.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041226/f8b560aa/attachment.sig>


More information about the ubuntu-users mailing list