Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to increase the size of the vmalloc region from the default value, and pass vmalloc= as a command line parameter while booting. I am booting a uImage. In which file do I need to add the new vmalloc command line parameter so that it is known to the kernel at boot time?

share|improve this question

migrated from Jul 6 '12 at 4:06

This question came from our site for professional and enthusiast programmers.

A uImage... are you on an ARM system? Which bootloader are you using? – imm Jul 5 '12 at 1:54
@imm is right, this isn't a "linux" question. The answer depends entirely on the bootloader in use. – Andy Ross Jul 5 '12 at 4:13

If you are using Lilo as a bootloader, edit the relevant part of /etc/lilo.conf to look something like this:


Then, run lilo(8) to reinstall the bootloader with the new parameter.

Of course, I cannot tell you exactly how your /etc/lilo.conf should look, since this depends on the overall configuration of your system, but the interesting line is the one that reads append=. You can use such a line to pass any desired boot parameter to the kernel.

(If you prefer Grub as a bootloader, this is fine, but someone else must answer your question in that case, for I do not happen to use Grub.)

If you just want to try your vmalloc=foo for one boot, rather than to install it persistently, you can simply type vmalloc=foo or (assuming that you have labeled your kernel as "Linux") Linux vmalloc=foo at the boot prompt. The only trick is getting to the boot prompt, which your bootloader may be configured to suppress. Try holding down the shift key at boot time, which may prevent the bootloader from suppressing the prompt.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.