SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
30.45k stars 3.18k forks source link

Cannot get into PartitionManager #24598

Closed Ygarr closed 3 months ago

Ygarr commented 3 months ago

Password did not match: anon foo (empty) courage root toor serenity admin ...

circl-lastname commented 3 months ago

Anon has no password by default (I think) and thus cannot authenticate, you need to set a password first

tcl3 commented 3 months ago

The default password for the anon user is foo.

When launching PartitionEditor from the start menu and entering the correct password you may get a message that says "No partition table found on any valid block device". This behavior is expected on a default installation, as the block device Serenity is booted from has no partition table by default.

You can also use the su command to get a root terminal without entering a password. You can then launch PartitionEditor from the command line without needing a password.

The default password hash for the anon user is stored in Base/etc/shadow you could compare this to the hash stored in /etc/shadow in Serenity to ensure they match.