修改windows磁盘签名

 

 diskpart

 

list disk

select disk 0

获取uniq disk

 

 

mbr

fdisk

x

i

退出

r

w

 

gpt签名:

gdisk

x

g

w

 

linux 获取disk identifier

fdisk -l /dev/sdc

fdisk -l /dev/sdd

 

blkid 获取 partuuid

 

 

virt-manager 启动 uefi windows

需要OVMF

 

 

 

smm

SMM is not available with this QEMU binary

 

 版本问题。LVMF 2015 版本

 I had the same problem. As it turns out, the latest version of OVMF (dated from 2016) in the RH supplemental repository does not seem to work. One way to fix that is: yum downgrade OVMF You will get a version dated 2015, and it seems to work without a problem.

 

Same for me, the RPM "OVMF-20140822-7.git9ece15a.el7.x86_64.rpm" from the RHEL 7 Supplementary Repo seems to work.

 

 

 

 方案一

Windows 系统更换为 Linux 系统后,比如更换为 Centos,对于 NTFS 格式的数据盘默认是无法识别的,可以通过 ntfs-3g 进行识别。

    1. 执行如下命令安装 ntfs-3g:
      yum install -y ntfs-3g

    2. 安装成功后通过如下命令进行挂载,结果如下:
      mount -t ntfs-3g /dev/xvdb5 /mnt

 

 方案二:

 

yum install  -y libguestfs-tools
yum install libguestfs-winsupport

virt-copy-in -a /dev/sdb /root/network.json /Program\ File/Roragent      

 

 

参考:

https://access.redhat.com/discussions/3175901

https://www.jianshu.com/p/0e95336b1405

 

posted @ 2022-04-19 16:27  redrobot  阅读(555)  评论(0编辑  收藏  举报