在将系统从一台服务器移动到另一台服务器后,我正在尝试修复我的系统。它与通过网络启动的内核完美配合,但不能从磁盘启动。
重新安装 CentOS 6.6 内核显示此错误:
grubby fatal error: unable to find a suitable template
Run Code Online (Sandbox Code Playgroud)
我的 /boot/grub/grub.conf 文件看起来不错:
default=0
timeout=5
title linux centos6_64
kernel /vmlinuz-2.6.32-504.8.1.el6.x86_64 root=/dev/sda3 ro crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=pl_PL.UTF-8 KEYTABLE=pl
root (hd0,1)
initrd /initramfs-2.6.32-504.8.1.el6.x86_64.img
Run Code Online (Sandbox Code Playgroud)
所有文件都已就位:
ls -l /boot
razem 24645
-rw-r--r-- 1 root root 106312 01-28 22:40 config-2.6.32-504.8.1.el6.x86_64
drwxr-xr-x 3 root root 1024 2011-07-08 efi
drwxr-xr-x 2 root root 1024 03-06 13:44 grub
-rw------- 1 root root 18227613 03-06 13:44 initramfs-2.6.32-504.8.1.el6.x86_64.img
-rw-r--r-- 1 root root 200245 01-28 22:41 symvers-2.6.32-504.8.1.el6.x86_64.gz
-rw-r--r-- …Run Code Online (Sandbox Code Playgroud)