Xi6.org

Tag: grub error

GRUB Error 2 Ubuntu 9.04 RAID

by on Jul.16, 2009, under linux/ubuntu

After installing software RAID, or perhaps for some other reason – you’re presented with a system that cannot boot properly. In my case, I installed a RAID5 Array and was presented with a GRUB ERROR:2 on boot.

GRUB Error 2 is basically “Selected Disk does not exist“.

Which likely means that grub is pointing to a disk or device that is either not recognized or as stated, doesn’t exist. It may be pointing to (hd0 0,1)  instead of (hd0 0,0) or whichever missconfig. In my case with the newly installed RAID, it’s likely the issue of GRUB being non-existant on subsequent disks, or not mapped properly to the MD array.

To fix this error after a RAID install, I had to go back in with the alternate installation CD and modify my RAID on the /boot partion (100MB).

Instead of this being a RAID5, I changed it to be RAID1 (mirroring) instead. So instead of 1 drive having the pairity value, the 3 drives now have an exact copy of the static boot files. We’re now able to boot our system!

Otherwise you may have to manually edit GRUB and change the device it’s trying to boot. (Such as mentioned above where it may be trying to boot into hd0 0,1 instead of hd0 0,0)

1 Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...