A footnote to this. I did mdadm --manage /dev/md0 --add /dev/sda1 and mdadm --manage /dev/md0 --add /dev/sdb1, and now the output from update grub is different:
error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-4-amd64 Found initrd image: /boot/initrd.img-3.2.0-4-amd64 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. /usr/sbin/grub-probe: error: disk missing. Found linux image: /boot/vmlinuz-2.6.32-5-amd64 Found initrd image: /boot/initrd.img-2.6.32-5-amd64 Found linux image: /boot/vmlinuz-2.6.32-trunk-amd64 Found initrd image: /boot/initrd.img-2.6.32-trunk-amd64 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. Found Debian GNU/Linux (7.0) on /dev/sda1 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. Found Debian GNU/Linux (7.2) on /dev/sdb1 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. Found Debian GNU/Linux (7.4) on /dev/sdc1 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. Found Debian GNU/Linux (7.4) on /dev/sdd1 error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. error: superfluous RAID member (2 found). error: superfluous RAID member (2 found). error: disk missing. error: disk missing. done On Sun, Feb 9, 2014 at 8:32 AM, Ari Epstein <aepstein...@gmail.com> wrote: > I'm having peculiar difficulties getting grub to boot from a RAID1 md. > The machine has four drives, and the md (which contains / as well as > /boot) is on sdc1 and sdd1. sda1 and sdb1 were once configured as spares > though at the moment they are not connected to the raid at all. The > grub.cfg has the correct UUID for the md. > Today I upgraded to the latest 7.4 kernel (3.2.54-2) and rebooted. The > system appeared to boot correctly, but I noticed the kernel is the same one > that was running before (3.2.41-2). > > The output from update-grub suggests it is detecting older installations > of debian, which I suspect are in sda1 and sdb1. I am guessing that > somehow grub is loading from those unused spare partitions instead of the > ones in active use, but could use some help confirming this/understanding > how I can fix it. Any ideas? > > Here's the update-grub output: > > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Generating grub.cfg ... > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found linux image: /boot/vmlinuz-3.2.0-4-amd64 > Found initrd image: /boot/initrd.img-3.2.0-4-amd64 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found linux image: /boot/vmlinuz-2.6.32-5-amd64 > Found initrd image: /boot/initrd.img-2.6.32-5-amd64 > Found linux image: /boot/vmlinuz-2.6.32-trunk-amd64 > Found initrd image: /boot/initrd.img-2.6.32-trunk-amd64 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found Debian GNU/Linux (7.0) on /dev/sda1 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found Debian GNU/Linux (7.2) on /dev/sdb1 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found Debian GNU/Linux (7.4) on /dev/sdc1 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > Found Debian GNU/Linux (7.4) on /dev/sdd1 > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > error: superfluous RAID member (2 found). > done > > -- Ari Epstein 311 W Buffalo St Ithaca, NY 14850-4123 aepstein...@gmail.com 607.222.5116