LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-05-2003, 06:53 PM   #1
dhsieh
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
How to reinstall GRUB or LILO?


I have a dual boot system with Win2k & Redhat 9. Unfortunately, after installing the Redhat 9, I was unable to boot into Redhat. I tried both GRUB & LILO with no luck. In several tries, I installed the loader (GRUB & LILO) either in the MBR or the first sector of the Linux partiton. Although I was able to boot off the emerginecy disk I craeted during the installation. As a result, I believe that the Linux was installed successfully. It was jsut the loader didn't work. It has become quite annoying to reinstall the entire Linux from scrath in order to fix the loader. Is there a easier way to install the loader without having the reinstall the Linux?

- Dhsieh
 
Old 10-05-2003, 07:03 PM   #2
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
Did you run /sbin/lilo to set lilo up again from your new lilo.conf?

Check this out:

http://www.slackware.org/book/index....rce=c1710.html

Damien
 
Old 10-05-2003, 07:47 PM   #3
dhsieh
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Yes, I did boot up using the mergency Linux disc and run /sbin/lilo.

[QUOTE]Originally posted by damien
[B]Did you run /sbin/lilo to set lilo up again from your new lilo.conf?
 
Old 10-05-2003, 08:07 PM   #4
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
Hmmm. Can you post your /etc/lilo.conf and the output from /sbin/lilo ?
 
Old 10-05-2003, 08:34 PM   #5
Raspis21
Member
 
Registered: Jun 2003
Posts: 33

Rep: Reputation: 15
If I might ask, what does it do when you try to boot to RH 9? Does it give any errors or anything? I think it might help. Also, when it boots, do you even get to the Grub or Lilo screen? Let us know a bit more, and maybe we can getcha going. If you never see the Grub of Lilo (and for some strange reason I prefer grub, could be the password ability, I am paranoid) then I think you might have a partition that isn't active. Perhaps we can figure it out.

*Edited*

Last edited by Raspis21; 10-05-2003 at 08:42 PM.
 
Old 10-05-2003, 09:25 PM   #6
dhsieh
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
I apologize for the lack of details in my original posting. What I did were:

(1) Before installing the Redhat 9, I have Win2k and I use System Commander 7 (SC) as its boot manager.

(2) Aftering installing Redhat 9 with GRUB on MBR (which works with my another PC), the SC added the Redhat 9 into the menu but was unable to boot it. I received just a line of "GRUB" and it halted.

(3) Then, I tried installing LILO with MBR. This time, LILO overwite the MBR and messed up the SC boot menu. I have restore the MBR from a back.

(4) Then, I tried installing LILO with its own partition, This time, SC was not able to detect and thus not adding Linix partiton into its boot menu.

- Dhsieh
 
Old 10-05-2003, 09:50 PM   #7
dhsieh
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
I just disabled SC and installed PowerQuest PartitonMagic 8 in my Win2k. Just as SC, it can't add Linux (ext3) partition into its boot menu. For some reason, both boot manager softwares cann't seem to recongnize the Linux partition on the PC.

- Dhsieh
 
Old 10-06-2003, 01:52 PM   #8
dhsieh
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
I installed another boot manager "SOL2000" and it recognizes the Linux parition. Now I can boot into Linux without a problem. Thanks for your helpful tip in resolving this problem.

- Dhsieh
 
  


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
reinstall LILO . bruse Linux - Newbie 1 08-23-2005 11:42 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
reinstall grub/lilo on MBR without cdrom boot lay_Z Linux - Newbie 5 03-12-2004 05:45 AM
Can't get rid of LILO or GRUB bootloaders to reinstall Windows on Laptop CorpChAoS Linux - Newbie 5 11-25-2003 01:23 AM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration