Debian 6.0 RAID and GRUB

One of the three hard disk failed on the ancient Linux firewall at the office. It had all disks configured into one logical volume.

Two other disks are fine, so I decided to pair them into RAID 1. To save time, I’m using the Debian 6.0 DVD found in the office.

All went well until it’s time to install GRUB. It turned out, mdmadm wasn’t installed on the target system.

chroot /target apt-get install mdmadm
chroot /target grub-install /dev/sda
chroot /target grub-install /dev/sdb

Installing GRUB on both MBR will ensure that the machine will be able to boot even if one of the disks fails. At least, that’s the theory. Will test if time permits.