LinuxQuestions.org
Help answer threads with 0 replies.
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 12-06-2005, 07:31 PM   #1
ukkibg
LQ Newbie
 
Registered: Nov 2005
Location: Europe
Distribution: SuSe 10.0, Win XP Professional
Posts: 10

Rep: Reputation: 0
After reinstalling XP no more GRUB loader


My XP crashed and I had to reinstall it in order to reach my Ghost image file (it'd be a long story why). After that - and I fully understand why - my SuSe 10 GRUB was wiped from MBR (or at least it is not showing during boot), and I can't log on to Linux.

Question is, and I know there has to be some very simple operation for that, how do I "bring it back" and make everything like it was in good old days of two fully functional systems?
 
Old 12-06-2005, 07:55 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,152

Rep: Reputation: 60
Please use the search feature on this forum. This question has been asked at least twice today...anyway you would have to boot using a rescue disk or live-cd and run

Code:
grub-install /dev/hdX
X should be replaced with your device where you want to install grub.

for e.g.
grub-install /dev/hda

Tux,
 
Old 12-06-2005, 09:41 PM   #3
ukkibg
LQ Newbie
 
Registered: Nov 2005
Location: Europe
Distribution: SuSe 10.0, Win XP Professional
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Please use the search feature on this forum
Sorry, tried to (I noticed a button just for that purpose) before posting a new thread, didn't get any result similar to my problem. Probably I didn't do it right, searched I mean.
Anyway, thanks for helping me out. I'll do exactly as you suggested - after I download a live CD Distro (didn't even bother to make a rescue disk, now I will).
 
Old 12-07-2005, 03:18 AM   #4
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
Having a GRUB bootdisk at hand is very convenient.
Make one if you have the chance

And this is how to use it.
 
Old 12-07-2005, 06:16 PM   #5
ukkibg
LQ Newbie
 
Registered: Nov 2005
Location: Europe
Distribution: SuSe 10.0, Win XP Professional
Posts: 10

Original Poster
Rep: Reputation: 0
After reinstalling XP no more GRUB loader - solved

PHP Code:
grub-install /dev/hdX 
I'd like to share my experience with other Linux newbies with similar problems to my own - finally I noticed GRUB threads.

I"m most grateful for advice I received on this forum but, regretfully, it didn't work.

So, out of sheer desperation I put this evening my installation SuSe10 CD in CDD - firm in my resolution to fix the problem, even if it meant reinstalling the whole system (and it wouldn't be for the first time, believe me). To my utter amazement I found out that very soon I was offered possibilities of installing new system, or repairing the existing one! Just like in XP!

Naturally I chose "repair" and was immediately offered "automatic repair" "specific repair" and "expert repair" options. Characteristically for a newbie, I chose "expert" - what else? There were quite a few tools to repair almost everything!

Reinstalling the GRUB went off like a breeze and I'm right now writing this from my SuSe. I'm very glad that guys in Novell obviously thought of everything - and I have to admit I'm impressed.

I just hope (probably in vain) that old hands in Linux wan't laugh - but for me it was almost a revelation. And I learned something more, again. So, my fellow newbies, review first your "inner resources" before going to forums for advice - and that's experience talking now!

Last edited by ukkibg; 12-07-2005 at 06:18 PM.
 
Old 12-07-2005, 07:41 PM   #6
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Quote:
Originally Posted by ukkibg
[PHP]I just hope (probably in vain) that old hands in Linux wan't laugh - but for me it was almost a revelation. And I learned something more, again. So, my fellow newbies, review first your "inner resources" before going to forums for advice - and that's experience talking now!
Why would anyone laugh about that? It's not like grub documentation is exactly clear, even to longtime technical users, and a lot of grub is inadequately documented. Novell implemented something very well because they paid their developers to read and extend code interoperating with grub - not everyone has the resources or time to learn the inner workings of undocumented applications by reading the code to grasp both the architecture and actual implementation. Heck, I've successfully rebuilt master boot records literally byte by byte using hex editors (in the days before data recovery apps) and I sometimes get confused by certain aspects of grub.
 
Old 12-07-2005, 09:00 PM   #7
ukkibg
LQ Newbie
 
Registered: Nov 2005
Location: Europe
Distribution: SuSe 10.0, Win XP Professional
Posts: 10

Original Poster
Rep: Reputation: 0
PHP Code:
[I]Helpful hints (not directed at anyone in particularjust the guilty parties ):
* Try 
searchingYou will probably find your question is already answered multiple times - and get the answer you are looking for right 
away 
-- no waiting!
Read the stickies
Want to know which distro is right for you? Try severalCheck out distrowatchRead the stickies.
Want people to take you seriously? If you mean "you" type "you" not "u." Drop the 1337 5p34kYesterday
It ceased to be cool 11 years ago.(see http://www.catb.org/~esr/faqs/smart-questions.html)
it is always better to post in an existing thread than to start a new one. (See http://www.albinoblacksheep.com/flash/posting.php)
Make your topic's title descriptive of the issue (see http://www.catb.org/~esr/faqs/smart-questions.html)
[/I] 
Thanks for your moral support. It means a lot to me to know that by writing about my experience I (at least) didn't f**k up anything.

I followed the links you posted in you signature and found them to be most helpful, interesting and refreshing reading. Saved instructions. Tried to send you a private message (not to bore everyone in forum), but obviously I don't have the necessary rank/permit or whatever to do so.
 
  


Reply


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
reinstalling grub. greythorne Ubuntu 23 12-03-2005 01:51 AM
Get back Grub loader after reinstalling XP thdm SUSE / openSUSE 5 11-18-2005 09:49 PM
Reinstalling boot loader sumguy231 Fedora - Installation 2 12-12-2004 10:44 AM
reinstalling the boot loader benjam Fedora 7 08-16-2004 07:42 PM
Reinstalling Boot Loader InEeDhElPlInUx Linux - Newbie 3 10-18-2003 09:53 PM


All times are GMT -5. The time now is 04:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration