Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th April 2011, 05:31 PM
f4kingit Offline
Registered User
 
Join Date: Apr 2011
Posts: 3
linuxfedorafirefox
KVM Virtual Machine Manager doesn't recognize USB CD boot disk

Hi there. I'm running F14 KDE. I have a legitimate Windows 7 Ultimate CD that I want to run under kvm/qemu. When I'm going through virt-manager to create a new image, the "Use CDROM or DVD" selection shows "No device present." I have an external USB CDROM attached and it works fine:

[root@08:44:31 /work]$ mount | grep media
/dev/sr0 on /media/UDF Volume type udf (ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,io charset=utf8,umask=0077)
root@08:44:38 /work]$ ls /media/UDF\ Volume/
autorun.inf boot bootmgr bootmgr.efi efi setup.exe sources support upgrade

Is there a way to tell virt-manager that this is a CD, or an alternative mount command? The ISO option in virt-manager is even more difficult; it's not as simple as mkisofs because of the missing boot.img, etc., etc.

Thanks!

---------- Post added at 08:31 AM ---------- Previous post was at 07:47 AM ----------

I hacked around this by commenting out the device type check in /usr/share/virt-manager/virtManager/uihelpers.py, removing uihelpers.pyc and uihelpers.pyo, and restarting virt-manager, and it worked!

def mediadev_added(ignore_helper, newobj, widget, devtype):
model = widget.get_model()

#if newobj.get_media_type() != devtype:
# return

I'm normally not a huge fan of dynamic languages, but it sure does making hacking easier...
Reply With Quote
Reply

Tags
boot, disk, kvm, machine, manager, recognize, usb, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Machine Manager: Cannot create virtual machine chris_flow Using Fedora 0 30th November 2009 03:57 PM
Virtual Machine Manager error when add a new virtual machine bizar Using Fedora 3 1st November 2009 10:37 PM
Virtual disk images (virtual box - virtual machine manager) beaker_ Using Fedora 0 2nd July 2009 01:19 PM
Problem with QEMU and Virtual Machine Manager after updates, guest machine slow otnateos Using Fedora 6 12th April 2008 03:29 PM
problem creating a new virtual system with Virtual Machine Manager in Fedora 7 reboot Using Fedora 3 3rd June 2007 01:51 AM


Current GMT-time: 03:34 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat