Originally Posted by
thejuice
Same problem I was having, but for a different issue after update. Update hung, and I forced rebooted it because process had rebooted computer and hung on the plain Kali blue boot screen with no options for boot.
One thing that bothers me to no end is that many people will tell you what to do, but not explain why they?re telling you do it. When I give instruction, I explain why I?m advising you to do it, so bear with me.
sulogin is single user login used for maintenance. IME, Kali, by default, does not provide for single user login for maintenance. This is probably related to Kali no longer defaulting to root (to protect the user). So you basically have to force single user login in order to be able to mount the file system and repair it with upgrades.
Steps:
1) Create / use the live USB you would normally use to install Kali
2) Boot into Kali Live
3) Force single user login, and so you won?t have to deal with typing sudo each time:
$ sudo -s -H
4) Find partition of your Kali install & note /dev/dev#:
NOTE: this can also be located easily from your Grub boot screen options if you are able to pull that up there. In the example below, my Kali install was on /dev/sda7
# fdisk -l
5) Force Kali into single user mode:
# sulogin ? e ?force
NOTE: You will see the console change to kali:/# instead of the PWD (present working directory)
6) Mount the broken install (my install is on /dev/sda7)
# mount /dev/sda7 /mnt
# mount --bind /dev /mnt/dev
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
#chroot /mnt
#apt update
#apt upgrade
7) If there are problems, you will be prompted to run dpkg, run it as instructed and allow to finish, if so, then
8) Run upgrade again
9) Reboot system, and boot to Kali install normally