Chet the \[ Rabid \] Nairobian Death Monkey on Tue, 15 Aug 2000 17:23:15 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] memory problem


> What you want to do is this: As root, edit /etc/lilo.conf with your
> favorite editor, and add a line after each Linux stanza that looks like:
> append = "mem=xxxM" where "xxx" is the number of megabytes of *physical*
> RAM you have.  I noticed this problem on a company machine I have; the
> relevant parts of my /etc/lilo.conf look like this (the machine has 256 
> megs of physical memory):
> image=/vmlinuz
>         label=Linux
>         root=/dev/hda5
>         read-only
>         append = "mem=256M hdc=ide-scsi"
> image=/vmlinuz.old
>         label=Linux-old
>         root=/dev/hda5
>         read-only
>         append = "mem=256M"
> (The hdc=ide-scsi is for an IDE CD-RW drive, so don't add that unless
> you have one.)

Just as an aside, I would resist doing this from your 'stock' kernel,
in this case, I beleive it's 'Linux-old'.  The reason being that if you
mess it up (or the higher memory is bad), you may not ever be able to
boot from LILO again without booting to a rescue disk and removeing 
the append line.  

I've been burned by this one in the past by forgetting the 'M' at the end
and not being able to boot the box again.

As a recommendation, copy one of the blocks, label it as 'test', and try
it out before making it to the other blocks (I personaly would still
leave 1 entry with a known working kernel without the mod, but I tend
to be paranoid).


k

-- 
------------------------------------------------------------------------------
"From a certain point onward there is no longer any turning back.  That is the
 point that must be reached."   -- Kafka
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug