LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2008, 10:59 PM   #1
ashwinidubey
LQ Newbie
 
Registered: Jun 2007
Location: Mumbai, India
Posts: 25

Rep: Reputation: 15
grub corrupted......help


greetings everyone,

previously I have successfully dual boot installed xp and suse 10.2 in my laptop with grub.
some thing happened to windows so I repaired xp.
now I don’t get grub at first and windows boots up.
no sign of grub, that can give me option of dual boot.
linux is still there.
cause when I tried to reinstall linux with suse 10.2 cd. it prompted me and successfully boot it from hard drive.
but still no sign of grub...
can any one please guide me how can I restore my grub and make it appear before windows does.....
life has become so frustrating without linux + c.
 
Old 06-22-2008, 11:46 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I guess the issue is just that Windows re-writes the MBR. I don't quite follow why suse didn't put grub in the MBR, and I'm a bit confused as to how things stand from your description.

So, what I would do is either boot suse and reinstall grub with

grub-install /dev/sda (assuming sda is the correct device), or if you can't boot suse, boot the dvd into rescue mode (I guess it has a rescue/repair boot option), or download a live CD of some kind, then mount the hard disk partition with sus on it (say /mnt) then

grub-install --root-directory=/mnt /dev/sda
 
Old 06-22-2008, 11:52 PM   #3
ashwinidubey
LQ Newbie
 
Registered: Jun 2007
Location: Mumbai, India
Posts: 25

Original Poster
Rep: Reputation: 15
thanks bro.
i will try it let you know the effect....
 
Old 06-23-2008, 01:46 AM   #4
kssyed2008
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
/sbin/grub-install <hdd>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering corrupted grub sunils1973 Debian 5 03-02-2008 10:31 PM
corrupted grub loader ti479 Linux - Software 2 11-28-2006 05:52 PM
Boot Loader (Grub) Corrupted parveengar Red Hat 1 10-03-2006 10:07 PM
corrupted NTFS partition. could it be GRUB? alesz Linux - General 7 03-24-2006 09:46 AM
Grub loader corrupted reply2vinay Linux - Software 3 09-20-2005 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration