could not open disk image Permission denied

时间 : 14-07-30 栏目 : 虚拟化 作者 : 老薛 评论 : 0 点击 : 8,094 次


[root@kvm img]# virt-install --virt-type kvm --name centos65 --ram 1024 --cdrom=../iso/CentOS-6.5-x86_64-bin-DVD1.iso --disk CentOS65.qcow2,format=qcow2 --nonetworks --graphics vnc,listen= --noautoconsole --os-type=linux --os-variant=rhel6

Starting install...
ERROR    internal error Process exited while reading console log output: char device redirected to /dev/pts/2
qemu-kvm: -drive file=/root/work/img/CentOS65.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: could not open disk image /root/work/img/CentOS65.qcow2: Permission denied

Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start centos65
otherwise, please restart your installation.


# vim /etc/libvirt/qemu.conf
user = "root"
group = "root"
dynamic_ownership = 0


/etc/init.d/libvirtd  restart

本文标签 , ,

除非注明,文章均为( 老薛 )原创,转载请保留链接: