From owner-freebsd-questions@FreeBSD.ORG Tue Apr 11 19:03:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6086116A400 for ; Tue, 11 Apr 2006 19:03:00 +0000 (UTC) (envelope-from petre@kgb.ro) Received: from kgb.rdsbv.ro (kgb.rdsbv.ro [82.78.148.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA30143D46 for ; Tue, 11 Apr 2006 19:02:59 +0000 (GMT) (envelope-from petre@kgb.ro) Received: from localhost (localhost [127.0.0.1]) by kgb.rdsbv.ro (Postfix) with ESMTP id 51690115E7; Tue, 11 Apr 2006 22:06:12 +0300 (EEST) Received: from kgb.rdsbv.ro ([127.0.0.1]) by localhost (kgb.rdsbv.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17459-10; Tue, 11 Apr 2006 22:06:11 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by kgb.rdsbv.ro (Postfix) with ESMTP id CD5761145C; Tue, 11 Apr 2006 22:06:10 +0300 (EEST) Date: Tue, 11 Apr 2006 22:06:10 +0300 From: Petre Bandac To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20060411220610.5e30e624@localhost> In-Reply-To: References: <20060411173112.3a0f1f7a@localhost> <20060412010813.6aed4810@localhost> <20060411195220.0cfd55ce@localhost> Organization: my own organization X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at lubyanka.kgb.ro Cc: FreeBSD Questions Subject: Re: lost root password on a raid-1 geom mirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 19:03:00 -0000 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 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