Cannot open acess to console, the root account is locked. - Help

Pit

New Member
Joined
Oct 27, 2023
Messages
1
Reaction score
0
Credits
20
Hello, I have a problem, I searched the Internet but I did not find my case.

I use Kali for research, I'm not a programmer, I don't know the system in depth, please be understanding. I mainly use Maltego and a few other tools. A few days ago I executed the following commands
  • apt update
  • apt upgrade
After that, Kali started behaving strangely, windows could not be minimized, all desktop icons disappeared (but they were visible in the folders tab), and Kali became difficult to use. I decided to install a new window manager (Gnome), but at the end of the installation a screen with a sad face and an inscription to contact the administrator appeared.

I did the following from Grub 0.97:
kernel(hd0,1)/vmlinuz
initrd(hd0,1)/initrd.ing
boot

I am now in the initramfs shell:

"fdisk -l" returns the disk correctly, the partition on sda2 has *, which means it correctly indicates the partitions to boot. I checked the file system with the command "fsck /dev/sda2 -y", there are no errors, I do not have the message "the file system has been modified". When trying to execute the command "mount /dev/sda2 /mnt" Kali returns the error: no such files or directory.

Please help.
 

Attachments

  • IMG_5926.jpeg
    IMG_5926.jpeg
    2.6 MB · Views: 242



Members online


Top