首页 > 系统服务 > 详细

Linux Kernel diagnose

时间:2014-03-27 20:13:07      阅读:762      评论:0      收藏:0      [点我收藏+]

Issue description:


RHEL Linux is panic when it boots at very begining.  Thinking it may be an issue of initramfs problem.


Diagnose Steps:


1. Boot the server into rescure mode via RHEL dvd.


2. copy /boot/initramfs.`uname -r`.image to local filesystem , /var/tmp/


3. make a temporary directory . /var/tmp/kernel_image


4. gzip -cd /boot/initramfs.xxxx.img |cpio -idm


5. when I look at init script, and realised that vg for root file system has a wrong name. modify it and change it back from vg01 to vg00.


6. Rebuild the kernel.  

   find . -print |cpio -c -o|gzip -c -9 >/boot/initramfs.xx...img


Result:


reboot the sytem , it becomes normal.  oh yaa.

Linux Kernel diagnose,布布扣,bubuko.com

Linux Kernel diagnose

原文:http://sydneylinux.blog.51cto.com/1026561/1384840

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!