LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with GRUB when cloning machine (https://www.linuxquestions.org/questions/linux-software-2/problem-with-grub-when-cloning-machine-788902/)

sternocera 02-13-2010 11:12 AM

Problem with GRUB when cloning machine
 
Hello,

I used proprietary software (acronis trueimage) to clone an Opensuse 11.1 machine, onto another machine with somewhat distinct hardware (different motherboard, less memory).

I expected to have to change entries in /boot/grub/menu.lst, /etc/fstab, etc.

I was told a good way to do this was to use the Opensuse DVD's "repair installed system" feature.

When I ran the repair, I was informed that "bootloader configuration file contains errors". I attempted to re-install the bootloader, but received this unhelpful error: "An error occurred during boot loader installation. Retry boot loader configuration?".

When I boot the system, I just see the text "GRUB ", followed by a flashing underscore character.

What might be wrong here? How can I fix grub?

Thanks in advance,
Sternocera

yancek 02-13-2010 12:06 PM

Did the original machine have only OpenSuse on it?
Does the second machine you cloned to have only OpenSuse on it?
If you have any Linux Live CD, you could try loading that on each machine and comparing Grub files (menu.lst).

Try SuperGrubDisk.

jefro 02-13-2010 04:10 PM

Might boot to opensuse live cd and just install grub and edit it.

sternocera 02-14-2010 05:32 AM

Yes, both machines only had Opensuse, with 3 ext3 partitions - swap, home, root.

I attempt to install GRUB from the opensuse live DVD (its repair facility), and get the error message "An error occurred during boot loader installation. Retry boot loader configuration?".

Thanks

yancek 02-14-2010 02:50 PM

On the second machine, load your OpenSuse CD and open a terminal and login as root and run the "fdisk -l" command to see your partition information. If your root partition shows as sda1, you can install Grub on it from the terminal as root with:

grub (should get a grub prompt - grub>) hit enter
root (hd0,0)
setup (hd0)
quit

if you're not sure post again.


All times are GMT -5. The time now is 08:10 AM.