Author Login
Post Reply
> > I've revived an old Gentoo laptop, but I've forgotten the root
> > password. I remember the password to my user account and I can log in
> > there fine. Can I recover the root password?
>
> On the grub menu, edit the entry of the system you want to boot and on the
> kernel line, add "init=/bin/bash" without the quotes. Boot that modded boot
> instructions sequence. After kernel loads, you'll have a bash. Type: "mount
> -o rw,remount /"
> Then type "passwd", put the new root pwd. Remount the partition read-only:
> "mount -o ro,remount /" and reboot. Done!
Done deal, thanks everyone.
- Grant
--
gentoo-user@(protected)