LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2005, 05:55 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
Unhappy I want GRUB Back!


http://www.linuxquestions.org/questi...2&goto=newpost
http://www.linuxquestions.org/questi...1&goto=newpost

I recently started two threads:
The first dealt with trying to boot off my CD Writer. In the end I decided to get a boot image for a floppy that was smarter then BIOS. Then a “quick question” relating to the kernel location and got everything working properly.

Don’t ask me how but I installed the boot onto both my hard rive and my floppy even though I only remember telling it fd0. Maybe it was supposed to go on the HD as well?

Good news: I have a floppy that will boot a CD.
Bad news: Like I said, that boot image made it on my HD!

Sense I did not think I would need to, I never changed lilo to hda1 (my /boot). I have, however booted knoppix and changed my lilo.

Anyway, I made a backup labeled sbm-orig.dat, and I see the file right now on knoppix

I have tried loading the previous MRB in the boot loader but it just turns says GRUB and stands there.

I did, I guess, install FreeBSD though. Now I kndof wish I told it to create a boot loader -- to overwrite smartbootmanager. BTW, my FC3 disk crashes.

So…how do I get GRUB back?
 
Old 01-31-2005, 01:44 AM   #2
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
I'm guessing you chose "yes" when sbm asked if you wanted to "save changes"? Pick "no" next time .

I have not used Fedora C3, but if I remember Fedora rightly if you boot the first install CD, then it should give you the option to boot a rescue system?? If it gives you that option, then the rescue system will likely give you an option to "reinstall the bootloader".

If that option is not there, or for some reason doesn't work, then you would probably want to reinstall grub while running the Fedora you already installed. To do that I would make use of this: (and prepare to get your feet wet)
http://www.tux.org/pub/people/kent-r...looplinux/rip/
It will boot up into a basic grub bootloader with lots of helps. From within that loader you should be able to jury-rig a boot of your Fedora install.

Once booted, then open up a terminal and type
Code:
info grub
at the command-line for the grub manual and information on reinstalling it.

Of course, you may find it easier just to reinstall Fedora.

EDIT: Big idea... I bet choosing the "upgrade" option might also cause Fedora to reinstall grub without all the added wait and hassle. I've actually used "upgrade" several times with Mandrake for that very reason -- to fix my fouled bootloaders.

Last edited by dping; 01-31-2005 at 01:50 AM.
 
Old 01-31-2005, 12:21 PM   #3
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Looking back over your post I noticed that you made a copy of your original grub mbr.
It just occured to me (if I remember correctly) that the RIP disk I linked to should have a tool on it for reinserting saved mbr's. If you haven't found it already, then fyi. Sorry I didn't think of that last night.
 
Old 02-02-2005, 05:53 PM   #4
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Original Poster
Rep: Reputation: 34
Great, thanks alot!

I managed to install the latest grub when booted into FC3, and ran grub-install. It's awsome because my 'image' and everything was already in the dir, so I think all it did was install the latest GRUB files, then make GRUB boot instead of SBM, which still has all of its files there.

This is in my bookmarks though, because having a backup bootloader (esp with lots of help built in) could come in handy!

I don't have FreeBSD able to boot though. The install never asked for the other two CDs anyway, so it only has the software (i guess) that was on the boot CD. For this reason I'm just going to reinstall it and see if it'll make any settings for me to boot into it.

At least I got GRUB back though, and with the original settings as well.

Last edited by 1veedo; 02-02-2005 at 05:54 PM.
 
Old 02-02-2005, 06:32 PM   #5
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
If you want to boot FreeBSD, make for it an entry in menu.lst. Like this:

title FreeBSD
root (hd0,x,a)
chainloader +1

x=partition number where it's installed
 
  


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
Grub is gone, how to get it back? infornography Linux - General 8 03-08-2005 01:24 AM
how to get grub back vijaysh Linux - General 4 12-07-2004 10:55 PM
getting grub back viniosity Linux - Newbie 3 11-30-2004 09:40 AM
help in getting grub back varunk123456 Red Hat 2 05-03-2004 12:08 PM
*sigh* getting grub back. lsgroup Linux - Software 3 03-16-2002 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 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