Fedora Linux Support Community & Resources Center
  #1  
Old 27th July 2011, 05:46 AM
bugswontgo Offline
Registered User
 
Join Date: Jul 2011
Posts: 11
linuxfirefox
How to create a new VM with qemu-kvm from iso ?

After patiently waiting for 30+ hours during install attempts with the "Virtual Machine Manager", I realized that it wasn't going to happen.

So then I read about a possibly working version, qemu-kvm



How to use this to get a VM install up and going ?

For instance, this command appears to begin an install, but where does it actually create a vm image from that?

qemu-kvm -m 512 -cdrom /iso/Fedora-14-i386-DVD.iso


Thanks

Last edited by bugswontgo; 27th July 2011 at 05:49 AM.
Reply With Quote
  #2  
Old 27th July 2011, 05:59 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,717
linuxfedorafirefox
Re: How to create a new VM with qemu-kvm from iso ?

You need to manually create the disk image before starting qemu-kvm, and then decide the file on the command line.
It will work but it's a poor approach.

I use virt-manager intensively and it works great. You need to debug that problem

Do you have the libvirtd service running ?
These commands cause libvirtd to start at boot, and also start immediately. This service must be running before using "Virtual Machine Manager"

sudo chkconfig libvirtd on
sudo service libvirtd start
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 27th July 2011 at 06:05 AM.
Reply With Quote
  #3  
Old 27th July 2011, 06:22 AM
bugswontgo Offline
Registered User
 
Join Date: Jul 2011
Posts: 11
linuxfirefox
Re: How to create a new VM with qemu-kvm from iso ?

Those services are running, its just very slow.


Hm, I gave it 1 gig of ram and access to both cpu's

I remember installing fedora on a pentium 3 or therabouts with 500 megs of ram.


It was about one order or magnitude faster ( 10 x 10 ).
Reply With Quote
  #4  
Old 27th July 2011, 07:56 AM
ozjd Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 59
Posts: 2,346
linuxfedorachrome
Re: How to create a new VM with qemu-kvm from iso ?

virt-manager can use hardware virtualization if it is available but it may need to be turned on in the bios. It improves performance a lot.
Reply With Quote
  #5  
Old 27th July 2011, 04:18 PM
bodhi.zazen Offline
Registered User
 
Join Date: Jul 2006
Location: Montana
Posts: 731
windows_xp_2003firefox
Re: How to create a new VM with qemu-kvm from iso ?

qemu, without the hardware virtualization (kvm) is going to be slow.

Personally in that event (your CPU does not support kvm), I find VirtualBox will give you better performance.
__________________
If it is not broken, tweak it... If you break Fedora you get to keep both pieces :p
Reply With Quote
  #6  
Old 28th July 2011, 07:14 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,717
linuxfedorafirefox
Re: How to create a new VM with qemu-kvm from iso ?

I agree with bodhi.zazen & ozjd

You need to see if your CPU supports hardware virtualization. It ma ybe disabled in the BIOS.

If you don't have hardware virtualization, then virtualbox or vmware will be better choices.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #7  
Old 8th March 2012, 11:21 AM
cuban_cigar Offline
Registered User
 
Join Date: May 2007
Posts: 175
linuxfirefox
Re: How to create a new VM with qemu-kvm from iso ?

VirtualBox doesnt support fc13, and VM wants money.
Reply With Quote
  #8  
Old 8th March 2012, 12:55 PM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 5,481
linuxfirefox
Re: How to create a new VM with qemu-kvm from iso ?

I have had no trouble running versions of Fedora in VirtualBox---why do you say they don't support F13? (I freely grant I may be missing something.)

VMware has VMware-server and VMware-player for free. VMware-player might be closer to what you're looking for--VMware-server is a web based interface, rather cumbersome if I remember correctly. VMware-player, nowadays, is what pre 2.x VMware-server was--player now allows you to install (in the old days, it only worked with pre-configured virtual machines.)
Reply With Quote
Reply

Tags
create, iso, qemukvm

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
What's the difference? qemu vs qemu-kvm vs qemu-system-x86_64 KenJackson Using Fedora 0 30th June 2011 04:08 AM
Can't create virtual machine with QEMU/KVM tridc Using Fedora 1 10th November 2010 05:39 PM
did qemu design change? Depsolving problem with qemu marko Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 1 3rd April 2009 11:09 PM
qemu-common vs qemu-img dependancy problem marko Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 1 6th March 2009 10:50 PM


Current GMT-time: 17:34 (Thursday, 31-07-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