Re: fixit and gmirror

2009-12-09 Thread Joey Mingrone
On Tue, Dec 8, 2009 at 21:40, Tim Judd taj...@gmail.com wrote:
 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

Thanks guys.

Tim, that did the trick.  I followed that sequence with the livefs cd, then did:

# mount /dev/mirror/gm0s1a /temp/; mount /dev/mirror/gm0s1f
/temp/tempusr/ and copied /temp/tempusr/boot to /temp/ (minus
kernel.old so it would fit) and the system boots again.

 And I would like to note..  raid0 is striping, gstripe.  raid1 is
 mirroring.  I find it hard to recognize raid0 as your boot device.

Right.  It is raid1.

Cheers,

Joey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fixit and gmirror

2009-12-08 Thread Tom Worster
On 12/8/09 5:00 PM, Joey Mingrone j...@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?

in a recent situation which might be related, i was able to make progress
with fixit only once i burned a 7.1 livefs cd. with 8.0 cds i got nowhere.

with 7.1, it wasn't necessary to boot from cd1 and then insert livefs for
fixit. the livefs disk booted str8 into sysinstall.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fixit and gmirror

2009-12-08 Thread Tim Judd
On 12/8/09, Joey Mingrone j...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org