View Issue Details

IDProjectCategoryView StatusLast Update
0008897Kali LinuxKali Websites & Docspublic2024-09-06 04:22
ReporterNgolletech Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionnot fixable 
Summary0008897: Login bugs
Description

When I boot into Kali 2024.2 that I installed, it doesn't login but displays the following message:
1st line : You're in emergency mode. After logging in, type "journalctl-xb" to view system logs, "system ctl reboot" to reboot, or "exit" to continue boot up.

2nd line: Cannot open access to console, the root account is locked, see sulogin (8) man page for more details.

Activities

Sunil1

Sunil1

2024-09-04 17:37

reporter   ~0019718

check the System Logs

Login to Emergency Mode:
    You'll need to log in with root or another user with sufficient privileges.
    If you’re not prompted for a username and password, try pressing Ctrl + Alt + F1 to switch to a terminal where you can log in.

View System Logs:
    After logging in, type the following command to view recent logs:

    bash

    journalctl -xb

    Look for any error messages or warnings that might give clues about what's wrong.
  1. Check and Repair Filesystem

Sometimes, filesystem issues can prevent a normal boot. You can check and repair the filesystem using the following steps:

Run Filesystem Check:
    Reboot the system and when the GRUB menu appears, select the recovery mode (if available) or enter single-user mode.
    Once in single-user mode or recovery mode, run:

    bash

    fsck -f /

    Follow the prompts to fix any filesystem errors.
  1. Unlock the Root Account

If the root account is locked, you might need to unlock it:

Remount the Filesystem as Read-Write:
    In emergency mode, the filesystem might be mounted as read-only. Remount it as read-write:

    bash

mount -o remount,rw /

Unlock the Root Account:

To unlock the root account, you can use:

bash

    passwd

    This will allow you to set a new password for the root user.
  1. Check /etc/fstab Configuration

Errors in the /etc/fstab file can prevent the system from mounting filesystems correctly:

View /etc/fstab:
    Open the file using a text editor like nano:

    bash

    nano /etc/fstab

    Check for any incorrect or problematic entries.

Fix any Issues:
    Correct any errors you find and save the file.
  1. Reboot and Test

After performing the above steps, reboot your system:

bash

reboot

See if the system can boot normally. If it still drops into emergency mode, you might need to further investigate the logs or check for hardware issues.

kali-bugreport

kali-bugreport

2024-09-05 07:41

reporter   ~0019719

Is this is even a bug? Could be also a support question belonging elsewhere...

arnaudr

arnaudr

2024-09-06 04:22

manager   ~0019720

Sorry but this is not a bug, if you need support there is Kali Discord channel or Kali Forums.

Issue History

Date Modified Username Field Change
2024-09-03 06:44 Ngolletech New Issue
2024-09-04 17:37 Sunil1 Note Added: 0019718
2024-09-05 07:41 kali-bugreport Note Added: 0019719
2024-09-06 04:22 arnaudr Note Added: 0019720
2024-09-06 04:22 arnaudr Assigned To => arnaudr
2024-09-06 04:22 arnaudr Status new => closed
2024-09-06 04:22 arnaudr Resolution open => not fixable