When trying to re-partition my SD card I fired up GParted from the LXDE menu and it asked me for the admin password. I assumed that it would be the same password that I used to login to the system when it booted; raspberry. No joy!
Assuming that it wants the root password, here’s how to change it:
Ctrl + Alt + F3to get a new console (Press
Ctrl + Alt + F2to get back to LXDE)
sudo passwd root
- It will ask for YOUR (you’re currently logged in as
pi) password, so give it
- Then it asks for the new password (this is for
root) twice, so put this in.
As soon as you’ve done this you can switch back to LXDE (
Ctrl + Alt + F2, remember?) and enter the password you just created.