Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Linux virtualization with Qemu

linux virtualization qemu

  • Please log in to reply
2 replies to this topic

#1 mortezaipo

mortezaipo

    CC Lurker

  • New Member
  • Pip
  • 6 posts
  • Programming Language:C, C++, PHP, JavaScript, Assembly, Bash
  • Learning:C, C++, PHP, JavaScript, Assembly, Bash

Posted 13 January 2013 - 04:59 AM

Hi!

For virtualization in Linux , you have easy and powerful way!
Install Qemu:

sudo apt-get install qemu

(in other distributions that name is qemu too)

After installing Qemu , open your terminal and try it:

For making img file :
qemu-img create win7.img 10G


qemu-img create centos.img 10G


For booting and installing your OS in img file via cdrom:
qemu --boot c -cdrom /dev/cdrom -hda win7.img -user-net -m 256


For booting and installing your OS in img file via iso file:
qemu-system-x64 -boot d -cdrom /path/to/win7.iso -hda win7.img -user-net -m 256


Description:
-m : refer to memory usage
-user-net : enabling network
qemu-system-x64 : for 64 bit systems

Note : If you wanna install 64 bit system , you should do it via qemu-system-x64. and for 32 bit system , do it : qemu-system-i386
Note: in some distribution qemu-system-x64 is qemu-system-x86_64
Note : with "qemu" command you can install your OS . but it's better that you call the special commands.



Good luck!

Edited by mortezaipo, 13 January 2013 - 10:09 PM.

  • 0

#2 adammary

adammary

    CC Lurker

  • New Member
  • Pip
  • 3 posts

Posted 14 January 2016 - 01:12 AM

I am desperately looking for a tiny, really tiny, Linux distro to run as a QEMU-KVM host. 64bit of course.
I am not looking for graphics, just "plain old command line" (SSH).
 
I have just finished trying with TinyCore v6.1. No way to get it installed in a "normal way" and no way to get QEMU package.
 
DamnSmall is way too old. Almost dead I'd say.  VMware Training in Chennai
 
Then what?
Thanks in advance.  VMware Training in Chennai

  • 0

#3 hantt163

hantt163

    CC Lurker

  • New Member
  • Pip
  • 3 posts

Posted 14 May 2016 - 07:04 PM

thank for share! it's great for me


  • 0





Also tagged with one or more of these keywords: linux, virtualization, qemu