Linux swap

Keramidas Giorgos keramida at ceid.upatras.gr
Fri Sep 4 16:29:23 EEST 1998


On Fri, 4 Sep 1998, Kanellopoulos Christos wrote:

> Kata thn egkatastash to RH 5.0 eftiaja ena partiotion 88 MB sto disko allaja
> to partition type tou se linux swap kai synexisa thn egkatastash.  Mesa apo to
> kde otan elegxw th mnhmh ( Settings>Information>Memory ) blepw :
> total memory = 30.27 MB
> free memory =1.02 MB
> shared memory = 14.45 MB
> buffer memmory = 1.25 MB
> swap memory = 0.00 MB
> free swap memory = 0.00 MB
> 
> Kanonika sto swap memory den 8a eprepe na deixnei ta 88 MB ? 

0a prepe, av prwta exeis kanei:

	mkswap /dev/swap-partition
	addswap /dev/swap-partition

To prwto prepei na ginei mono tnv proti fora.

To deutero ka0e fora pou ksekina to sustima (px. sto
/etc/rc.d/rc.local stous slackwarikous, h sto /sbin/init.d/boot.local
stous RedHat/SuSE linuxades).

> Epishs skeftome na anebasw th RAM sta 64 MB. To linux 8a anagnwrisei mono 
> toy th RAM h prepei na dhlwuei kapou ?
>

Apo to URL (ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/BootPrompt-HOWTO)
diabazoume:

  The original BIOS call defined in the PC specification  that returns
  the amount of installed memory was only designed to be able to report
  up to 64MB. (Yes, another lack of foresight, just like the 1024
  cylinder disks... sigh.) Linux uses this BIOS call at boot to
  determine how much memory is installed.  If you have more than 64MB of
  RAM installed, you can use this boot argument to tell Linux how much
  memory you have.  Here is a quote from Linus on usage of the mem=
  parameter.

  ``The kernel will accept any `mem=xx' parameter you give it, and if it
  turns out that you lied to it, it will crash horribly sooner or later.
  The parameter indicates the highest addressable RAM address, so
  `mem=0x1000000' means you have 16MB of memory, for example.  For a
  96MB machine this would be `mem=0x6000000'.

Ara mexri ta 64MB *kanonika* den prepei na exeis problima.  Av parol' auta
exeis kapoio problima, xrhsimopoihse to mem=0x... option sto LILO
bazontas to sto append="..." tou arxeiou /etc/lilo.conf kai mallon den 0a
exeis pia problima :)

--
Georgios E. Keramidas (keramida at ceid.upatras.gr)
"In the name of the Father, the Son and the Linux-spirit."

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list