我认为我的系统仍处于较旧的内核版本。运行 dist-upgrade 时似乎会更新,但当前内核版本没有变化。系统是否可能设置为安装新的内核更新,但在启动时只加载较旧的版本?
$ uname -a
Linux HTPC 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:32:50 UTC 2012 i686 athlon i386 GNU/Linux
$ dpkg --list | grep linux-image
ii linux-image-3.2.0-32-generic 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-virtual 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 Virtual Guests
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
linux-headers-3.2.0-36
linux-headers-3.2.0-36-generic-pae
linux-headers-3.2.0-37
linux-headers-3.2.0-37-generic-pae
linux-headers-3.2.0-38
linux-headers-3.2.0-38-generic-pae
linux-headers-3.2.0-39
linux-headers-3.2.0-39-generic-pae
linux-headers-3.2.0-40
linux-headers-3.2.0-40-generic-pae
linux-headers-3.2.0-41
linux-headers-3.2.0-41-generic-pae
linux-headers-3.2.0-43
linux-headers-3.2.0-43-generic-pae
linux-headers-3.2.0-44
linux-headers-3.2.0-44-generic-pae
linux-headers-3.2.0-45
linux-headers-3.2.0-45-generic-pae
linux-headers-3.2.0-48
linux-headers-3.2.0-48-generic-pae
更新时间 7/1/13 11:43
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found initrd image: /boot/initrd.img-3.2.0-32-generic
Found memtest86+ image: /memtest86+.bin
done
答案1
尝试安装软件包 linux-generic、linux-image-generic 和 linux-headers-generic。这些元软件包依赖于最新的内核和标头。最新发布的内核应默认启动,您可以检查 GRUB 菜单附加选项以查看其他实际安装的内核。