新编译的内核不能引导系统,求助 !

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
songweiwen
帖子: 57
注册时间: 2010-11-20 11:33

新编译的内核不能引导系统,求助 !

#1

帖子 songweiwen » 2010-11-20 12:05

前些日子在笔记本 惠普 nc6400上装了 ubuntu 10.04,发现电池在此系统上续航时间比XP短很多,上网查了下原因,首先注意到的是 cpu 的变频。然后发现,此机在 ubuntu10.04下没有变频能力:
cpufreq-info
cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 0.00 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 0.00 ms.

看样子是连驱动都没有,再网上搜索,感觉应该是内核的acpi没有添加cpufreq功能,只能重新编译内核。于是乎就下载了个最新的内核稳定版:2.6.36.然后还是网上找到了编译和安装过程。经过了难熬的两个小时,内核是出来了。但重启后却发现,系统跟本不能启动。给出来的信息似乎说是文件系统不能加载(root不能加载)!郁闷!!!!
给出来的信息:
Gave up waiting for root device. Common problems:
-Boot args ( cat /proc/cmdline )
-Check root delay = (did the system wait long enough ? )
-check root = (did the system wait for the right device ?)
-Missing modules (cat /proc/modules; ls /dev)
FATAL: Could not load /lib/modules/2.6.36hpnc6400/modules.dep: No such file on directory
FATAL: 同上
ALERT! /dev/disk/by-uuid/xxxxxxxxxxxxxxxxxxxxxxxx/does not exist.
Dropping to a shell !
请各路高手多多指教,不胜感激!谢谢!
头像
heibianfu
帖子: 69
注册时间: 2009-12-01 22:17

Re: 新编译的内核不能引导系统,求助 !

#2

帖子 heibianfu » 2010-11-22 9:52

你编译的内核是不是没有文件系统模块?
我每天看到论坛的人潜水都不说话,于是我也不说。
但是有一天看到一个人把自己的签名写成一段话每次都粘贴一下。
于是我也这么干!
songweiwen
帖子: 57
注册时间: 2010-11-20 11:33

Re: 新编译的内核不能引导系统,求助 !

#3

帖子 songweiwen » 2010-11-22 12:38

.config是直接copy原来/boot文件夹中的。
回复