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

I want to configure grub to check some CPU features on startup and choose a proper kernel to boot (e.g. multiple cores -> kernel with SMP support). Is it possible? If so, then how do I do it?

share|improve this question

migrated from serverfault.com Nov 13 '11 at 17:51

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

I think syslinux can do this but I can't find the documentation - I remember using pxelinux to pick between 32/64-bit kernels.

For SMP, why not just make sure you're using a recent enough kernel with SMP alternatives enabled? That way the kernel itself will enable/disable SMP support if required.

share|improve this answer

Your Answer


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