PDA

View Full Version : Kali 2.0 can not boot (on usb with persistence mode)



omnitrogen
2016-08-30, 12:50
I have just installed kali 2.0 on a usb key and setup persistence to keep my data.
It was booting and I was able to access to the gui.
I decided to run some commands to update kali:

apt-get update && apt-get upgrade && apt-get dist-upgrade
It works and after a
reboot, kali could not pass the boot sequence...
It stopped there and continuously turn the screen on and off, always showing the same sequence:
1786
The problem is that I could not even access to a kali root terminal with ALT+F2 because the screen turn off...

The
apt-get update is the origin of the problem but I don't know which driver/lib/software is the cause of that problem...

Thank you for your help :)

Gywhard
2016-08-30, 20:05
I have the SAME EXACT problem!!!
I just posted a couple of hours before you
https://forums.kali.org/showthread.php?32554-live-persistence-flashing-black-screen-after-dist-upgrade-on-mbp-early-2013-video

How come we couldn't find anything similar on the web?

btw, at least some info on your machine would be necessary for troubleshooting the disease.

undersc0re
2016-08-31, 04:46
I have just installed kali 2.0 on a usb key and setup persistence to keep my data.
It was booting and I was able to access to the gui.
I decided to run some commands to update kali:

apt-get update && apt-get upgrade && apt-get dist-upgrade
It works and after a
reboot, kali could not pass the boot sequence...
It stopped there and continuously turn the screen on and off, always showing the same sequence:
1786
The problem is that I could not even access to a kali root terminal with ALT+F2 because the screen turn off...

The
apt-get update is the origin of the problem but I don't know which driver/lib/software is the cause of that problem...

Thank you for your help :)

It is not booting into sleep mode is it? Try pressing the power button once quickly, wait, press it again if nothing happens...never know, sounds like it is not the issue but worth a shot.

Gywhard
2016-09-01, 20:54
I found a solution that worked for me.
I bet after the completion of dist-upgrade it said something about not being able to upgrade gedit:

Errors were encountered while processing:
/var/cache/apt/archives/gedit_3.20.2-2_amd64.deb

Btw, here's a way to get into a working terminal

From the boot menu, where you choose from live, persistence, etc
go over persistence, press Tab, and add "single" at the end of the line of boot parameters you're presented with.
If you don't see this boot menu (might be, depending on how you created the USB boot), just figure out a way to get into "single user mode"

This way you should not get the problem and have a working command line prompt

from there you can try

apt-get -f install
this tries to fix uninstalled packages

or re-run update and dist-upgrade
you should get the gedit problem

What can you do?
Start from zero.
Either boot into live and redo the persistency procedure or create a new USB if you don't feel like risking the quicker method.
BEFORE giving update and dist-upgrade, put gedit into hold

apt-mark hold gedit
this will prevent apt to upgrade it

Run

apt-get update
apt-get dist-upgrade

worked for me. Been able to reboot just fine. Hope it works for you.
There may be a more elegant way to fix this, this is what I came up with.
Let me know if it worked :)