手上有一台之前安裝Ubuntu 11.04的電腦,使用VMware standalone Convertor 5.5.0 build-1362012轉換到遠端的ESXi 5.5,

到了97%的時候,出現了失敗的訊息,錯誤訊息如下:

『 FAILED: An error occurred during the conversion: 'GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 1, and message: Installing GRUB2 on (hd0)... /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-setup: error: will not proceed with blocklists. Installing GRUB2 on (hd0) failed. Installing GRUB2 on /dev/sda... /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-setup: error: will not proceed with blocklists. Error installing GRUB Command: grub-install --no-floppy /dev/sda Error running vmware-updateGrub.sh through chroot into /mnt/p2v-src-root /usr/lib/vmware-converter/installGrub.sh: line 143: /mnt/p2v-src-root:Is a directory 』

看起來十分混亂,不過VMware官方似乎也知道這個問題,請看以下說明

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2052628

BUT......我手上的11.04是被ubuntu放棄的版本,根本找不到原來的發行光碟,使用手邊12.04 DeskTop版的安裝軟體,似乎又沒有Rescue選項,最後就用了13.04 Server版來進行修復

按照VMware KB網址的文章進行操作,只是裡面有提到要使用parted程式新增一個分區,我也新增了,不過下blkid時,並沒有SHOW出它的UUID,

所以我就跳過了和這個新分割區有關的步驟,只有將grub.cfg & fstab裡面的UUID,修改為blkid裡面的UUID,然後就可以開機了。

總的來說,其實就是實體機被vm化之後,分割區的UUID改變了,所以bootloader找不到它,必須手動修正這個UUID問題。

 

qmaw 發表在 痞客邦 留言(0) 人氣()