886886 backyes
2010-Jun-01 03:52 UTC
[CentOS] Error: when updating the latestt kernel 2.6.34 in centos 5.5
Hi, I encounter a error when installing the latest kernel 2.6.34 in centos. Steps: 1. download source code. 2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install, 5.reboot. 6.error:: accur. Reading all physical volumes. This may take a while ... Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. mount: could not find filesystem"/dev/root" setting up other filesystems. ... After comparing the latest initrd.img and the current system initrd.img . The differnce below: the currenet system has more modules before excuting the LVM operations. these modules is dm-mem-cache.ko , dm-message.ko and dm-raid45.ko which depends the others. I know the centos 5.5 ' s kernel is 2.6.18. which has dm-raid45.ko module. I do not know which changes to 2.6.34 about LVM. I think the errro is about the LVM. Anyone can give me answer or advice. Thanks. -- Best regards to you !>From Yanfei wangAddr: Anhui China Email:backyes at mail.ustc.edu.cn <Email%3Abackyes at mail.ustc.edu.cn> QQ:23475391 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100601/1400bf0c/attachment-0001.html>
Tsuyoshi Nagata
2010-Jun-01 04:19 UTC
[CentOS] Error: when updating the latestt kernel 2.6.34 in centos 5.5
(2010/06/01 12:52), 886886 backyes wrote:> 3.use the .config file of current system in /boot directory.Hi, You can check your .config file and CentOS config file. (/boot/config-2.6.18-194.3.1.el5) Many options must be =Y in the file. and Re-building kernel is much taking your time. Shortly, rebuild centos5.5 without LVM(root=/dev/hda) is a answer your question. Tsuyoshi.
Alexander Dalloz
2010-Jun-01 09:18 UTC
[CentOS] Error: when updating the latestt kernel 2.6.34 in centos 5.5
> Hi, > I encounter a error when installing the latest kernel 2.6.34 in centos.What is your purpose to try to run a recent vanilla kernel?> Steps: > 1. download source code. > 2.tar -xvf 2.6.34.tar.gz > 3.use the .config file of current system in /boot directory. > 4.make ,make modules_install, make install,That should be "make oldconfig", shouldn't it?> 5.reboot.[ ... ]> Best regards to you ! >>From Yanfei wangAlexander