From owner-freebsd-questions@FreeBSD.ORG Tue Apr 11 16:52:14 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 BE37916A42F for ; Tue, 11 Apr 2006 16:52:14 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C1FA43D91 for ; Tue, 11 Apr 2006 16:51:34 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FTM5V-000HDq-LS; Tue, 11 Apr 2006 10:51:33 -0600 In-Reply-To: <20060411195220.0cfd55ce@localhost> References: <20060411173112.3a0f1f7a@localhost> <20060412010813.6aed4810@localhost> <20060411195220.0cfd55ce@localhost> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 11 Apr 2006 10:51:28 -0600 To: Petre Bandac X-Mailer: Apple Mail (2.746.3) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false 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 16:52:14 -0000 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 --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net