grub 2 is unable to detect /dev/md1
which is a raid 1 drive on my computer.
When I press c in grub menu and run ls
I get a list of all the drives but don't see md1
for booting Ubuntu which is on md1_p1
.
This is the config I'm using in the grub2 40_custom
file.
menuentry "Ubuntu 12.10 uuid" {
insmod ext2
insmod mdraid
set root='(md1,1)'
search --no-floppy --fs-uuid --set=root 23451bea-fd08-cff7-9289-9f9aa51f8599
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=23451bea-fd08-cff7-9289-9f9aa51f8599 ro
initrd /boot/initrd.img-3.5.0-17-generic
}
I'm able to load linux installed on other partition but unable to start 12.10 which I've just installed on a raid 1 ext4 fs.