最近工作原因没试过你的方法,现在准备
试下,谢谢了!
在 2013年11月20日星期三,袁飞 <snowhawk...@gmail.com> 写道:
> 以下仅供参考:
>
12.04默认内核为3.2,你既然安装到了3.5(12.10的内核),自然是有相应的需求了。那么我建议你直接安装最新的内核:3.11(13.10),官方源里面就有。我曾经在12.04里安装3.5/3.8/3.11内核,主要是为了使用最新的N卡驱动,都成功了。具体命令为:
> sudo apt-get install linux-generic-lts-saucy
> 就可以自动安装3.11内核,并且可以自动升级。手动安装内核等方法不一定能自动升级。
> 建议你安装完后把所有3.5的内核都清理掉。
>
>
> 在 2013年11月17日下午1:47,Simon Ho <hpsheng2...@gmail.com>写道:
>
>> 系统版本号:
>> 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
>> >
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
> -------------- 下一部分 --------------
> 一个HTML附件被移除...
> URL: <
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20131120/fbd79809/attachment.html
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20131130/fa69228d/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复