D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] partitions and replacing windows with ubuntu

 

Paul Sutton wrote:
>
> Does it matter where the swap file is

If you only have one disk - it doesn't matter much.

> Do i need swap at all, i don't think i do

Not especially unless you abuse the swap partition for hibernation or
similar purposes (do kernel core dumps still go their by default in any
distros?).

But swap will allow the OS to page out unused pages, allowing more
memory for disk cache, so there is a marginal performance gain to be had
by having a few 100 megabytes as swap.

> can swap paritions be shared, between 2 installs

Yes, until they change the format in some radical way any Linux
instances can share the same swap partition (as long as you aren't
running both instances at the same time - i.e. virtualisation).

If you hibernate or core dump to swap, expect booting the other distro
to either overwrite the data stashed temporarily in the swap space, or
get very confused. But you probably aren't doing that anyway so it isn't
likely to be an issue.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html