Solved

Updating Grub on Suse Linux 10

Posted on 2010-11-11
3
604 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
  • 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 500 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now