0

I followed all the instructions found in this guide verbatim. I used the same kernel source linux 3.16 etc. I got through all the steps, rebooted, and when using uname -r, it shows my other kernel version still (3.18.3) What can I do to make the kernel the 3.16 one that I just built?

Output of update-grub:

Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.18.3
Found initrd image: /boot/initrd.img-3.18.3
Found linux image: /boot/vmlinuz-3.16.0
Found initrd image: /boot/initrd.img-3.16.0
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done

2 Answers2

3

When booting up, hold the Shift key, which brings you to the grub menu.

In grub go to Ubuntu Advanced Options and select the kernel you want.

Fabby
  • 35,017
war1oc
  • 189
0

Ubuntu loads into newest kernel by default, and 3.18 is the newest (at least , it's higher version). When you are at grub boot menu, get to Advanced Options for Ubuntu and check if you see the 3.16 kernel there. If you do, refer to this guide for selecting the default version to boot. Alternatively you could always find 3.18 packages with dpkg --get-selections | grep 3.18 and the remove the relevant entries with dpkg -r

Small note: in the link I posted, the default entry is specified as "Previous Linux versions>Ubuntu, with Linux 3.2.0-18-generic" . You may want to change that to "Advanced options for Ubuntu>Ubuntu, with Linux 3.2.0-18-generic"