openSUSE 12.1 64-bit KVM vm-install wizard cannot read ISO

Installed openSUSE 12.1 64-bit with KVM.
rclibvirtd started.
Running virt-manager as root. Click New to create a new VM running openSUSE 12.1 64-bit.

Clicked OK and got an error dialog box that reads:

Error
internal error process exited while connecting to monitor:
qemu-kvm: -drive file=/root/openSUSE-12.1-DVD-x86_64.iso,if=none,media=cdrom,id=drive-ide0-0-0,readonly=on,format=raw: could not open disk image /root/openSUSE-12.1-DVD-x86_64.iso: Permission denied

Please help… Thank you.

I have the exact same issue here.
My setup is also slightly different than the default:

install files live in

/var/install

images live in

/var/lib/kvm/images

and

/var/lib/kvm/images1

This all worked fine with 11.x but with 12.1, mounting ISOs from the install file system has become impossible.

This thread has been open since November, wonder if nobody else has seen the issue?

pj

Hi

As anyone fixed this issue, I am having the same problem.

Thanks
Sumen

I can not answer this question. But here’s a method you can try:

  • become root in a terminal
$ su -l
  • install vmscripts from my repo:

# zypper ar [noparse]http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_12.1/[/noparse]  PTA
# zypper refresh -r PTA
# zypper in vmscripts
  • create a bridge on the first network interface:

# nat2bridge

  • Create a vm and Install openSUSE 12.1 guest (net install) with vm-create.

Don’t create a vm! vm-create does it for you. First try the command with the option -t to see what it will do:


# vm-create -t -s 8 -S -b br0 -u opensuse olivia

This command installs the latest openSUSE release (12.1) in a virtual machine named “olivia” on a 8 GB ( -s 8 ) virtual disk. You can of course give the size you want. Have a look of the different options with


# vm-create -h

  • When the command does what you want, remove the option -t to execute it:

# vm-create -s 8 -S -b br0 -u opensuse olivia

More in these threads:
http://forums.opensuse.org/english/other-forums/development/programming-scripting/453962-vm-create-create-kvm-virtual-machines.html
http://forums.opensuse.org/english/other-forums/development/programming-scripting/453961-vm-bridge-convert-virtual-machines-nat-bridge-bridge-nat.html#post2288556

An example with 11.4:
openSUSE 11.4 - vm installation guide

*** You might have to set some variables in /etc/vm-create.cfg beforeusing this script.**

I haven’t used it for a while. But I updated the URLs in the default config not so long ago.

Good luck.

  • Please move this thread to the virtualization forum, where it belongs.