lost root password on a raid-1 geom mirror

Chad Leigh -- Shire.Net LLC chad at shire.net
Tue Apr 11 16:52:14 UTC 2006


On Apr 11, 2006, at 10:52 AM, Petre Bandac wrote:

> On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable  
> Norberto
> Meijome wrote using one of his keyboards:
>
>> On Tue, 11 Apr 2006 17:31:12 +0300
>> Petre Bandac <petre at kgb.ro> wrote:
>>
>>> the classic schema with unload all/load kernel/boot -s and
>>> mounting / read-write doesn't work
>>>
>> Hi Petre,
>> I assume you say it doesnt work because your kernel doesn't have
>> gmirror built into it.
>>
>> have you tried using the install disk -> fixit -> load the  
>> geom_mirror
>> module by hand and then mounting the devices?
>>
>> or take the disks to another box which has geom_mirror built into and
>> modify that way.
>> Beto
> it happened as follows - fresh install (following the onlamp.com
> howto); kernel recompile with all that needs, reboot, test, put the  
> box
> aside for 3 weeks (while forgetting root password - stupid, yes), try
> to login (and obviously fail)

When the boot menu comes up, choose "single user mode" and then set a  
new root password at the shell prompt.

Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





More information about the freebsd-questions mailing list