LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-22-2019, 04:23 PM   #1
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Rep: Reputation: Disabled
Question HP Pavilion settings for running Kali Linux 2018.4 in Virtual Machine


Greetings,

I have an HP Pavilion laptop I am running Ubuntu 18.04.2 LTS as my main OS. I have installed Kali Linux 2018.4 in a Virtual Machine.

For some reason, whenever I try to run the Virtual Machine my computer runs extremely slow. I gave Kali 50GB of space and have the RAM set to 4GB. I tried giving it more RAM, but it wouldn’t let me.

Are there some settings that I should maybe set to fix this? I can’t find anything that looks wrong.

I'd appreciate some help.

Thanks.
Dragon
 
Old 02-22-2019, 04:35 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Welcome to LinuxQuestions.

What model number is the HP?

How much total RAM is installed in the HP

Which Virtualization software are you running i.e VMware, VirtualBox etc.
 
Old 02-22-2019, 09:17 PM   #3
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
System Information
Manufacturer: Hewlett-Packard
Product Name: HP Pavilion 17 Notebook PC
Version: 0976110000405E00000620180
Serial Number: 6CC4021291
UUID: 34444335-3230-3231-3931-A01D48D72D83
Wake-up Type: Power Switch
SKU Number: F9L89UAR#ABA
Family: 103C_5335KV G=N L=CON B=HP S=PAV

RAM: 8GB

VMWare Workstation 15 Player
 
Old 02-23-2019, 01:05 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
that model is from 2015 and has a decent intel processor, however there might be some problems with hybrid graphics. maybe show us the output of
Code:
lspci -k | grep -iEA5 'vga|3d|display'
you could also try the same with virtualbox to see if it makes any difference.

in any case, on the host, enter
Code:
top
in a terminal, maximise, leave open, then reproduce the problem.
what is eating your resources?
is it mostly memory consumption, disk io, CPU?
 
Old 02-23-2019, 03:22 AM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Based on it's version number, here are the specs from HP. One of my biggest beefs when shopping for a laptop for "others", while trying to stay within their spending range is HP's implementation of cheap HDD. Typically 5400 rpm, which is what this one has. You have to spend a good buck on an HP to get a 7200 rpm drive, many other OEM will use a better quality 7200 rpm drive in much lower end models.
 
Old 02-24-2019, 03:08 PM   #6
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here are the results from the first line:
Code:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8330]
	Subsystem: Hewlett-Packard Company Kabini [Radeon HD 8330]
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
	Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
Attached is the screenshot of the results from running "top".
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-02-24 13-34-53.png
Views:	11
Size:	205.8 KB
ID:	29917  
 
Old 02-25-2019, 12:07 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
OK, no hybrid graphics afaics (i suppose you entered the command exactly as specified; it's preferable to include that in your output).
i'm not sure at all with amd graphics, but isn't it advisable to use amdgpu instead of radeon?
but i would have to search for that just as much as you, so.

Quote:
Originally Posted by LordDragon View Post
Attached is the screenshot of the results from running "top".
yes very nice, but my instructions were clear:
Quote:
Originally Posted by ondoho View Post
in any case, on the host, enter
Code:
top
in a terminal, maximise, leave open, then reproduce the problem.
what is eating your resources?
is it mostly memory consumption, disk io, CPU?
a static screenshot does not help here.
even so, the case looks pretty obvious to me.
 
Old 02-25-2019, 07:57 AM   #8
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes, I was wondering why it was using Radeon instead of AMD myself. I did a fresh install of Ubuntu after formatting the hard drive, so it should have detected I had an AMD video card. I'll have to look into that.

I realized the static screenshot wasn't going to be much help, but I was hoping someone would see something I missed on it.

Either way, thanks for the help, I'll have to do some research on the differences between Radeon and AMD drivers.
 
Old 02-25-2019, 12:37 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LordDragon View Post
I realized the static screenshot wasn't going to be much help, but I was hoping someone would see something I missed on it.
are you not seeing the glaring 120% CPU usage for vmware???

i'm not even sure to which extent this can be mitigated with a better gpu driver. probably doesn't make a difference.
 
Old 02-25-2019, 03:33 PM   #10
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes, I saw that VMWare was dominating the CPU usage. I just don't know what to do about it. I'm going to look into it some more. I'm also going to look into Virtual Box to see if that will work for me as well.
 
Old 02-26-2019, 12:48 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LordDragon View Post
I just don't know what to do about it.
virtualisation is expensive.
kali is not exactly a lightweight linux distro (gnome desktop and all), and of course it depends on what you do with it when it's running.
and then it depends on your host hardware.
i have a ubuntu 18.04 vm (uses the gnome desktop, like kali), and it regularly makes my 2x2 processors @ 3.7GHz (intel i3) run hot, without actually doing anything with it.
so what's your hardware?

of course some tweaking might be possible; you should check your vmware documentation.
 
Old 02-26-2019, 02:17 PM   #12
LordDragon
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
I'm using the Kali Linux because I'm taking a class on Ethical Hacking and Penetration Testing. I'd prefer to have my own installation of the OS where I can keep notes and such than to run the Virtual classroom environment where I can't.

From what I can tell, it is just too much for my computer to handle. This is my first time using a virtual machine though, so I will look into the settings to see if there is anything I can "tweak" to make it run better.

My computer has an Intel i7 with 8GB of RAM. It's been a great computer since I got it. Lately though it doesn't boot up right away, I have to power cycle it at start up until the video card kicks in. Otherwise it will boot, but I won't have any display. I'm sure that is part of the problem, but once it is up and running it works fine for everything else.
 
Old 02-27-2019, 12:47 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LordDragon View Post
From what I can tell, it is just too much for my computer to handle.
that would be my guess, too.
and btw, if it is then its due to the GNOME desktop and not due to kali itself.
essentially you don't even need a gui for most pentesting tools, maybe there's a kali CLI-only install?
or maybe backbox instead (heard about that on a podcast; ubuntu-based but lightweight desktop).

Quote:
My computer has an Intel i7 with 8GB of RAM. It's been a great computer since I got it. Lately though it doesn't boot up right away, I have to power cycle it at start up until the video card kicks in. Otherwise it will boot, but I won't have any display.
sounds like a topic for a new thread.
 
Old 02-27-2019, 01:18 AM   #14
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you might want to give less memory and cpu to the VM. That will make your computer faster, but probably the VM will be slower (or useless).
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kali Gnome Linux custom flashdrive bootable iso from Kali Virtual Machine: How to handle installed binaries catalyst29 Linux - General 3 11-24-2018 05:02 AM
Error in kali linux 2018.04 installing Aakash447 Linux - Newbie 4 04-30-2018 08:29 AM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
Is base memory of virtual machine used when virtual machine is not running? ravisingh1 Linux - Virtualization and Cloud 3 04-09-2013 03:41 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:30 AM.

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