Thread (3 messages) 3 messages, 2 authors, 2010-06-19

RE: Upgrading to GRUB2 from GRUB Legacy on RAID1

From: Leslie Rhorer <hidden>
Date: 2010-06-19 01:37:42

IIRC Grub 1.97 ('2') supports the 0.90 metablock format but not the
1.0 metablock format.  You might just backup the contents of /boot and
make that small pair of partitions use the older format (re-create
that array).  For /boot 0.90 should be sufficient in most cases.
	Actually, it's 1.98 in Debian "Squeeze", now, and perhaps higher in
the wild.  You are correct, though.  After getting nowhere on any of the
mailing lists and failing to get a response from the developers, I tried
moving to a 0.9 superblock, and it worked.  Thanks for the response, though.
Anyone who wants to boot from an array with more than 26 elements or any
elements more than 2T in size is hosed...  Fortunately, my boot partition is
only 5G x 2 drives RAID1, and even that is 90% empty.  It only took seconds
to tar the contents of /boot and start testing.
However, I've not tested grub 2 with mdadm. Only my ubuntu laptop uses
grub2; both gentoo and arch (as of the last time I looked) were still
using grub legacy.
	It works, but as you mention, only with 0.9 superblocks.  It is not
at all obvious this is the case from the errors one encounters.  When I
tired my work-around and it STILL did not work, it began to become more
obvious it was the superblock issue.  The thing that gets me is I
specifically asked about the 0.9 bug - had it been fixed? - in the GRUB
mailing list and several places online.  No one answered me, at all.
In fact, if grub supports the older metablock format but not the newer
maybe you should file/attach to a bug about it.
	Yeah, I will this weekend if I get a chance.  I'll definitely update
the existing bug report.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help