飞牛虚拟机安装黑群晖,硬盘无损迁移

nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=”quiet i915.force_probe=7d55 intel_iommu=on iommu=pt”

echo -e "vfio\nvfio_iommu_type1\nvfio_pci\nvfio_virqfd" >> /etc/modules

update-grub
update-initramfs -u -k all
reboot
cd /vol1/vm/pool

qemu-img convert -O qcow2 rr.img op.qcow2

chown libvirt-qemu:libvirt-qemu e5f7629c-433e-4203-bf0f-b88bfd16f582-82pz

https://archive.synology.cn/download/Os/DSM/7.2-64570-1-NanoPacked
 ls /dev/disk/by-id/

cd /etc/libvirt/qemu

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source dev='/dev/disk/by-id/ata-YSSDJQB-512GSQ_2K23D5707409794'/>
      <target dev='sdz' bus='sata' rotation_rate='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source dev='/dev/disk/by-id/ata-INTEL_SSDSC2KW256G8_PHLA752301KA256CGN'/>
      <target dev='sdx' bus='sata' rotation_rate='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
© 版权声明
THE END
喜欢就支持一下吧
点赞2 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容