Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

grub still cannot load my new kernel, I did the following to install my new kernel:

  • I extracted my new kernel source in /usr/src/linux-

  • Added the rt patch patch- to it using:

    patch -p1 < /path/to/patch-
  • Then created a new file called .config and ran make menuconfig. I chose the options which are required for rt kernel.

  • Then make, at the end it gave the path to bzImage.

    make modules
    make modules_install
  • I copied bzImage and System.map to /boot and also changed their names to vmlinuz-version-rt19 and System.map-version-rt19.

  • I ran sudo update-initramfs -c -k inside /boot and then

    sudo update-grub

I don't know why this happens. Is it because I miss to choose a particular option in menuconfig?

share|improve this question

migrated from stackoverflow.com Mar 1 '12 at 4:33

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

What distribution you are using? –  Renan Mar 1 '12 at 4:42
Not enough info, the options you select makes a huge difference. The messages you get when you try to boot it are necessary. Try using a known working .config and manually updating the initrd (you need find, gzip/zcat, cpio and your old working one and new modules) –  technosaurus Mar 14 '12 at 0:41

Your Answer


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