From owner-freebsd-questions@FreeBSD.ORG Wed Dec 9 01:40:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02721065679 for ; Wed, 9 Dec 2009 01:40:14 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id A85C68FC22 for ; Wed, 9 Dec 2009 01:40:14 +0000 (UTC) Received: by pxi28 with SMTP id 28so1616685pxi.7 for ; Tue, 08 Dec 2009 17:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=uswbmBmi/smuKMVenZdUXZpM6OTCcwqeok+C6OeMDhc=; b=YOKwChw1ETx/7aDzSzsfaNAtWlZvZEkwxDtRHknoziANisRowQVpJ/EybCCSG8NEVt PqFVgZRQ/Jqh21SE8KCxkGi1oKHgMwl/cmfMfceQeD6GlCTbwATP/mJDpNHBCdMrph0n sgodbPDfJjF7DTUqsViOPHSgC/Ia1pVzxRtv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sgvlGVfy+FDR79vvH0SqfxRwHes5yv9SLGSfcTeDrCr5bdydn/qLOzqD8AJPTiqSD5 Hhl5EijAvbhklkYCkc/b45E9OrbvdpkZZ9a5Zx+5Z5inNbqqWzBMZrpQCC6YLgq0zYzd VVr2XaJmf7ADThgpJydzIBWHm98fN++GWURcs= MIME-Version: 1.0 Received: by 10.114.163.13 with SMTP id l13mr16916444wae.139.1260322814054; Tue, 08 Dec 2009 17:40:14 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Dec 2009 18:40:14 -0700 Message-ID: From: Tim Judd To: Joey Mingrone Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: fixit and gmirror 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: Wed, 09 Dec 2009 01:40:14 -0000 On 12/8/09, Joey Mingrone wrote: > Hello: > > I was upgrading a system from 7.2 to 8.0 and all was going well until > the make installkernel step. The / partition filled up when the new > kernel was installing. Since /boot was taking up most of the space I > moved /boot to /usr/ and create a symlink in / then I did make > installkernel again and everything completed. Unfortunately I didn't > move the necessary bits from /usr/boot back to / before rebooting and > now the system won't boot. I'm trying to use the fixit option with > the livefs cd to repair the system, but I'm having problems with > gmirror. The disks are in software raid0. Can anyone point me in the > right direction to get /usr and / mounted from the mirror using fixit? > Because the livefs uses a MFSROOT system (allows you to make changes to the ram-based disk image after boot), you have to load kernel modules before the mfsroot is mounted. As an example.. boot cd escape to loader prompt load /boot/kernel/geom_mirror.ko load /boot/kernel/smbfs.ko (if needed, i had to load two modules the time i had to use it) boot And I would like to note.. raid0 is striping, gstripe. raid1 is mirroring. I find it hard to recognize raid0 as your boot device. Let me know if you need further help. --Tim