[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot from raid1 mdadm version 1.2 partition



12/01/2012 22:26, Marc Auslander wrote:
Earlier posts seem to say this should/might work.

I made an mdadm v 1.2 partions, and put a copy of my root file system
on it.

update-grub doesn't see it at all.

if I try to boot by hand, I can get grub to boot the kernel but then I
get mysterious error messages about not being able to mount /dev/pts
and fall into the recovery shell.  It appears that my raid partions
have not been assembled.

Any hints.

Does anyone actually have boot from raid1 version 1.2 working?  If so,
could you post the grub.cfg entry that makes it work?

Hi, yes I do. You need grub2 (aka. "grub-pc"), you need to fill in mdadm.conf and update initrd.

My grub.cfg won't tell you much since I am using LUKS, root entries are of type "/dev/mapper/*" which isn't relevant for you. But if you are using grub2 I doubt this is the problem, you need to populate mdadm.conf, generate new grub.cfg and maybe reinstall grub on (both) the raid1 disks, make sure the initrd is updated so that it will start arrays early enough, and that's it. Chroot on the new raid system, do necessary changes, and try again.


Reply to: