Re: under virt-manager, can't create a new VM instance from ISO image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux