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
VIRT-CONVERT(1) 					   Virtual Machine Install Tools					   VIRT-CONVERT(1)

NAME
virt-convert - convert virtual machines between formats SYNOPSIS
virt-convert [OPTION]... INPUT.VMX|INPUT-DIR [OUTPUT.XML|OUTPUT-DIR] DESCRIPTION
virt-convert is a command line tool for converting virtual machines from one format to another. Pass in either a VM definition file (such as VMWare vmx format) or a directory containing a VM. By default, a new VM definition file, and converted disk images, will be placed in a new output directory. If an output directory is specified, it will be created if necessary, and the output VM definition placed within, along with any disk images as needed. If an output VM definition file is specified, it will be created alongside any disks in the same directory. OPTIONS
Any of the options can be omitted, in which case virt-convert will use defaults when required. An input VM definition or containing directory must be provided. By default, an output directory is generated based upon the name of the VM. The default input format is VMWare vmx, and the default output format is a libvirt "image" XML definition (see virt-image(5)). -h, --help Show the help message and exit Conversion Options -i format Input format. Currently, "vmx", "virt-image", and "ovf" are supported. -o format Output format. Currently, "vmx" and "virt-image" are supported. -D format Output disk format, or "none" if no conversion should be performed. See qemu-img(1). Virtualization Type options Options to override the default virtualization type choices. -v, --hvm Create a fully virtualized guest image Convert machine to a hvm/qemu based image (this is the default if paravirt is not specified) -p, --paravirt Create a paravirtualized guest image Convert machine to a paravirt xen based image General Options General configuration parameters that apply to all types of guest installs. -a ARCH, --arch=ARCH Architecture of the virtual machine (i686, x86_64, ppc). Defaults to that of the host machine. --os-type=OS_TYPE Optimize the guest configuration for a type of operating system (ex. 'linux', 'windows'). This will attempt to pick the most suitable ACPI & APIC settings, optimally supported mouse drivers, virtio, and generally accommodate other operating system quirks. See virt-install(1) for valid values. --os-variant=OS_VARIANT Further optimize the guest configuration for a specific operating system variant (ex. 'fedora8', 'winxp'). This parameter is optional, and does not require an "--os-type" to be specified. See virt-install(1) for valid values. --noapic Override the OS type / variant to disables the APIC setting for fully virtualized guest. --noacpi Override the OS type / variant to disables the ACPI setting for fully virtualized guest. Miscellaneous Options -q, --quiet Avoid verbose output. -d, --debug Print debugging information --dry-run Proceed through the conversion process, but don't convert disks or actually write any converted files. EXAMPLES
Convert a paravirt guest from "image.vmx": # virt-convert --arch=i686 --paravirt image.vmx Convert a 64-bit hvm guest: # virt-convert --arch=x86_64 vmx-appliance/ hvm-appliance/ AUTHOR
Written by Joey Boggs and John Levon See the AUTHORS file in the source distribution for the complete list of credits. BUGS
Please see http://virt-manager.org/page/BugReporting COPYRIGHT
Copyright (C) 2006-2008 Red Hat, Inc, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law. SEE ALSO
virt-image(5), the project website "http://virt-manager.org" 2011-07-18 VIRT-CONVERT(1)
All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy