On Fri, Nov 27, 2015 at 9:30 AM, <garrett.timmins@speedymail.org> wrote:
I inherited a machine from a relative. It was running an old version of OpenSUSE 12.3. I'm new to OpenSUSE. I upgraded it so that it's now running OpenSUSE Leap.
It has 4 drives in my desktop. There's a RAID-1 array consisting of those four drives (2 as fallback)
cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md126 : active raid1 sdc1[2] sdb1[1] sda1[0] sdd1[3] 1060160 blocks [4/4] [UUUU] bitmap: 0/130 pages [0KB], 4KB chunk ...
Now I know I need to install grub2 as the bootloader to be used on boot, instead of old grub?
Is the
grub2-install
command the right command?
No. You always should change bootloader using YaST bootloader module. This ensures that configuration is correctly updated and the right bootloader will be reconfigured when you add/remove kernels.
Since I have '/boot' partition on a 4-disk RAID-1 array, what's the right way to install grub2 as the bootloader default on that array?
You should install GRUB2 in MBR of each disk if you want full redundancy.
Do I execute grub2-install 4 times, once for each drive?
grub2-install /dev/sda grub2-install /dev/sdb grub2-install /dev/sdc grub2-install /dev/sdd
Yes, at this time this means running grub-install 4 times. Unfortunately I am not sure whether YaST actually supports this configuration. It does support 2-way mirror (i.e. RAID1 consisting of two drives). In this case you should see checkbox "Enable MD redundancy" or similar' checking it (it is not default) will cause YaST to automatically configure bootloader location in MBR of each drive. Try going in YaST bootloader and see what it offers when you change bootloader type to GRUB2.
Of course my goal is to make sure grub2 gets used, I'm able to boot, and I have some redundancy.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org