Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

Reference - http://www.linode.com/wiki/index.php/PV-GRUB#Building_Your_Own_Kernel

In order to work with Xen, a number of options that must be selected:


Where exactly do I specify these configuration?

I have done these steps so far:-

wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.3.3.tar.bz2
tar -xf linux-3.3.3.tar.bz2
cd linux-3.3.3
make menuconfig

make menuconfig brings me to the ncurses "GUI" but there are so many options I am completely lost....

Any suggestions how I should proceed?

share|improve this question

migrated from serverfault.com Apr 27 '12 at 1:38

This question came from our site for system and network administrators.

You can also search for the options with slash followed by option_name inside make menuconfig! e.g. /CONFIG_XEN will tell you where this option is found. – Matt H Apr 26 '12 at 5:07
up vote 2 down vote accepted

The options in all caps are what gets written into the configuration file for the kernel you will be building (which make menuconfig generates).

There are two ways to edit it:

  • Open the file and change/add the entries

  • Browse to the relevant Xen options through the GUI, and guess their names from the all caps name. Yours will most likely be in Processor type and features --->. You can press the help key to see the option's name and description so you can confirm that you are modifying/adding the correct options.

share|improve this answer
Yes. Someone on #kernel irc channel just told me to vim .config so this solves my problem. Thanks mate! – Calvin Cheng Apr 26 '12 at 4:28
Edited my answer, thanks and no problem :) – gparent Apr 26 '12 at 4:48
You could use the .config file as a guide to locate each parameter in the menus, but that would be a lot of extra work. – David Schwartz Apr 26 '12 at 4:51
Yup, that's a good tip, @DavidSchwartz. Thanks. – Calvin Cheng May 13 '12 at 4:43

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.