LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-26-2013, 07:04 AM   #1
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Rep: Reputation: Disabled
QEMU - problem


Hi,

In my project, I need to work with QEMU, but for the first step when I tried to download QEMU my machine throughs error like this...

cot@boss:~$ sudo apt-get install qemu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
qemu : Depends: qemu-system (>= 0.12.5+dfsg-2) but it is not going to be installed
E: Broken packages


What does it mean...? Whether my hardware is not supporting..?

Mine,

Processor : Pentium Pro, and I am using my system with 2 GB RAM

If you say yes to the reason...

Kindly share me suggestions, to proceed further, to another VM elsewhere...

Thanks in advance
 
Old 03-26-2013, 07:18 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
It has nothing to do with hardware.

What distribution?

Try running aptitude install qemu-system and that will likely tell you why it cannot install qemu-system and therefore why it cannot install qemu. It's likely a broken or missing dependency.
 
Old 03-26-2013, 08:29 AM   #3
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Distro/version? sources.list?
 
Old 03-26-2013, 09:05 AM   #4
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
FYI

Please refer http://en.wikibooks.org/wiki/QEMU/Installing_QEMU
 
Old 03-26-2013, 09:18 AM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
That doesn't really help us help you.
 
Old 03-29-2013, 12:14 AM   #6
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
QEMU - problem

Hi,

I installed qemu, but unable use it...whether I may need extra patches to apply...?

FYI, my system will not support KVM,

$ egrep '(vmx|svm)' /proc/cpuinfo

I had not got any output for this...

Hence, I planned to use qemu as emulator, but when I type

cot@boss:~/Desktop/Project3backup/qemu$ qemu --help
bash: qemu: command not found

Hence I am not able to run this command too


cot@boss:~/Desktop/Project3backup/qemu$ qemu -cdrom ubuntu-12.10-desktop-i386.iso -m 256

even I try to test, whether my qemu correctly installed or not, I am not getting the required result

cot@boss:~$ qemu-system-i386
qemu-system-i386: pci_add_option_rom: failed to find romfile "efi-e1000.rom"
VNC server running on `::1:5900'


after this output nothing happens...


Please help me in this, if I miss anything...

Last edited by smdaudhilbe; 03-29-2013 at 12:36 AM.
 
Old 03-29-2013, 01:37 AM   #7
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
What did you expect to happen?
Have you tried to actualy connect to the localhost VNC server with a VNC viewer to see the VM's graphical output?

qemu is command line you know, it has no graphical interface built in.

If you need a graphical interface, you should install it separately. There are a few available - aqemu, virt manager etc.
I use virt-manager, it has many options (including docked console view) and it works really well once you get the hold of it.

PS for video qxl is the best option, and make sure you use spice channel if you want graphical interface in the guest and screen resize/copy+paste support.
Other than that, 256 MB wont work with Ubuntu live cd if you want to run the desktop, you need at least 512 MB and i have doubts about the ability to run Unity on virtualized environment without 3d support (maybe fallback mode will work).

Last edited by gradinaruvasile; 03-29-2013 at 01:46 AM.
 
Old 04-10-2013, 01:51 AM   #8
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Friends,

This problem drives me mad...

cot@boss:/optt/qemu$ qemu -hda disk.img -cdrom ubuntu-12.10-desktop-i386.iso -boot d
bash: qemu: command not found

what is happening there...?
 
Old 04-10-2013, 02:49 AM   #9
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by smdaudhilbe View Post
Friends,

This problem drives me mad...

cot@boss:/optt/qemu$ qemu -hda disk.img -cdrom ubuntu-12.10-desktop-i386.iso -boot d
bash: qemu: command not found

what is happening there...?
You dont have qemu installed...?
 
Old 04-10-2013, 03:20 AM   #10
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hi,

I done this,

1) downloaded Qemu version 1.4.0

$ tar -zxvf qemu-1.4.0.tar.gz
$ cd qemu-1.4.0

$ ./configure –target-list=i386-softmmu

$ make

$ sudo make install


$ qemu-system-i386 --version
QEMU emulator version 1.4.50, Copyright (c) 2003-2008 Fabrice Bellard

but when I try this, it fails

$ qemu -hda disk.img -boot d -cdrom ./ubuntu-12.10-desktop-i386.iso -m 512
bash: qemu: command not found


$ qemu-system-i386
qemu-system-i386: pci_add_option_rom: failed to find romfile "efi-e1000.rom"
VNC server running on `::1:5900'

As per your advice I installed virt-manager too...but still problem persists...

What I am lagging?
 
Old 04-10-2013, 03:21 AM   #11
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hi,

I done this,

1) downloaded Qemu version 1.4.0

$ tar -zxvf qemu-1.4.0.tar.gz
$ cd qemu-1.4.0

$ ./configure –target-list=i386-softmmu

$ make

$ sudo make install


$ qemu-system-i386 --version
QEMU emulator version 1.4.50, Copyright (c) 2003-2008 Fabrice Bellard

but when I try this, it fails

$ qemu -hda disk.img -boot d -cdrom ./ubuntu-12.10-desktop-i386.iso -m 512
bash: qemu: command not found


$ qemu-system-i386
qemu-system-i386: pci_add_option_rom: failed to find romfile "efi-e1000.rom"
VNC server running on `::1:5900'

As per your advice I installed virt-manager too...but still problem persists...

What I am misssing?
 
Old 04-10-2013, 08:35 AM   #12
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Maybe...?
Code:
qemu-system-i386 -hda disk.img -boot d -cdrom ./ubuntu-12.10-desktop-i386.iso -m 512
Note that this wont do anything visible since it runs in the background and you need a vnc viewer or spice client to connect to it.

Virt-manager is, on the other hand, visual in nature and it uses qemu as backend.
 
Old 04-16-2013, 03:35 AM   #13
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
QEMU - problem

Hi friends,

At last I found solution to this big problem....

I installed VNC viewer as per suggestions.

Everything works fine now...
 
  


Reply



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
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc' Skaperen Linux - Virtualization and Cloud 8 06-09-2011 07:15 AM
Error while installing qemu (qemu-kvm-0.13.0) in rhel 5.3 birla.sunil Linux - Virtualization and Cloud 2 10-19-2010 03:56 AM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
After qemu-img, qemu is not capable to detect the C drive (empty) frenchn00b Linux - General 3 10-18-2009 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:35 PM.

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