GRUB2 not detecting OS on raid partitions
Posted
by
sleeves
on Server Fault
See other posts from Server Fault
or by sleeves
Published on 2011-06-30T22:23:38Z
Indexed on
2011/07/01
0:24 UTC
Read the original article
Hit count: 227
I have recently added a drive to a system and have successfully raid'ed (RAID-1) the paritions, with the exception of the boot partition. I have it ready and mirrored, but can't get GRUB2 (update-grub) to find it.
System: Ubuntu 11.04 Raid Metadata: 1.2
If I run update-grub, it finds the kernel images on the /dev/sda2 partition (present root) but not the images on /dev/md127.
/dev/md127 is composed of "missing" and "/dev/sdb2".
fdisk on /dev/sdb confirms that sdb2 is of type fd (raid autodetect) and is also flagged bootable.
I have two things I want to do.
- Make the boot.cfg on /dev/sdb2 have a menu option to have the root be /dev/md127
- Install grub onto /dev/md127 so the actual boot.cfg from there is being used.
Thanks!
© Server Fault or respective owner