INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
How to recover Grub boot loader?

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
bevills1
Member


Joined: 25 Jan 2006
Location: United States

Post Posted: Jun 06, 2006 09:38 Posts Comp View users profile Send private message Reply with quote

Recently I reinstalled Windows XP which caused the Grub boot loader for my Suse Linux 10 to vanish. Is there a way to recover the Grub boot loader to enable Linux boot without having to reinstall Linux?

Steve Stepoway
Member


Joined: 12 Mar 2004
Location: Texas, USA

Post Posted: Jun 06, 2006 10:28 Posts View users profile Send private message Reply with quote

You can boot from floppy to Linux (you do have a boot floppy, don't you?) and run grub and it will re-install itself in the MBR, or you can boot a live Linux CD and get to your installation from there. If you do that, be certain that the version of grub you run is the one in your install, and not the one on the CD (I just discovered that problem on one of my dual boot systems after moving to a new disk drive).

It should require something like:

%grub
>root (hd0,0) Tell grub where the root of the grub install is
>setup (hd0)
>quit

If you have a boot partition that has the grub files in it, you need to specify that partition as the "root". The kernel command in grub.conf will tell the kernel where the root of the file system is.

Once you boot Linux and mount the drives so you can look at grub.conf it should be clear.

Steve Stepoway


lpn1160
Member


Joined: 03 Jul 2002
Location: United States

Post Posted: Jun 06, 2006 22:12 Posts Comp View users profile Send private message Reply with quote

Try this, a very excellent bootloader. I used it when I was still dual-booting. I think it might be able to recover your system
some excerpts:


1) Allows boot of up to 9 different operating systems.
2) It can boot operating systems installed in primary and extended partitions on any available hard disk.
3)Can be installed from nearly all operating systems.

http://gag.sourceforge.net/
_________________
"The software said Win XP or better, so I Installed Linux"


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics