lost root password on a raid-1 geom mirror
Petre Bandac
petre at kgb.ro
Tue Apr 11 19:03:00 UTC 2006
On Tue, 11 Apr 2006 10:51:28 -0600 Anno Domini, the honourable Chad
Leigh -- Shire.Net LLC wrote using one of his keyboards:
>
> 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
single mode --> mount -a --> passwd --> reboot
_thank_you_
>
> ---
> Chad Leigh -- Shire.Net LLC
> Your Web App and Email hosting provider
> chad at shire.net
>
>
>
--
Petre Bandac
Network Scientist
-
petre at kgb.ro
More information about the freebsd-questions
mailing list