Re: mem size at bootup

From: Dave Hansen
Date: Fri Oct 24 2003 - 15:26:18 EST


On Fri, 2003-10-24 at 12:59, Yaoping Ruan wrote:
> could anybody tell me if there's any option to specify the size of
> memory I want to use in Linux. We have a box with 4GB memory but we
> would like to run some experiment with only 2GB memory. Is there any
> option like the "hw.physmem" in FreeBSD?

mem= on the kernel command-line.

In lilo, you do something like this:
image=/boot/vmlinuz-2.4.20
label=2420
read-only
optional
append="mem=2G"

--
Dave Hansen
haveblue@xxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/