LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-22-2004, 06:06 AM   #1
redrobin77
Member
 
Registered: Jan 2004
Location: Germany
Distribution: RH9, Suse 9.3, FC3, Suse10.1, WinXP ;)
Posts: 103

Rep: Reputation: 15
Unhappy RH freeze and MBR/lilo.config problem..


Hi,

I have a problem with making a dual boot with Win98 & Redhat 7.3.

have win98 on C; drive, and RH in D:drive. Installation was OK.

Then I tried to use the KDR control center and accidently ( or inadvertently!)
and I think changed where lilo.conf is wrtten or MBR location by changing hdb to hda..accidently....

Now when I boot from HDD-0(bios change), it just freezes and the word "LI" appears. nothing else happens.

If I change to HDD-1 (bios change), then my WIN98 boots OK.

question: DO I need to re-install RH for fixing this problem or is there a shorter way..?
( I tried "linux recovery" option after inserting the CD1, but do not know where to change to get back the GRUB login with both RH and WIN98 options....

thanks,
redrobin77
 
Old 01-22-2004, 09:15 AM   #2
Lindy
Member
 
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136

Rep: Reputation: 15
Did you make a boot disk during the installation of Redhat? If you di then you can boot to linux from that and run /sbin/lilo <as root> to restore lilo. If you did'nt make a boot disk you can still run /sbin/lilo by booting from the CD in rescue <single user> mode.
 
Old 01-22-2004, 09:21 AM   #3
redrobin77
Member
 
Registered: Jan 2004
Location: Germany
Distribution: RH9, Suse 9.3, FC3, Suse10.1, WinXP ;)
Posts: 103

Original Poster
Rep: Reputation: 15
I did not

I did not make the boot disk.

So I will try to run this solution and see what happens.....

Do you mean to say that by running /sbin/lilo, it will automatically move it to the correct partition..?

thanks,
redrobin77
 
Old 01-22-2004, 10:31 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
Do you mean to say that by running /sbin/lilo, it will automatically move it to the correct partition..?
You can specify where you want LILO installed to by altering the

boot=.............

directive, in lilo.conf - then type /sbin/lilo to re-install the loader etc.
 
Old 01-22-2004, 01:29 PM   #5
redrobin77
Member
 
Registered: Jan 2004
Location: Germany
Distribution: RH9, Suse 9.3, FC3, Suse10.1, WinXP ;)
Posts: 103

Original Poster
Rep: Reputation: 15
the problem

Hi,

thanks for your answers, but the problem is that when I run /sbin/lilo after booting with recovery option, it says that lilo.conf is not found.

This is what I assumed, that I had moved this file accidently to another place that (wierdly!) does not exist any more...

So I decided to reinstall the RH...( since it takes only 35 or so minutes anyway..)

thanks,
rr77.
 
Old 01-22-2004, 01:50 PM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
You could also have done as root:

locate lilo.conf

then, when you found it:

mv /path/to/lilo.conf /etc

to get it back to where it should be (of course put in the correct path to lilo.conf.
 
  


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
Installation Questions: GRUB / LILO / RAID Config & MBR Zaphod98 Linux - General 1 09-09-2004 12:32 PM
lilo.config mbr ???? nOOb1kanobee Slackware 5 03-01-2004 09:56 AM
Lilo MBR (?) problem powadha Linux - Software 3 12-13-2003 06:47 AM
lilo mbr problem heathpitts Linux - Newbie 3 06-10-2003 11:29 AM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 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
Open Source Consulting | Domain Registration