Results 1 to 11 of 11

Thread: Kali freezes after apt-get dist-upgrade

  1. #1
    Join Date
    2017-Jan
    Posts
    1

    Kali freezes after apt-get dist-upgrade

    Hello community,

    kali won´t boot after dist-upgrade it. At first I thought, it comes because of wrong headers. So I reinstalled kali and installed the linux-headers 4.8 by the apt-get without to reboot after dist-upgrade. But it didn´t help either. So I wanted to figure out, what´s the problem, or what I am doing wrong. And then I was surprised, because I have installed it into VM and there it works perfectly.

    So when kali crashes exactly?
    - First it is loading into the grub loader, then I have two options to start kali (under advanced kali options- 4.6.0 & 4.8.0) both are not working.

    What exactly crashes?
    - After choosing one of the options in grub, the monitor seems to be not detected.

    I don´t know if it´s important, but my graphic card is nVidia GeForce 970.

    Any ideas what could cause the problem and what is the possible solution for that?

    Thanks in advance



    Best regards

    uplink

  2. #2
    Join Date
    2014-Feb
    Posts
    309
    Can you boot from a livecd and then check the logs? See if anything is even being written to them at boot time? Would help a ton rather than guess based on monitor not being detected (and it could be that it's booting, but no display output, which is a different issue than it's crashing/freezing/not booting)

  3. #3
    Quote Originally Posted by steev View Post
    Can you boot from a livecd and then check the logs? See if anything is even being written to them at boot time? Would help a ton rather than guess based on monitor not being detected (and it could be that it's booting, but no display output, which is a different issue than it's crashing/freezing/not booting)
    I have the same problem, I also have a GTX 970...I installed Kali Linux 2016.2 in dual boot with Windows 7 and works regularly but if I try to do the updates (I tried several times, with the updates function and with terminal), I get a black screen, even with the old kernel and even in recovery mode...I tried with supergrub 2 but nothing...when I get the boot menu, I choose the operating system to boot but the screen goes black and the login screen does not appear but it seems that the Kali o.s. works...Windows 7 start regularly...I can boot from a livecd, what should I do to check the logs?

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show the output of cat /etc/apt/sources.list?

  5. #5
    Quote Originally Posted by _defalt View Post
    Can you show the output of cat /etc/apt/sources.list?
    sure
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free


    UPDATE
    If I type (from a Kali livecd), after mount e chroot, this command apt-get update && apt-get upgrade I get
    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Could not resolve 'http.kali.org'
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Could not resolve 'http.kali.org'
    W: Some index files failed to download. They have been ignored, or old ones used instead


    Why?
    Last edited by maiki; 2017-01-27 at 11:37. Reason: Merge posts

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by hollywood_jack View Post
    UPDATE
    If I type (from a Kali livecd), after mount e chroot, this command apt-get update && apt-get upgrade I get
    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Could not resolve 'http.kali.org'
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Could not resolve 'http.kali.org'
    W: Some index files failed to download. They have been ignored, or old ones used instead


    Why?
    Kali live uses its own repositories which are not present in kali live sources.list file. You have to add them manually.

  7. #7
    Quote Originally Posted by _defalt View Post
    Kali live uses its own repositories which are not present in kali live sources.list file. You have to add them manually.
    I have added this lines but I have the same error...but not is this the problem, I dont know why my screen goes black after updates

  8. #8

    Solved

    Guys I have solved my problem ...I put here the solution hoping that it will be useful to someone.
    I boot my operating systems with super grub 2 because I dont have the grub installed but the fundamentals are the same.
    IMG_2521.jpg
    ...at this point, press the "E" key, you will have this
    IMG_2522.jpg
    now replace the word "quiet" with "nomodeset quiet splash" (as in the third and last photo)
    IMG_2523.jpg
    then press the "F10" key and finally everything will be ok...at this point if you have (like everyone else) a functioning grub you can edit your grub file with this change...unlike you, I have to make this change every time I will boot my Kali Linux (because I start every time from super grub 2 live).

    Bye bye...and sorry for my bad english, I'm italian
    Last edited by hollywood_jack; 2017-01-26 at 18:53.

  9. #9
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you add the source of your solution?

  10. #10
    Quote Originally Posted by _defalt View Post
    Can you add the source of your solution?
    There is no single source...searching on the web I found that many had these problems with the GTX 970 and they had fixed by changing the quiet...then, trial and error, I found MY personal solution

    ps.: the pictures are mine
    Last edited by maiki; 2017-01-27 at 11:36. Reason: Merge posts

  11. #11
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    This is actually a very useful command.
    They are grub parameters which tell them what to do during boot.

    nomodeset - tells the kernel to not start video drivers until the system is up and running.

    quiet - this option tells the kernel to NOT produce any output (a.k.a. Non verbose mode). If you boot without this option, you'll see lots of kernel messages such as drivers/modules activations, filesystem checks and errors. Not having the quiet parameter may be useful when you need to find an error.

    splash - this option is used to start an eye-candy "loading" screen while all the core parts of the system are loaded in the background. If you disable it and have quiet enable you'll get a blank screen.

Similar Threads

  1. Replies: 1
    Last Post: 2022-08-01, 01:31
  2. Kali 2016.2 messed up Desktop after after upgrade/dist-upgrade
    By SpectrE_Fth in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2017-02-13, 10:26

Posting Permissions

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