I recently experienced this problem, but I only had answers that did not help. Then, I was able to get a hint from the short opinion of the Linux Forum.
This problem is related to the change of the drive. If it is not properly reflected in /etc/fstab
, such an error may occur.
-
Download SystemRescueCD and make a bootdisk: https://www.system-rescue.org/
-
FDISK and MOUNT
# fdisk -l # find a drive # mkdir /mnt/tmp # mount -t ext4 /dev/sda2 /mnt/tmp # mount -t [filesystem] [drive] [mountpoint]
-
Open the
[mountpoint]/etc/fstab
in text editor, and remove lines of the detacted devices -
Save and reboot, and remove the bootdisk.
Done.
Hello. I have the same problem. I think this solution is only for those users who already have kali linux installed. But I enter live mode to install Kali Linux, and then the following error appears: cannot open access to console the root account is locked. Is it possible to do anything about this?