[BlueOnyx:20440] Re: Cmu Import errors

Michael Stauber mstauber at blueonyx.it
Thu Dec 29 13:03:44 -05 2016


Hi Francisco,

> Another question, when i boot the blueonyx in one disk it boots normally
> but when i use two to make raid 1 (mirror) in the boot i receive this error
> 
> error: invalid arch independent ELF magic
> grub rescue >

This seems to indicate that the boot-loader wasn't installed correctly.
In VMware VPS's this can happen after installing the VMware tools. Or it
can happen if the device names for the disks are not within our
expectations.

Recommended fix:

Boot off the BlueOnyx CD again and enter rescue mode. It'll boot up and
will eventually give you a shell after asking you if you want to boot
with network (you can say no to that) and if you want to detect and
mount the disks (you can say yes to that).

Once at the root shell do an "fdisk -l" to see which disks and
partitions are there and how they are named.

This should usually be sda and sdb, but in your case it may be different.

Say your OS has been mounted by the rescue disk under /mnt/sysimage/ and
"fdisk -l" reports your disks as being /dev/vda and /dev/vdb. In that
case you would run this to reinstall the boot-loader:

grub-install --root-directory=/mnt/sysimage /dev/vda

If you decided NOT to mount the disks, you need to do this manually
before you run the command:

mount /dev/vda1 /mnt
grub-install --root-directory=/mnt /dev/vda

Of course replace mount points and drive letters as applicable to your
actual configuration.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list