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
libguestfs-test-tool(1) 				      Virtualization Support					   libguestfs-test-tool(1)

NAME
libguestfs-test-tool - Diagnostics for libguestfs SYNOPSIS
libguestfs-test-tool [--options] DESCRIPTION
libguestfs-test-tool is a test program shipped with libguestfs to allow you to check basic libguestfs functionality is working. This is needed because libguestfs occasionally breaks for reasons beyond our control: usually because of changes in the underlying qemu or kernel packages, or the host environment. If you suspect a problem in libguestfs, then just run: libguestfs-test-tool It will print lots of diagnostic messages. If it runs to completion successfully, you will see this near the end: ===== TEST FINISHED OK ===== and the test tool will exit with code 0. If it fails (and/or exits with non-zero error code), please paste the complete, unedited output of the test tool into a bug report. More information about reporting bugs can be found on the <http://libguestfs.org/> website. OPTIONS
--help Display short usage information and exit. --qemu qemu_binary If you have downloaded another qemu binary, point this option at the full path of the binary to try it. --qemudir qemu_source_dir If you have compiled qemu from source, point this option at the source directory to try it. -t N --timeout N Set the launch timeout to "N" seconds. The default is 600 seconds (10 minutes) which does not usually need to be adjusted. -V --version Display the libguestfs version number and exit. TRYING OUT A DIFFERENT VERSION OF QEMU
If you have compiled another version of qemu from source and would like to try that, then you can use the --qemudir option to point to the qemu source directory. If you have downloaded a qemu binary from somewhere, use the --qemu option to point to the binary. Note when using these options, you can ignore the business of qemu wrapper scripts ("QEMU WRAPPERS" in guestfs(3)), since libguestfs-test- tool writes a wrapper script for you if one is needed. TRYING OUT A DIFFERENT KERNEL
If you are using febootstrap >= 3.8 then you can select which kernel libguestfs tries. You do this by setting the environment variables "FEBOOTSTRAP_KERNEL" and/or "FEBOOTSTRAP_MODULES". Refer to "ENVIRONMENT VARIABLES" in febootstrap-supermin-helper(8) for further information. SELF-DIAGNOSIS Refer to "APPLIANCE BOOT PROCESS" in guestfs(3) to understand the messages produced by libguestfs-test-tool and/or possible errors. EXIT STATUS
libguestfs-test-tool returns 0 if the tests completed without error, or 1 if there was an error. ENVIRONMENT VARIABLES
For the full list of environment variables which may affect libguestfs, please see the guestfs(3) manual page. SEE ALSO
guestfs(3), <http://libguestfs.org/>, <http://qemu.org/>. AUTHORS
Richard W.M. Jones ("rjones at redhat dot com") COPYRIGHT
Copyright (C) 2009-2012 Red Hat Inc. <http://libguestfs.org/> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. libguestfs-1.18.1 2013-12-07 libguestfs-test-tool(1)
All times are GMT -4. The time now is 07:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy