View Full Version : [ubuntu] GRUB2 error with raid after upgrade

October 23rd, 2011, 08:18 PM

I posted this problem on the "Absolute Begginer Talk",
which was probably the incorrect forum to get help on an upgrade.

The problem is I am running 10.10 server edition, at least I was until yesterday, which is when I attempted to upgrade to 11.04.
I have software raid configured.
I got the following error after the restrart:

"error: symbol not found: 'grub_env_export'"

As per the suggestion in the following thread:

I booted with the Live CD and then ran
$sudo msadm --assemble --scan
$sudo palimpsest

I was able to start the raid array and also initiate a "check and repair array", which ran forever, but completed sucessfully.

I then mounted the array:
sudo mount /dev/md0 /mnt

and then installed GRUB 2.
sudo apt-get install grub-pc

and got the following message

"Note: It is possible to install GRUB to partition boot records as well, and
some appropriate partitions are offered here. However, this forces GRUB to
use the blocklist mechanism, which makes it less reliable, and therefore is not

GRUB install devices:
[ ] /dev/sda (2320072 MB, MAXTOR_STM3320613AS]
[ ] /dev/sdb (2320072 MB, MAXTOR_STM3320613AS]
[ ] /dev/sdc (2320072 MB, MAXTOR_STM3320613AS]
[ ] /dev/sdd (2320072 MB, MAXTOR_STM3320613AS] "

After selecting all 4, I get the following error:

"GRUB failed to install to the following devices:
/dev/sda /dev/sdb /dev/sdc /dev/sdd
Do you want to continue anyway ?
GRUB installation failed. Continue"

to which I answered "No",

Any suggestions on how I can proceed further as I wish to restore my PC.
Any help would be much appreciated.