Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 05-22-2010, 09:21 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
qemu: could not open disk image :

Running Fedora 12 on Quad-Core AMD Opteron 2352.

Built a VM with the following command:

$ sudo virt-install \
--hvm \
--vnc \
--arch=x86_64 \
--os-type=linux \
--os-variant=rhel6 \
--name=rhel6-x86_64 \
--ram=512 \
--disk path=/var/lib/libvirt/images/rhel6-x86_64.img \

I got a warning during the install that the disk was corrupted and needed to be re-initialized. I allowed the install to re-initialize the disk, and all proceeded normally.

However, the VM did not reboot, and when I try to start the new VM, whether from virsh or virt-manager, I get the following error.
Error starting domain: internal error unable to start guest: qemu: could not open disk image : No such file or directory
I did a lot of googling of the problem, but I could not figure out what exactly to do from the sites I visited.

Getting the idea from some of the sites that there may have been a permissions problem, I tried moving the file out of /var/lib/libvirt/images into my /home/user directory, and editing the virtual machine's xml file accordingly, but I still get the same error.

Please advise.

Details of the error:

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/", line 589, in run_domain
File "/usr/share/virt-manager/virtManager/", line 150, in startup
File "/usr/lib/python2.6/site-packages/", line 293, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error unable to start guest: qemu: could not open disk image : No such file or directory
Old 05-22-2010, 09:38 AM   #2
LQ Newbie
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
OK, according to, the workaround is to remove the CDROM from the configuration, as it will try to boot from the CDROM first. As far as I can tell, this is new and unwelcome behavior, which is why there is a bug report, and a newer version of libvirt is forthcoming.

However, the VM appears to hang where it says, "Booting from hard disk ..."

Any advice?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount qemu image secretlydead Linux - Software 11 05-14-2010 05:12 PM
Trying to convert VMWare image to raw using Qemu: error - "image open" JamesHall Linux - Software 1 07-22-2008 05:59 AM
Canīt mount a qemu image bruno buys Linux - Software 2 03-31-2006 11:00 PM
qemu create disk image kpachopoulos Linux - General 3 11-29-2005 11:49 AM
Mounting a qemu created root disk image Valhalla Linux - Software 4 10-26-2005 09:34 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration