Since I just did this yesterday because I'm often a stupid bozo and
forget to check and see how much RAM Linux is seeing, and then
wondering why my Java IDE sucks and the disk is swapping like crazy...
The file you want is, if you are using lilo,
/etc/lilo.conf
In here you will have one or more kernel images, that is, options
from which to boot.
You want to identify one or more or all of these to add this following line to
the one or more sections:
append="ram=128M"
Here is a total snippet of one particular image in my lilo.conf:
image = /boot/vmlinuz
label = normal
root = /dev/hda5
append="mem=128M"
You will of course want to put the right number of megabytes in there, whatever
you actually have installed.
Note also that this is only necessary if you have > 64MB RAM installed.
Otherwise don't bother.
After you have made any changes to /etc/lilo.conf, presumably you did so as
the "root" user, then still as "root", you will want to execure "lilo" .
Then you're ready to rock with something like:
shutdown -r now - or whatever you normally do to reboot.
When it boots up again you'll see a lilo prompt. If the one you added the
parameter to is NOT the DEFAULT, then you will want to hit the TAB key
and type-in the name of the kernel image for which you added the RAM
parameter. - it will be displayed for you after you hit TAB.
THX
-AEF
On Fri, 24 Mar 2000, steve wrote:
> I need help..I recently upgrades with more ram..as Im understood about
> linux..something needs to be written into lilo.conf..then run lilo to write
> this to it...can someone tell me the command line? thank you steven
>
> ....
> TTo unsubscribe from the ctlug list, send a message containing
> only the word "unsubscribe" to ctlug-request@fmp.com.
--
"If you think the Universe is big, you should see the source code..."
-Frank & Ernest
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.