Comments on How To Set Up Software RAID1 On A Running System (Incl. GRUB2 Configuration) (Ubuntu 10.04)
How To Set Up Software RAID1 On A Running System (Incl. GRUB2 Configuration) (Ubuntu 10.04) This guide explains how to set up software RAID1 on an already running Ubuntu 10.04 system. The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one).
5 Comment(s)
Comments
Thank you for this excellent Tutorial!
Still, grub2 comes with surprises. When /dev/sda fails it might happen that the system runs into an endless loop of boot trials (not even showing the grub menu) because grub won't be able to find the files needed. I could solve the problem with
grub-install --modules="raid" /dev/sdxSee http://ubuntuforums.org/showthread.php?p=12534060#post12534060:
1. Install grub on EACH of the array's disks and pass grub-install the
option flag --modules="raid". Without --modules="raid" it will fail.
2. Rebuild your initramfs.
Details on request.
On CentOS 7 I have not found grub-install command. But grub2-install present:# grub2-install /dev/sdb
Installing for i386-pc platform.
Installation finished. No error reported.
cant edit file /etc/mtab even as a super user on ubuntu 20.04 server