swap partition ?

April 27th, 2011 - 09:16 am ET by no.top.post | Report spam
I was experimenting in installing this 'etch CD' on
an old 32MB-RAM PC.
The installer warned of 'low-mem' and suggested
<setup swap as soon as possible>.

I selected all the packages except *pcmia* to be installed,
and eventually the PC hung, and the 2nd VT, via dmesg
showed <out of memory>.

Later I retried, selecting fewer packages.
But before that, as soon as the 2nd VT was live I did:
mkswap /dev/hda14 and swapon -a /dev/hda14.
hda was already a swap, as confirmed by etch's fdisk.

When it hung again, dmesg showed <no swap used
& no swap available>.

Q. how should I <make swap available, as advised by the
installer>

Most installations, prepare the destination and swap
partition/s before <selecting the package to install>.

Does this 'etch' CD sound right?

== TIA.
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Simon Brandmair
April 28th, 2011 - 03:57 am ET | Report spam
Hi,

On 27/4/2011 15:16 wrote:
I was experimenting in installing this 'etch CD' on
an old 32MB-RAM PC.
The installer warned of 'low-mem' and suggested
<setup swap as soon as possible>.


[...]
Later I retried, selecting fewer packages.
But before that, as soon as the 2nd VT was live I did:
mkswap /dev/hda14 and swapon -a /dev/hda14.
hda was already a swap, as confirmed by etch's fdisk.



I am slightly confused by your syntax for swapon. Why the "-a"?

To check if swap is really active:
$swapon -s
or/and:
$free -tm

Maybe you want to post the output of these commands.

Cheers,
Simon

Similar topics