Linux Kernel diagnose
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.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。