Link to home
Start Free TrialLog in
Avatar of Peterson50
Peterson50Flag for United States of America

asked on

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
Avatar of Vryali
Vryali
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of Vryali
Vryali
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Peterson50

ASKER

Thanks