Re: Tweaking /boot/grub/menu.lst to use 2GB RAM



Jochen Schulz wrote:
andy:
What is the best tweak to the /boot/grub/menu.lst file in order to enable my kernel to recognise and utilise the additional RAM? Looking through this file, the relevant section appears to be this commented part:

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

No, you have to look for the line beginning with '#kopt='. Edit, save,
update-grub.


J.
OK - but I guess what I am trying to clarify is what exactly is it that I am editing in the following section to obtain what I want?

## If you want special options for specific kernels use kopt_x_y_z
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro quiet

It is probably blindingly obvious to all except me, but I cannot see any option here for telling the kernel how much memory it is to load/recognise upon booting. That's what is stumping me.

A

--

"If they can get you asking the wrong questions, they don't have to worry about the answers." - Thomas Pynchon, "Gravity's Rainbow"



Relevant Pages

  • Re: [Jaunty] Grub problem after update
    ... Grub problem after update ... # Put static boot stanzas before and/or after ... ## default kernel options for automagic boot ... ## should update-grub create alternative automagic ...
    (Ubuntu)
  • [Jaunty] Grub problem after update
    ... Second kernel will boot normally. ... update-grub" picks up all the kernels but the end result is the same, ... # Set the default entry to the entry number NUM. ...
    (Ubuntu)
  • Tweaking /boot/grub/menu.lst to use 2GB RAM
    ... What is the best tweak to the /boot/grub/menu.lst file in order to enable my kernel to recognise and utilise the additional RAM? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: kernel-package??
    ... postinst_hook = update-grub ... But really, you can substitute your own scripts, or decide not ... kernel don't need a lot of options concerning hardware. ... The whole subject of initrds scripts is something I will need to study up on. ...
    (Debian-User)
  • Re: Sid: Grub2 faling to boot: Unknown device UUID
    ... If you are booting from a livecd, the easiest way to get this to work is to chroot into your root filesystem and then make the changes and run update-grub. ... I'm just doing fairly normal updates and haven't used a custom kernel for a while. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)