[Ubuntu-zh] 关于Ubuntu12.04.2 版本升级内核文件后的启动引导的问题

Simon Ho hpsheng2007在gmail.com
星期日 十一月 17 05:47:34 UTC 2013


系统版本号:
simon在simon-Presario:~$ uname -a
Linux simon-Presario [b]3.5.0-41-generic[/b] #64~precise1-Ubuntu SMP Thu
Sep 12 17:01:55 UTC 2013 i686 i686 i386 GNU/Linux

我使用sudo apt-get update 升级整个系统软件时,有提示将系统内核文件升级成3.5.0-42
版本的,我reboot机器后,发现在启动引导列表中根本没有3.5.0-42 使用这个内核文件的提示选项,问题就在这里?

我查看了一下/boot目录内容:
simon在simon-Presario:~$ ls -al /boot/
total 24040
drwxr-xr-x  3 root root     4096 11月  2 09:27 .
drwxr-xr-x 24 root root     4096 10月  3 17:41 ..
-rw-r--r--  1 root root   861789  9月 13 01:24 abi-3.5.0-41-generic
-rw-r--r--  1 root root   154713  9月 13 01:24 config-3.5.0-41-generic
drwxr-xr-x  3 root root    12288 11月  2 09:42 grub
-rw-r--r--  1 root root 15549591 11月  2 09:26 initrd.img-3.5.0-41-generic
-rw-r--r--  1 root root   176764 11月 27  2011 memtest86+.bin
-rw-r--r--  1 root root   178944 11月 27  2011 memtest86+_multiboot.bin
-rw-------  1 root root  2421572  9月 13 01:24 System.map-3.5.0-41-generic
-rw-------  1 root root  5236208  9月 13 01:24 vmlinuz-3.5.0-41-generic
simon在simon-Presario:~$

的确是没有看到关于3.5.0-42 的一些配置文件。

在grub.cfg(Ubuntu 12.04下类似于其它发行版下的menu.lst文件),中查看了下,也看不到关于3.5.0-42 的信息。

另外,我查看了一下内核文件是否安装进系统,确信是安装成功了的。
simon在simon-Presario:~$ sudo dpkg --get-selections|grep linux
###
linux-headers-3.5.0-41                                install
linux-headers-3.5.0-41-generic                        install
linux-headers-3.5.0-42                                install
linux-headers-3.5.0-42-generic                        install
linux-headers-generic-lts-quantal                install
linux-image-3.5.0-23-generic                        deinstall
linux-image-3.5.0-26-generic                        deinstall
linux-image-3.5.0-28-generic                        deinstall
###

我猜测原因可能是我之前删除旧内核时破坏了某个文件,导致我grub-update后,生成的grub配置选项有误,造成无法利用sudo apt-get
update升级内核后自动配置至系统中,问一下有没有兄弟有这个问题.

有试着调整grub.cfg文件配置,但问题是,现在的情况是我的系统更新内核文件后,居然在/boot下无法找到所更新的内核文件,所以启动引导目录也无法自己配置了.求解决方法?
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20131117/920784ca/attachment.html>


More information about the ubuntu-zh mailing list