Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 15

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
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
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
LQ Newbie
Registered: Jun 2008
Posts: 1

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

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