Fwd: PLEASE HELP .!.. ZFS root mirror with Gentoo Linux boot loader issues...
Stacey Pellegrino
stacey.pellegrino at gmail.com
Tue Apr 7 12:28:56 UTC 2015
FreeBSD folks... please help (see below).
Oh yeah... where is my mailing list subscription approval? I have been
waiting ages! Please give me batch updates in one email daily (if at all
possible) and confirm when set-up. Thanks (in advance).
Regards,
-stacepellegrino
---------- Forwarded message ----------
From: Stacey Pellegrino <stacey.pellegrino at gmail.com>
Date: 7 April 2015 at 13:25
Subject: Fwd: PLEASE HELP .!.. ZFS root mirror with Gentoo Linux boot
loader issues...
To: gentoo-dev at lists.gentoo.org
Folks... please help.
---------- Forwarded message ----------
From: Stacey Pellegrino <stacey.pellegrino at gmail.com>
Date: 7 April 2015 at 12:39
Subject: PLEASE HELP .!.. ZFS root mirror with Gentoo Linux boot loader
issues...
To: bsd <bsd at gentoo.org>, recruiters <recruiters at gentoo.org>, "Justin
(jlec)" <jlec at gentoo.org>, Javier Villavicencio <the_paya at gentoo.org>,
zfs-discuss at zfsonlinux.org
Hey folks!
Everything with a ZFS root mirror is set-up sweet other than the boot
loader with ZFS libs enabled on ebuilds when emerged. The latest Grub 2
beta with ZFS enabled in the USE flags just segmentation faults when
grub2-probe
/ is run. Bringing in the latest Grub legacy ebuild and applying all the
relevant changes for ZFS would segmentation fault too on a grub-probe / but
would install to sda and sdb GPT labelled disks, which Grub 2 beta did not.
I then figured that boot0 (the FreeBSD boot loader) might come to my rescue
instead of Grub. However, I see that boot0 in the portage tree are of the
bsd branch and at first glance seems incompatible with Linux without
jumping through some serious hoops.
The next option that came to me was using the Grub legacy on x86 Solaris,
although both 11.2 and 10 (latest rev) didn't boot the live DVD on my AMD64
host, so I was unable to install the boot loader that is ZFS aware for
Solaris and compatible with ZFS version 28.
The next thing I figured was to create an ebuild for Gentoo Linux called
grub-legacy that was the same source uploaded by Oracle regarding Grub
0.97. That would surely recognise /boot on ZFS mirrored across sda and sdb and
boot the Gentoo Linux kernel?
The next priority after that is to get beadm fully ported and working with
root pool snapshots and the Grub boot menu so that this would facilitate
easy rollback option just like it is in x86 Solaris.
Thoughts/comments and forwarding this email onto other relevant parties of
interest would be most welcome.
Kind regards and all the best folks,
-stacepellegrino
P.S. Just would love to get the email address stacepellegrino at gentoo.org
...embarking on a community support mission to get recognition for that
email address.
More information about the zfs-devel
mailing list