以下是执行命令“apt-get install linux-generic-lts-xenial linux-image-generic-lts-xenial”后生成的安装日志,但在启动系统时,我尝试选择 4.4 内核,但它没有显示出来。有什么想法吗?
root@xxxxx:/etc/grub.d# cat /boot/grub/menu.lst|grep 4.4
title Ubuntu 14.04.5 LTS, kernel 4.4.0-70-generic
kernel /vmlinuz-4.4.0-70-generic root=UUID=27a6c527-5e55-472a-af0e-8bde546becda ro quiet splash
initrd /initrd.img-4.4.0-70-generic
title Ubuntu 14.04.5 LTS, kernel 4.4.0-70-generic (recovery mode)
kernel /vmlinuz-4.4.0-70-generic root=UUID=27a6c527-5e55-472a-af0e-8bde546becda ro single
initrd /initrd.img-4.4.0-70-generic
root@gbssyd03:/etc/grub.d#
apt
日志:
Setting up linux-image-extra-4.4.0-70-generic (4.4.0-70.91~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-70-generic /boot/vmlinuz-4.4.0-70-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-70-generic /boot/vmlinuz-4.4.0-70-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-70-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-70-generic /boot/vmlinuz-4.4.0-70-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-70-generic /boot/vmlinuz-4.4.0-70-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-4.4.0-70-generic
Found kernel: /vmlinuz-3.16.0-77-generic
Found kernel: /vmlinuz-3.16.0-59-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
Setting up linux-image-generic-lts-xenial (4.4.0.70.57) ...
Setting up linux-headers-4.4.0-70 (4.4.0-70.91~14.04.1) ...
Setting up linux-headers-4.4.0-70-generic (4.4.0-70.91~14.04.1) ...
Setting up linux-headers-generic-lts-xenial (4.4.0.70.57) ...
Setting up linux-generic-lts-xenial (4.4.0.70.57) ...
Setting up linux-image-4.4.0-59-generic (4.4.0-59.80~14.04.1) ...
Internal Error: Could not find image (/boot/vmlinuz-4.4.0-59-generic)
dpkg: error processing package linux-image-4.4.0-59-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-59-generic:
linux-image-extra-4.4.0-59-generic depends on linux-image-4.4.0-59-generic; however:
Package linux-image-4.4.0-59-generic is not configured yet.
dpkg: error processing package linux-image-extra-4.4.0-59-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
E: Sub-process /usr/bin/dpkg returned an error code (1)
=====================
欢迎使用 Ubuntu 14.04.5 LTS(GNU/Linux 3.16.0-59-generic x86_64)
-
由于负载高于 4.0,系统信息被禁用
新版本“16.04.2 LTS”可用。运行“do-release-upgrade”即可升级到该版本。
警告:您当前硬件支持堆栈的安全更新已于 2016-08-04 结束:*http://wiki.ubuntu.com/1404_HWE_EOL
以下软件包不再受支持:linux-image-3.16.0-59-generic linux-image-extra-3.16.0-59-generic linux-image-generic-lts-utopic linux-generic-lts-utopic linux-headers-generic-lts-utopic linux-image-extra-3.16.0-77-generic linux-image-3.16.0-77-generic linux-image-extra-3.16.0-52-generic linux-image-3.16.0-52-generic
如果不再需要它们,请将它们升级到受支持的 HWE 堆栈或将其删除。