What is the error: My Kali machine running on a VM ware frequently crashes or say “hangs”. Every now and then, while using the machine, it’d suddenly stop responding, and everything gets distorted. It’d only work when I shut down and start again.
What device is this on: I’m running it on a VM ware in my Windows pc.
in vm manager use no more than 50% of your physical CPU cores and no more than 50% of available RAM if you set VM settings too high, the host OS doesn’t have enough left for itself, and the vm will appear to hang until you quit it
so if i have a 4 core cpu i’ll set 2 cores max for guest OS
if I have 8 GB RAM no more than 4 GB for guest OS for example
The other thing is to make sure your vm has enough disk space. By default many will use very conservative settings, and Kali or other Linux will run best if you set it at say 20 GB
I have equally tried to increase the disk space. It worked on the VM settings but when I tried re-partitioning the Kali disk and resseting the file systems, it wouldn’t work.
I need to increase the disk cos I want to sync a blockchain data. I’ve used GPT and claude and the repartitioning and file system expandsion wouldn’t work.
I know it sounds weird, but I think you have given too much RAM to the guest. The general rule of thumb is to give no more than half the available RAM to your guests. My Kali VM only has 6 gigs of RAM and works fine.
The first thing I would do is reduce the RAM down to about 8?
Just because you made the hard drive bigger in the VM settings does not make the partition bigger that kali is running on. You could either use that extra space to make a second hard drive instead, or would have to look up online on how to resize the partition you want to resize which carries the risk of damaging your installation.
Saying you used GPT and claude carries about the same weight as saying “I even went into the swamp and asked a witch”. Never ever rely on those, especially not if you would not be able to tell when they hallucinate a solution that is plain wrong.