Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 00:04:33 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sysinstall vs gmirror
Message-ID:  <AANLkTimK=y-V0sBt-Z3LqOBi9KSEABSATdYdFNC5ZruZ@mail.gmail.com>
In-Reply-To: <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com>
References:  <4c83190a.SG%2BLIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI%2BH%2BUzM%2BJ/y%perryh@pluto.rain.com> <4c8c5260.%2BCOCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> <AANLkTimJ-fidbrRPYGynHLQj1-1nqo=-byo9zxXCK049@mail.gmail.com> <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 17, 2010 at 11:09 PM, <perryh@pluto.rain.com> wrote:

> > Next fdisk/gpart accordingly (don't forget to make it bootable).
>
> This is where I get stuck.  I've partitioned the physical drives
> using sysinstall, but how do I go about partitioning gm0?
>

Your problem is that you are still using sysinstall.  You can't for your
purposes(this was pointed out earlier).  Fixit only!  Notice in the example
it creates some basic filesystems/diretories and then chroot's and extracts
the dist's manually.  You must do the same after you do the gmirror/gjournal
setup to your liking and have created the appropriate fs's and mounted them.


>
> > If your setup if GPT compatible, I recommend using it.
>
> How do I find out whether this setup is GPT compatible?
>

Hardware(BIOS) dependent.


> For starters there seem to be at least 6 kernel options, of
> which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and
> GEOM_PART_MBR; there's apparently no "edit" function; and one
> has to puzzle out what is meant by a "protective MBR" as part
> of understanding how to make a GPT partition bootable.
>

Yeah, there is no label editor or resize functionality, yet anyway.  You
don't need to worry about any of those kernel options yet, just get it
working by loading from loader.conf.  You can customize your kernel later.
I think the "protective MBR" part relates to GPT/MBR hybrid style which is
not what I think you should do, but maybe it works haven't tried it.

You'll use gpart to create(and label) at least 3 parttitions, the boot,
swap, and freebsd-ufs filesystem.  You'll have to create more if you want
seperate /usr /var /tmp etc.  Once the fs's are created and mounted,
extract, edit the /boot/loader.conf in the chroot to load gmirror, gjournal,
and anything else you need,
Note about the bootloader part, use gpart to install the boot code to the
boot partition you create, I don't think you'll need to do anything special
other than that.

This example may also be helpful because it deals with GPT/UFS manual
install, but doesn't use any other geom classes.

http://wiki.freebsd.org/RootOnZFS/UFSBoot


-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimK=y-V0sBt-Z3LqOBi9KSEABSATdYdFNC5ZruZ>