挂载 /boot/
从别的机器复制boot分区

/boot/grub/grub.conf  修改里面的 root分区的  uuid, 别的地方复制的会和本机不一致
查看uuid命令   blkid
并修改 /etc/fstab 文件的uuid,格式化后uuid就会修改

/boot/grub/menu.lst  为软连接,注意修改,确定其他还有没有软连接
menu.lst -> ./grub.conf 

yum install kernel  (可选)


grub-install /dev/sda  (boot 所在分区的磁盘,不是分区)

results matching ""

    No results matching ""