Assuming you are using Kali Linux 1.0, Press "e" to edit Grub Menu. Find the line starting with "linux". Change the "ro" with "rw" and add "init=/bin/bash" after "quiet". Press F10. You will get "root" console. Type and enter "passwd" to change root password. You should be good.

Answer from Krishna Pandey on Stack Exchange
🌐
Medium
medium.com › rakulee › how-to-reset-forgotten-password-on-kali-linux-and-virtualbox-4a3e3092c41f
How to Reset Forgotten Password on Kali Linux and VirtualBox | by Carla Ferreira | Rakulee | Medium
December 16, 2022 - In some cases, usually when the OS is installed directly on the machine and not a virtual machine, so it is necessary to change from ro to rw and add “int=/bin/bash” at the end, but in VirtualBox, we have to insert the complement of the line. So the command should look like the following for any installation “rw initrd=/install/gtk/initrd.gz quiet init=/bin/bash”. And to save and process these changes, we will use CTRL+x or F10 to continue the boot. ... 4- Right after a GRUB screen appears again, we should press Enter, which will direct us to the terminal. ... 5- Resetting the root user password: first is confirming this in the root user, so I used the “whoami” command.
🌐
Reddit
reddit.com › r/kalilinux › i forgot my password. is there a way to reset it without knowing your original password?
r/Kalilinux on Reddit: I forgot my password. Is there a way to reset it without knowing your original password?
August 6, 2023 -

I was following a tutorial (as I'm completely new to this) and stumbled across the "password" setting time. I typed my usual password from other applications and then saw nothing was appearing so I didn't bother it and continued. A couple of hours later, I wanted to install WSL but saw it needed by password, and then the realization hit. That's the story... Is there any way I can fix this?

Discussions

VM Kali Linux
This is just a friendly reminder in case you missed it. Your post must include: The version of VirtualBox you are using The host and guest OSes Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above) and disabled HyperV (applicable to Windows 10 Hosts) Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see) PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved. If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped! I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/virtualbox
3
1
August 22, 2023
Forgot password to Oracle VM Virtual Box Ubuntu
It's been a while but I'm assuming a single user shell still is same. Hold down right shift at startup or possible esc but probably right shift and at grub menu hit e to edit ubuntu or whatever it calls it these days and then remove everything (quiet splash etc) after the /boot/whateverkernl ro add init=/bin/sh after the kernel so it might look something like: linux /boot/vmlinuz ro init=/bin/sh then ctrlx to boot at prompt, type mount -o remount,rw / then passwd username More on reddit.com
🌐 r/linux4noobs
9
4
April 9, 2024
[HOWTO] Recover Lost root password on a VirtualBox system
The following is the method I used to replace a forgotten root password on a VirtualBox system. I created a new minimal Openserver 6 system: took all the defaults and used the demo license. Started this system to confirm that all is well. Shutdown. Modifed the VirtualBox configuration to add ... More on community.unix.com
🌐 community.unix.com
1
3
March 26, 2022
Highest scored 'kali-linux' questions - Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Un*x-like operating systems More on unix.stackexchange.com
🌐 unix.stackexchange.com
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › how-to-reset-forgotten-password-on-kali-linux
How to Reset Forgotten Password on Kali Linux - GeeksforGeeks
January 8, 2024 - ... In conclusion, resetting a ... involves accessing the GRUB menu during boot, entering the GRUB editor, modifying the kernel command line to initiate a root shell, and finally changing the password using the 'passwd' command...
🌐
Linux.org
linux.org › home › forums › general linux forums › linux security
Help: Recover Root User Password for Kali Linux (Virtualised VM) | Linux.org
June 15, 2021 - Hiya, this was it! that's what my hosting company had done ages ago to help me reset a forgotten root password that I had lost lol, they mounted up the file system and chrooted into it, Thanks for recommending Knoppix, I've never heard of it but it looks pretty interesting . ... Update: I did hold my breath while doing it and it worked, thank you everyone. Restored access finally!! You must log in or register to reply here. ... Back on Kali.
Find elsewhere
🌐
LinuxConfig
linuxconfig.org › home › how to reset kali linux root password
Reset Kali Linux Password Easily: Step-by-Step Guide
September 22, 2025 - At this point we are ready to reset the root user password. Type passwd command and enter your new password. Enter the root password again to verify. Press ENTER and confirm that the password reset was successful.
🌐
Reddit
reddit.com › r/virtualbox › vm kali linux
r/virtualbox on Reddit: VM Kali Linux
August 22, 2023 -

