Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 18:40:14 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        Joey Mingrone <joey@mingrone.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fixit and gmirror
Message-ID:  <ade45ae90912081740v37c2f505ycc96c44451773170@mail.gmail.com>
In-Reply-To: <f5b896260912081400i46c6482aie0fcc865bbff5a1f@mail.gmail.com>
References:  <f5b896260912081400i46c6482aie0fcc865bbff5a1f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/8/09, Joey Mingrone <joey@mingrone.org> 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



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