?
Solved

Updating Grub on Suse Linux 10

Posted on 2010-11-11
3
Medium Priority
?
619 Views
Last Modified: 2012-05-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
Comment
Question by:Peterson50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Vryali
ID: 34123002
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
 
LVL 3

Accepted Solution

by:
Vryali earned 2000 total points
ID: 34125419
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
 

Author Closing Comment

by:Peterson50
ID: 34227586
Thanks
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question