Can a GRUB2 boot from a RAID 1 volume?

Can a GRUB2 boot from a RAID 1 volume?

The grub2-install /dev/sda and grub2-install /dev/sdb should work as expected on a RAID-1 array comprised of /dev/sda2 and /dev/sdb2 for boot. Booting from a RAID array is very similar to booting from a LVM Logical Volume aside from RAID specific terminology and syntax of RAID partitioned volume.

Can a GRUB2 read from a normal LVM2 volume?

GRUB2 on Debian 9 is definitely able to read from a normal (“linear”) LVM2 volume on MD raid1 (metadata v1.2). However I found this only seems to work if you do insmod lvm before insmod mdraid1x.

Can you boot Ubuntu on a RAID 1 disk?

The setup is that /boot/grub is on a physical raid-1 set. This all works fine to boot linux from another physical raid-1 disk. I’ve added another ubuntu installation (14.04) on an lvm volume (also on a raid-1 physical volume), intending to extend the volume if I run out of space on the root partition.

Can you boot Linux from an LVM logical volume?

I’m having difficulty booting from an LVM logical volume which is stored on a raid-1 physical volume. Using Ubuntu 13.10 and Grub2 2.00. The setup is that /boot/grub is on a physical raid-1 set. This all works fine to boot linux from another physical raid-1 disk.

How to make initramfs RAID aware in Grub?

The –mdadm option is needed to make the initramfs RAID-aware. The linux and initrd lines in /boot/grub/grub.cfg should now load the Linux kernel. Add the domdadm parameter to the Linux kernel command line in GRUB2. Without it the RAID set will not assemble and the Linux kernel will not find the root device.

Can a Grub boot to a new Linux instance?

But unlike the pure MD-raid setup described on the RAID wiki, grub-mkconfig did not find the new Linux instance. I booted to the GRUB prompt of the original Linux instance, to see what it could do. I can load the part_gpt, mdraid1x, and lvm modules. There is no lvm2 module.