[virt-tools-list] under virt-manager, can't create a new VM instance from ISO image

Cole Robinson crobinso at redhat.com
Tue Nov 27 16:31:17 UTC 2012


On 11/23/2012 11:41 PM, Qiubo Su (David Su) wrote:
> dear community,
> 
> i can't use virt-manager to create a new VM instance. below is the steps i
> went through and the problems i got:
> 
> 1) run virt-manager to create a new VM with name test
> 2) select "local install media (iso image ......)"
> 3) browse to import ubuntu iso from local harddisk
> ......
> 4)
> a) if under "Advanced options", select "Virtual network 'default' :
> NAT(inactive)", then click Finish, got "Virtual Network is not active. Virtual
> Network 'default' is not active. Would you like to start the network now?",
> clidk Yes, got "Could not start virtual network 'default': internal error
> Network is already in use by interface br0"
> b) if under "Advanced options", select "specify shared device name" and set
> "bridge name:" br0, then click Finish, got "Unable to complete install:
> 'internal error Process exited while reading console log output: char device
> redirected to /dev/pts/3
> kvm: -drive
> file=/home/var/libvirt/images/test.img,if=none,id=drive-ide0-0-0,format=raw:
> could not open disk image /home/var/libvirt/images/test.img: Permission denied"
> 

Hmm, not sure why it is trying to use /home/var/libvirt/images/ as the root
directory, Fedora doesn't do that.

> 5) cancel the current new VM creation, then go to the /var/lib/images/, run
> "chmod 644 test.img", and then run "chown oneadmin test.img", then start to
> create a new VM again through "import existing disk image" option
> 

Since the initial install didn't work, that disk image is completely blank,
and doing an import install will not work because the disk has nothing to boot.

You want to do a CDROM install, select the ISO like before, on the storage
page, type the path into the box: /home/var/libvirt/images/test.img   and
continue on, choosing br0 as your bridge device.

- Cole




More information about the virt-tools-list mailing list