Sometimes bad things happen. Crooked arms, crooked updates etc. This feature saves me many times.
Choose recovery in your GRUB menu, then press "e" to edit b...
Sometimes bad things happen. Crooked arms, crooked updates etc. This feature saves me many times.
Choose recovery in your GRUB menu, then press "e" to edit boot options, then find the line that starts with "linux" word, it usually has words like "splash" and "quiet", then add to the end of this line word "single".
Example:
linux /boot/vmlinuz-6.12 root=UUID=249a1099-3034-4084-af21-b489693602fd ro panic=30 quiet splash
Change to this:
linux /boot/vmlinuz-6.12 root=UUID=249a1099-3034-4084-af21-b489693602fd ro panic=30 quiet splash single
And finally press F10 or Ctrl+x to boot with your changed options.
This allows you to boot in single-user mode as root.