Re: Grub.conf and maximum memory

From: ohaya (ohaya_at_cox.net)
Date: 07/02/04

  • Next message: Tommy Reynolds: "Re: Have I been pwned?"
    Date: Fri, 02 Jul 2004 16:10:47 -0400
    
    

    tim wunder wrote:
    >
    > On 7/2/2004 3:42 PM, I believe that ohaya wrote:
    >
    > > Hi,
    > >
    > > I currently have 128MB in my Linux machine, and I just got another 256MB
    > > stick. I ran a memory test on the new stick, and it appears to have
    > > problems above 128MB (it's low-density, and the PC recognizes the full
    > > 256MB with just this new stick, so I know it's the correct memory type).
    > >
    > > While I'm waiting to get a replacement, I was wondering if I could tell
    > > Linux to only use 256MB (128MB from old stick + 128MB from new stick)?
    > >
    > > I've done some searching, and it seems like I can do this by adding
    > > "mem=256" to the "kernel" line in /boot/grub/grub.conf.
    > >
    > > What I'm wondering is: If I do that, and if it causes a problem and
    > > prevents the machine from booting, how can I boot into Linux to re-edit
    > > grub.conf to get rid of the 'mem=256'?
    > >
    > > Thanks,
    > > Jim
    >
    > Don't change you're grub.conf file until you've tested it. grub allows
    > you to temporarily change the settings from whichever kernel/O/S you boot.
    >
    > During boot, when prompted to select what kernel to boot, press 'e' to
    > edit the selection, then add the "mem=256" to the "kernel" line, then
    > press 'b' to boot (or something like that, I'm not sure of the exact
    > letters to use to temporarily change grub, there should be something on
    > screen that will help you...). That way you can make sure the change
    > works before committing it to your grub.conf file.
    >
    > 'man grub' might be of some help...
    >
    > HTH,
    > Tim

    Tim,

    Great!! That worked perfectly. Letters were "e" to edit, and "b" to
    boot. I added "mem=250M", and it boots and 'cat /proc/meminfo' shows
    250MB.

    For some reason, adding "mem=256M" would cause the boot to fail.
    Hopefully I can get a good stick replaced by the guy I bought it from.

    Thanks again,
    Jim


  • Next message: Tommy Reynolds: "Re: Have I been pwned?"

    Relevant Pages

    • Re: SELinux survey (was RE: Stupid F7 boot loop)
      ... Things stopped working. ... I've set my system so that you can boot Linux ... Tim we have two different computers. ...
      (Fedora)
    • Re: Monitor turns off on boot-up
      ... On Thu, 2004-11-11 at 16:54 -0500, Tim and Emily Wilson wrote: ... Then you will be able to complete setup. ... the first time you boot, you will probably want to go into the boot menu ... the first selection, hi 'e' to edit, then edit the kernel line taking ...
      (Fedora)
    • Re: What to buy?
      ... There's no real reliability concerns, IME, however, the boot on the ... Sportwagon is smaller than the saloon boot with the seats up. ... As Tim said, a Marea is a very sensible buy as a used car - they're ... They made a 2 cylinder marea? ...
      (uk.rec.cars.modifications)
    • Re: Grub.conf and maximum memory
      ... tim wunder wrote: ... >> While I'm waiting to get a replacement, I was wondering if I could tell ... > During boot, when prompted to select what kernel to boot, press 'e' to ... > letters to use to temporarily change grub, ...
      (alt.os.linux.redhat)
    • Re: Pzavillion dv2555nr--dead video--need help
      ... Since I can't get the machine to boot, ... Does the laptop boot and display something when an external monitor is ... If so, then there hope for some sort of replacement, maybe the ... which means the motherboard is pretty useless. ...
      (comp.sys.hp.hardware)