I just did a clean install of Kali Linux amd64 installer onto oracle vm virtualbox and I can’t seem to figure out the password or username to Kali Linux, I’ve tried both old and new default that I found ( u:root p:toor —u:Kali p:Kali ) and anything I thought it could be I created myself and nothing. How can I go about this?

Edit : also using Ubuntu x64

Top answer
1 of 2
1
This is just a friendly reminder in case you missed it. Your post must include: The version of VirtualBox you are using The host and guest OSes Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above) and disabled HyperV (applicable to Windows 10 Hosts) Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see) PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved. If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped! I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2 of 2
1
You are asked to create a standard user upon installation of Kali. If you did not customize it then, the default user / pass is kali / kali (assuming you installed 2020.1 or later). If you can't get into your fresh install of kali VM because you forgot the user / pass, I'd just reinstall kali to the VM, setup a new user / pass, and remember it.
🌐
Oracle VirtualBox
virtualbox.org › report › 10 csv
https://www.virtualbox.org/report/10?sort=version&...
Should I just turn it into text ... has more than one partitions,Linux,VirtualBox-7.1.8,2025-05-14T08:05:49Z,2025-05-14T08:10:52Z,2025-05-14T08:10:52Z,"I am use virtual Box 7.18 r168469 Qt(6.5.3) in windows11. and i create same vmdk for my disk's partition....
🌐
Reddit
reddit.com › r/linux4noobs › forgot password to oracle vm virtual box ubuntu
r/linux4noobs on Reddit: Forgot password to Oracle VM Virtual Box Ubuntu
April 9, 2024 -

Hi,

Per the title, I am running Ubuntu (64-bit) Oracle VirtualBox version 7.0.14 and I forgot the password to my username.

I tried this:

https://en.m.wikibooks.org/wiki/Linux_Guide/Reset_a_forgotten_root_password

But it didn't help because I am running a Virtual Machine inside of Windows 11 Pro.

I also asked ChatGPT how to do it for a VM and it said either hold down the Shift key or press Esc repeatedly while the machine is booting up to bring up the GRUB menu.

None of what I listed above helped, or took me to the GRUB menu, any suggestions?

🌐
VirtualBox
forums.virtualbox.org › board index › guest systems › windows guests
recover or reset windows 7 password - virtualbox.org
May 4, 2014 - I rebooted windows, and tried the new password. It didn't work. So I repeated the process... a few times. No luck. Googling let me know that the current version of CHNTPW doesn't always work. So I booted again from kali, installed an older version of CHNTPW... and then found another bug. The older version I found simply failed to load the SAM file. After much searching, and a few failed attempts at other tools, I found this one: http://pogostick.net/~pnh/ntpasswd I booted from this disk, and used it's toolkit to clear the passwords.
🌐
Unix Community
community.unix.com › sco
[HOWTO] Recover Lost root password on a VirtualBox system - SCO - Unix Linux Community
March 26, 2022 - The following is the method I used to replace a forgotten root password on a VirtualBox system. I created a new minimal Openserver 6 system: took all the defaults and used the demo license. Started this system to confirm that all is well. Shutdown. Modifed the VirtualBox configuration to add the primary disk of the target system as drive 2. Re-started the minimal system and as root: #divvy /dev/rhd1a (n)ame partition 2 as hd2root save and exit #mkdir /hd2root #mount /dev/hd2root /hd2...
🌐
Skillshare
skillshare.com › en › classes › kali-linux-for-beginners-boost-your-study-and-system-research-productivity › 575703976
Kali Linux for Beginners: Boost Your Study and System Research Productivity | Shubham Pareek | Skillshare
Whether you’re an IT student, a curious learner, or someone studying network technologies, this class will help you boost your digital skills and turn Kali Linux into a productivity companion for your learning journey.
Rating: 3/4 ​ - ​ 1 votes
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › reset-lost-linux-administrative-password-explanation
Reset a lost Linux administrative password and Explanation - GeeksforGeeks
April 4, 2025 - Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.
🌐
Kali Linux
kali.org › docs › introduction › default-credentials
Kali's Default Credentials | Kali Linux Documentation
June 19, 2025 - Any default operating system credentials used during Live Boot, or pre-created image (like Virtual Machines & ARM) will be: ... Some tools shipped with Kali, will use their own default hardcoded credentials (others will generate a new password the first time its used).
🌐
Stack Exchange
unix.stackexchange.com › questions › tagged › kali-linux
Highest scored 'kali-linux' questions - Unix & Linux Stack Exchange
I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go ...