How could I do this?
I tried:
- putting the chromebook in dev mode
- enabling debugging options
- set the root password
- browse as guest(also tried with a google account)
- open shell ctrl + shift + t
- enter
shellandsudo su - enter password I set in debugging options window
Password is incorrect.
I tried also to recovering with Chrome extension, and after that normal mode was set again. Then I went back to development mode, did the same steps above. Getting the same result.
Any advice?
14 Answers
Starting from the desktop, logged in as a user[1], the following steps have solved this problem for me:
- Press Ctrl+Alt+Forward Arrow (Ctrl+Alt+F2 on some machines. If your machine doesn't have F2, then try whichever key is two spaces to the right of Esc - typically it's an arrow facing to the right).
- You should reach a "Developer Console" prompt, where the last line of text ends with
localhost login:. Enter "root" and hit return. - Enter the root password you set previously (or just hit return if you didn't set a root password).
[1] It may be possible to reach this console without being logged in - I am not sure.
2I just spent several hours trying to figure this out. In particular, Ctrl-Alt-F2 (AKA '->') was only showing me a blank, black screen. However, it turned out that there was still a login prompt running (just not showing on the screen)!
I was able to log in as root and run the 'chromeos-setdevpasswd' command to set a password, just by blindly pressing the right keys and hoping it would work. It did!
I didn't see this possibility mentioned in any of my search results, so thought I'd put it here in case it helps anyone. I'm using an Asus C202S Chromebook, with CHROMEOS_RELEASE_VERSION=10895.56.0 (according to /etc/lsb-release)
1.) localhost login: root password: The password is the password you set for enabling debugging features.
For Example: If your password that you set is: 12345678 then it will look like...
localhost login: root
password:123456782.) Now it should say: localhost ~ # enter chromeos-setdevpasswd and press enter it will look like...
localhost ~ # chromeos-setdevpasswd
password:now enter a password to use for sudo su. Then verify your password.
I found this to set up root password for chronos. Android App Testing on Chromebooks February 28, 2019
Need to start from "setting up developer mode initial reboot".
1