• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

Updating Grub on Suse Linux 10

We have a SLES box that we are making a disaster recovery copy of onto another bare bones server.  We are using Sesam software to produce the backup and then a restore.  We had some problems due to the storage systems being different, scsi in production, sata in backup.  Eventually we figured out what was needed to be done and manually created the partitions and did a restore.  The problem is the on startup,  we get a GRUB Loading 1.5 and then a GRUB Loading stage 2 and then Error 2.  The technician stated we needed to update the grub with our disk 1 of suse, what command do we use to update the grub so that it starts properly on Suse as the cmds appear to be different depending on linux version.

Thanks
Paul
0
Peterson50
Asked:
Peterson50
  • 2
1 Solution
 
VryaliCommented:
You should just have to run

sudo grub-install /dev/hda --no-floppy

(or whatever the main drive is you're installing it on).  You may need to do a find / -iname grub-install with the CD mounted (and then run it from the mounted directory directly) before it'll run as expected.
0
 
VryaliCommented:
I actually talked with my friend who just ran into this problem today and he gave me the correct answer.  To have it not boot from grub 1 > 2 you can't just run the install script, you need to run the grub-install-legacy-upgrade script, I believe it was.  I googled it and found the appropriate article he'd mentioned to me led him to the correct answer, which is here:

http://www.howtoforge.com/how-to-install-grub-2-on-ubuntu-9.04

Happy huntings and good luck :_
0
 
Peterson50Author Commented:
Thanks
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now