Root password and single user problems
keramida at ceid.upatras.gr
Mon May 31 00:44:20 PDT 2004
On 2004-05-31 01:13, Marcus Kellis <dexter at suffusions.net> wrote:
> When moving from the University of Idaho dorms, where I installed FreeBSD
> 5.2.1, back to my dad's place, my installation got all sorts of crazy,
> between DHCP, hostname, and other problems that were I guess part of my
> system's configuration. So recently I've been trying to fix them, and get my
> system at least backed up so that I can try reinstalling it or putting
> Windows back on my computer, but today I happened to overwrite my root
> password (and now I don't know what it is), and to top it off, my kernel is
> now GENERIC instead of my customized one--which solved the problem where my
> BSD installation would hang at "Counters tick every 10.000msec" or whatever
> (basically, I needed to disable ACPI.) So booting without ACPI works, but I
> can't get into root, and booting as single user hangs on "counters tick...",
> so I can't change my root password, and I don't quite know how to boot as
> single user AND without ACPI at the same time. Sorry to be so long-winded,
> but I'm pretty upset. Thanks for your help.
Interrupt the loader at the boot prompt by pressing SPACE instead of ENTER.
Then, run "unload" to clean up any modules already loaded.
Unset "acpi_load" in the loader.
boot: unset acpi_load
Load the kernel again.
boot: load kernel
Boot single user.
boot: boot -s
That should boot without loading ACPI.
More information about the freebsd-questions