Page 1 of 1

reinstall bootloader from 64 bit OS within 32 bit rescue?

Posted: Mon Sep 24, 2007 12:15 am
by mswanson
Really need help on this one guys...

I just setup a new server at serverbeach, centos 4.5, 64 bit OS. There was a problem with the hardware in the server so they swapped the (raid1) drives over to a new machine but somehow the boot loader on the drives was hosed (I'm not exactly sure how). I can mount up the raid partitions within serverbeach's rescue environment, but I _can't_ chroot. This is the error I get, and after googling it seems its because the rescue environment is 32 bit while my os is 64 bit:

root@sbrescue:/# chroot /mnt/sysimage/
chroot: cannot run command `/bin/bash': Exec format error


whats a guy to do??