通过StarWindV2VConverter将VMWare的CentOS7虚拟机转换成Hyper-V产生所warning: /dev/disk/by-uuid/ does not exist问题处理

发布时间 2023-09-07 17:25:54作者: ParamousGIS

1. 在VMWare中将CentOS7虚拟机导出ovf,在StarWindV2VConverter中将其转换为VHDX

image


image


image


image


image


image


2. 在Hyper-V中新建虚拟机


2.1 在选择代数时要注意一定要选择 “第一代”

image


2.2 在选择选择虚拟硬盘时,选择已转换好的VHDX文件

image


3.启动Hyper-V中新建的虚拟机

3.1 出现了如下的问题


image



-------------

3.2处理方法


在虚拟机启动时选择 如下的引导

image


创建新的grub引导


[root@centos ~]# cd /boot/

[root@centos boot]# mv initramfs-3.10.0-1160.76.1.el7.x86_64.img /root/

[root@centos boot]# mv initramfs-3.10.0-693.el7.x86_64.img /root/

[root@centos boot]# mkinitrd /boot/initramfs-`uname -r`.img `uname -r`


更改grub默认引导