Results 1 to 6 of 6

Thread: Kali linux crashes in VB after apt-get upgrade

  1. #1
    Join Date
    2018-Aug
    Posts
    2

    Kali linux crashes in VB after apt-get upgrade

    I have installed Kali linux 64 bit in my Oracle VB.
    I have allocated 1 Gb of RAM, 35 Gb of Hard disk to it.
    After apt-get upgrade, I was logged out and could not log in again.
    I powered off my VB and restarted it. Now whenever I log into my Kali, I can only see a blue screen.
    If I try to open a terminal, I am getting routed back to login page.

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    It's been awhiile since I used Kali in a virtual machine, but I always allocated 100 GB of disk to it. If you have room, try giving the VM more disk and see if that helps

  3. #3
    Join Date
    2018-Aug
    Posts
    2
    @grid,
    Thanks for the suggestion, I am not sure on hard disk size issue, I did some analysis and followed some steps to solve the issue, It did work for me.
    Analysis:
    My upgrade was getting stuck at setting up some of the packages, It stuck on some package for like 2-3 hrs. during that time, My VM got locked.
    When I was trying to get into the system, it was not allowing me. I suspect this was happening because of setup process was eating up a lot of resources and no interrupt was able to break it up. I had left no choice but to force shut down my system. This led me to the corruption of packages.
    Solution:
    When I entered on login page, I followed following steps:
    1. Press Alt+Ctr+F3
    2. you will see terminal, login to it using credentials.
    3. hit this command: dpkg --configure -a.
    4. Once completed, reboot.
    5. Done, system is upgraded successfully and all the packages are reconfigured.

  4. #4
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Glad it's working for you

  5. #5
    Join Date
    2016-Dec
    Posts
    806
    1Gb of RAM is definitely not enough and is a likely explanation of that issue. Bump it to at least 2Gb

  6. #6
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    Quote Originally Posted by Mister_X View Post
    1Gb of RAM is definitely not enough and is a likely explanation of that issue. Bump it to at least 2Gb
    Agree 3Gb is ideal.
    easy to start; hard to finish

Similar Threads

  1. Kali Linux CRASHES during startup...
    By atdtphreaker in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-10-07, 16:49
  2. Why apt-get upgrade crashes my Kali
    By gtasince94 in forum General Archive
    Replies: 5
    Last Post: 2021-02-05, 04:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •