I think you can pass that parameter to the kernel at boot time.
I do not know if you are using lilo or grub as your bootloader, but if lilo you'll need to edit
/etc/lilo.conf and add that to your kernel boot line eg
Code:
default="MDK9.1-hdb3-MWA"
boot=/dev/hda
map=/boot/map
keytable=/boot/uk.klt
prompt
nowarn
timeout=20
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.21-0.13MWAmdk
label="MDK9.1-hdb3-MWA"
root=/dev/hdb3
initrd=/boot/initrd-2.4.21-0.13MWAmdk.img
append="max_scsi_luns=7 noapic nolapic devfs=mount acpi=off resume=/dev/hdb2"
vga=788
read-only
becomes
Code:
default="MDK9.1-hdb3-MWA"
boot=/dev/hda
map=/boot/map
keytable=/boot/uk.klt
prompt
nowarn
timeout=20
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.21-0.13MWAmdk
label="MDK9.1-hdb3-MWA"
root=/dev/hdb3
initrd=/boot/initrd-2.4.21-0.13MWAmdk.img
append="max_scsi_luns=7 noapic nolapic devfs=mount acpi=off resume=/dev/hdb2 mem=nn"
vga=788
read-only
Then re-run
/sbin/lilo
Then reboot.
I do not know what number you need to put as "
nn" - you'll have to experiment!
For grub, the procedure should be similar:
Edit the file
/boot/grub/menu.lst
Find the bit that refers to the kernel you are booting and add the mem=nn bit
So
Code:
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro quiet splash vga=normal
Becomes:
Code:
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro quiet splash vga=normal mem=nn
Again, I do not know what you need to put as "
nn"
Then just reboot
Edit: You should check
/var/log/messages to see if the parameter was recognised after the next boot,