Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Qemu Problems: OpenBSD(host) Kali Linux(guest) Post 302882142 by Azrael on Saturday 4th of January 2014 03:18:09 PM
Old 01-04-2014
Qemu Problems: OpenBSD(host) Kali Linux(guest)

As the title suggests I ran into a little problem trying to create a virtual machine of Kali Linux usign Qemu inside OpenBSD. I edited the example Kali Linux gave on their website here to the following for BSD:

Code:
qemu-system-i386 -hda ./kali.qcow2 -boot d -cdrom ./kali-linux-1.0.5-i386.iso -m 768 -usb

This would only seemed to work using their Failsafe boot mode. I played with different amounts of memory, but 768 seemed to be the magic number.

When the Gnome desktop began everything would fail and the vm would stop. Monitoring this again from start to fail I noticed that the vm was consuming heavy processing before it even got to the desktop:

Code:
$ ps -aux | grep qemu
root     26346 98.4 33.5 1115948 1050004 p1  S+     1:52PM    2:27.45 qemu-system-i386 -hda ./kali.

It continued to climb above 100.00 before finally crashing.

I couldn't imagine one vm would consume too much processing on a quad machine that's not running much else. I'm a little new to OpenBSD and have never really used Qemu before.

Does anyone know any other parameters for Qemu I can use to help keep the processing load under control?

UPDATE - Tried adding "-cpu Nehalem" to specify my CPU architecture. No change though...

Last edited by Azrael; 01-04-2014 at 06:57 PM..
 

9 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Sharing internet from host os to guest os

I have a host os Windows 7 ultimate in place where virtual box is installed. Now in virtual box I have installed solaris 10. There is internet connection present in host windows 7 still I am not able to access internet in solaris 10. Please help to configure solaris so that internet can be... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies

2. Linux

Unable to ping Linux guest from win7 host

Hi, I am using win7 on my PC and installed VMware on it on which i am running linux I am unable to ping my linux guest from my win machine, but i can ping my windows host from linux guest : Below is my system configuration Linux root@localhost ~]# ifconfig eth0 Link... (9 Replies)
Discussion started by: chander_1987
9 Replies

3. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

4. Cybersecurity

Virtualbox guest as a firewall for lUbuntu host

Using virtualbox, I am trying to use Alpine linux (guest) as a firewall for my lubuntu (host). My physical network card (NIC) is eth0. ISP WAN -> Alpine linux (guest) -> lubuntu (host) LAN I am trying to get the ip from my ISP DHCP server but I had no success. I know that in virtualbox I have... (0 Replies)
Discussion started by: TrickySecurity
0 Replies

5. Linux

Unable to connect guest VM to internet (QEMU via both 'User-mode networking' and 'TUN/TAP')

Hello, I installed FreeBSD 10.3 on AQEMU. I can't connect to internet in none of the modes of "Default, User-Mode Networking" and "TUN/TAP Networking". I am able to ping my host in the TAP networking mode (192.168.1.33 which is my IP addr in guest), but getting 'no route to host' for any... (1 Reply)
Discussion started by: temp-usr
1 Replies

6. Debian

Using the Kali Linux

Hi there, I current have three known issue with Kali Linux GUI When copy large number of files - doesn't show the progress whatsoever. I got the false impression that the files has already been finished copying Opening of existing folders, it will only show up as dots on the folder.... (1 Reply)
Discussion started by: alvinoo
1 Replies

7. Debian

Wlan0 Failed to UP in Kali Linux

Dear Moderator, While working on airmon-ng when the situation has come to set wlan0 on monitor mode Identification Wlan0 root@kali:~# iwconfig lo no wireless extensions. wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated ... (1 Reply)
Discussion started by: raghunsi
1 Replies

8. Linux

Best tuning for qemu windows guest(windows 7)

In your opinion,which is the best tuning for windows 7 guest? I use cpu: host mem: at least 2G,better 4G disk: this is the most important,without "unsafe" cache is really slow and apply a 1G "service pack" can take 3 hours,with unsafe is really fast,actually I use cache=unsafe... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

9. Red Hat

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT) We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies
qemuctl(1)																qemuctl(1)

NAME
qemuctl - Graphical control for qemu SYNTAX
qemuctl [-suspend-dir <dir>] [-suspend-file <filename>] [-qemu <qemu>] [-nowakeup] qemu-options DESCRIPTION
qemuctl is a gui that controls a qemu process with the built-in monitor of qemu. So you can change devices, suspend machines, save screen- shots, ... If you suspend a machine it will do the following macro: stop screendump "suspend-dir/suspend-file.ppm" savevm "suspend-dir/suspend-file.vm" commit quit You can afterwards resume the machine with: qemuctl -suspend-dir suspend-dir -suspend-file suspend-file your_qemu_options the suspend-files will then be deleted or qemuctl -loadvm suspend-dir/suspend-file.vm your_qemu_options Be aware that you can't use the "-monitor" option with qemuctl, because it needs the control over the monitor. The option "-serial stdio" can't be used, too. OPTIONS
-suspend-file <filename> This option is normaly used by qemuctl to support suspend and wakeup. qemuctl can then find the vm-state-file in its folders and wakeup the virtual machine. If the file is there the qemuctl waes up the virtual machine and deletes the file afterwards. On suspend the vm-state-file is then stored as the <filename> with the .vm ending and the screenshot is stored as the <filename> with the .ppm ending. Default filename is "suspend". -suspend-dir <dir> This is the dir where the suspend files would be stored or expected. Default is current dir. -nowakeup Don't wake up even if the vm-file is there. Suspend still works. Default is to wake up using the vm-file if it is there. -qemu <qemu> The qemu variation to use. It can be qemu or kvm. Default is qemu. qemu-options Use qemu-options for the launch of qemu. See qemu(1) for further details. FILES
none ENVIRONMENT VARIABLES
none EXAMPLES
To use the suspend file 'Debian 3.1' and store/search it in the '/qemu' dir: qemuctl -suspend-file "Debian 3.1" -suspend-dir "/qemu" -boot c -hda hda.raw Alternativly you can run it with default suspend filenames: qemuctl -boot c -hda hda.raw AUTHORS
Peter Rustler SEE ALSO
qemu(1) qemu-launcher(1) Peter Rustler 0.0.1 qemuctl(1)
All times are GMT -4. The time now is 09:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy