Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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:

CONFIG_PARAVIRT_GUEST=y
CONFIG_XEN=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_CLOCK=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y

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 professional system and network administrators.

3  
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
add comment

1 Answer 1

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
1  
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
add comment

Your Answer

 
discard

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.