Solved

Updating Grub on Suse Linux 10

Posted on 2010-11-11
3
608 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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