Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 22:06:10 +0300
From:      Petre Bandac <petre@kgb.ro>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: lost root password on a raid-1 geom mirror
Message-ID:  <20060411220610.5e30e624@localhost>
In-Reply-To: <F7F02678-1C25-437F-9100-599201762492@shire.net>
References:  <20060411173112.3a0f1f7a@localhost> <20060412010813.6aed4810@localhost> <20060411195220.0cfd55ce@localhost> <F7F02678-1C25-437F-9100-599201762492@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@kgb.ro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411220610.5e30e624>