[VMware] CentOS 3 P2V faild "again" ...
Boot on CentOS DVD.
按下 F5 -> 輸入linux rescue ,進入rescue模式.
輸入以下指令重建GRUB:
chroot /mnt/sysimage grub root (hd0,0) setup (hd0) quit
這樣就重建完成了,原本以為大功告成,誰知道… SCSI Controller 又出問題,可能是因為原本是 IDE 轉VMware 的LSI Logic SCSI卡,解決方法如下:
Boot on CentOS DVD.
按下 F5 -> 輸入linux rescue ,進入rescue模式.
修改前先備份是一定要的好習慣. ( RHEL4、5請將 modules.conf 改成 modprobe.conf )
cp /etc/modules.conf /tmp
修改 modules.conf.
vi /etc/modules.conf ##刪除掉原本的 SCSI Controller ,再加入 alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptscsih
重新編譯 initrd,編譯前先確定version
uname -a ##注意一下,下面這個 initrd 檔,應該和GRUB的開機選單裡的設定一致 /sbin/mkinitrd -f /boot/initrd-2.4.21-50.ELsmp.img 2.4.21-50.ELsmp
重新開機,大功告成.
解決問題方法可能千百種,只能不斷 Try,才可以得永生! 參考資源: How to Change SCSI Controllers on your Linux VM











