Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2007 05:34:49 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Ulf Lilleengen <lulf@stud.ntnu.no>
Cc:        Howard Goldstein <hg@queue.to>, freebsd-geom@freebsd.org
Subject:   Re: graid5 or gvinums - bootable?
Message-ID:  <46C033E0.5050203@cyberleo.net>
In-Reply-To: <20070813091406.GA3078@stud.ntnu.no>
References:  <46BE65EC.1050906@queue.to> <46BE79AE.2070007@cyberleo.net> <20070813091406.GA3078@stud.ntnu.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Ulf Lilleengen wrote:
> Yes. This is no problem with mirrors, since it's essentially just to read the
> first sectors of it. However, the other reason is that gmirror stores it's
> metadata at the end, so the loader won't have to care about it. So, booting of a
> gvinum volume will not work, but using another partition for /boot, and gvinum for
> root should work.

With linux, I would agree, and indeed have several machines set up in
this very fashion.

However, FreeBSD appears to make too many assumptions about what resides
where to make this a viable option, such as only booting from the 'a'
partition, and then subsequently mounting it as / regardless of the
contents of the fstab.

Though, you might be able to get away with it by creating a fake root
and init in mfsroot or elsewhere that contains just enough logic to load
modules, build arrays, and then mount the real root and exec the real
init. Sounds like a pain, though.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



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