LinuxQuestions.org
Review your favorite Linux distribution.
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 01-15-2003, 08:04 AM   #1
sfingerh
LQ Newbie
 
Registered: Jul 2002
Location: CHILE
Distribution: Red Hat 8.0
Posts: 8

Rep: Reputation: 0
How to re-install GRUB (from Windows98!?)


Hi,
I have Win98SE and RH8 Linux on my PC.
I used GRUB to boot.
Yesterday, Win98 stoped working, no way back. I re-installed
Win98 and forgot that this overwrites GRUB.

Now Win98 is back again, but I don't know hao to install GRUB again. (I lost the boot floppies) but have the RH CD's.

Thanks for helping

Sebastian
 
Old 01-15-2003, 03:39 PM   #2
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
If you can boot from cd, then boot from the redhat cd. I suppose you have an option to boot it as a rescue cd, so when you get the "boot:" prompt you can boot with "linux root=/dev/hda2" or whatever applies to your situation. Then, when you're in linux again, you can re-install grub.
 
Old 01-15-2003, 08:07 PM   #3
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Also in Linux, put a floppy in the drive and issue this command:

uname -r

This will give you your kernel number. Then issue this command:

/sbin/mkbootdisk <kernel#>

Replace the parameter with the number the first command gives you and this will make you a boot disk that you should always have.
 
Old 01-28-2003, 04:55 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
i had this same problem, but i need to know how to re-install Grub
 
Old 01-28-2003, 04:57 AM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
ok i think i just found it...

/sbin/grub-install /dev/hda

i did the command now im gonna test it out, hope i make it back
 
Old 01-28-2003, 05:03 AM   #6
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
yea, that did it, no more of that slow floppy stuff
 
  


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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
how do I install half windows98 half linux? xandar Linux - General 3 09-07-2005 03:23 AM
newbie windows98-linux72 grub crash, desperately need to get back windows gjfreakout Linux - Newbie 5 09-18-2004 05:02 PM
help: not able to install windows98 santosh82 General 10 06-19-2004 12:50 PM
Installing windows98 onto Linux9.0 fomondi Linux - Newbie 5 09-23-2003 01:18 AM


All times are GMT -5. The time now is 08:22 AM.

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