Re: how to add a new boot entry limiting memory size

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

 



On Apr 5, 2005 1:36 AM, Cristina Rivera <cris_apricot@xxxxxxxxxxx> wrote:
> Hello everybody,
> 
> I need to add a new boot entry to grub with the kernel version that I
> usually work with but in this case I need to add an entry limiting the
> memory to 128MB for example, I've read that it can be done by adding mem =
> size line to grub but,...if I want to get a new entry limiting memory
> preserving the rest of entries where I add the entry mem= size? Can you give
> me an example?

mem=128M is one of the the kernel arguments
just append this to the line where where you specify where the kernel is.
i.e.  
kernel /boot/vmlinuz-2.4.25 ro root=/dev/hda2  mem=128M

> 
> Thanks in advance.
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux