LinuxQuestions.org
Help answer threads with 0 replies.
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 12-27-2002, 08:49 PM   #1
Valek
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Rep: Reputation: 0
red hat 8.0 is installed but won't boot


I just installed red hat 8.0, and it boots up with LILO. It goes to the main screen where I can either pick linux or windows. When I click windows it loads up windows fine. When I click linux it does this: Loading Linux..................
After that it stops doing anything. I know it didn't freeze because the cursor is still blanking. I let it sit like that for 10 mins and it did nothing. Is there any suggestions of what I can do?
 
Old 12-27-2002, 09:57 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Boot into rescue mode with your redhat install cd and check your /etc/lilo.conf file.
 
Old 12-27-2002, 10:58 PM   #3
Valek
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
Angry

I tried what you said. There was no lilo.conf in the etc directory, or in any other directory. Please help me with some other ideas of what to do.
 
Old 12-27-2002, 11:04 PM   #4
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
That's very strange. You're booting with lilo, but there is no lilo.conf? There may be a better answer, but if reinstalling lilo doesn't help, maybe try a complete reinstall...
 
Old 12-27-2002, 11:18 PM   #5
Valek
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
I found the /etc/lilo.conf file now, but what should I do? I'm not sure what I should be checking, nevertheless here is what I'm given:

prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="root=LABEL=/"

other=/dev/hda1
optional
label=windows
 
Old 12-28-2002, 01:31 AM   #6
Valek
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
can anyone help?
 
Old 12-28-2002, 01:47 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You now need to find out what partition is your root. do "fdisk -l"
 
Old 12-28-2002, 02:57 AM   #8
Valek
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm. I'm going to delete all my partitions, install linux and windows, and then delete those partitions again.
 
Old 12-28-2002, 03:17 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Ok, next time use grub as your bootloader, redhat ship a broken lilo.
 
Old 12-28-2002, 09:21 AM   #10
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
Valek, did you understand what Aussie wanted? Your lilo.conf file is pretty standard (no glaring errors). He wanted to match it against your system. The command fdisk -l doesn't delete anything, it just lists the current hard drive layout. Quite honestly, as I was reading this thread, that was the question I had.

LILO is pretty straight forward and very reliable. Most problems are user induced--the partition scheme is changed or the hard drive is moved and LILO's map is not longer valid. The simple fix in these cases is to correct the map.

Let's walk through some basic troubleshooting questions and see if we can narrow down what problem you are facing.

1. Did Linux ever work? Have you ever gotten it to boot after installing it? If it did, when did it stop working? What changed just before that?

2. Can you boot Linux from the boot floppy? If so, a simple fix is to log on as root and in a terminal window, type: /sbin/lilo

3. What order were the operating systems installed? What did you use to guide you through the dual boot configuration? Was LILO placed in the MBR?

4. What version of Windows are you using? What file system for it?

5. Were there any problems installing RH Linux? Did it give you any error messages? Was there anything it wouldn't configure?

Your last post shows newbie frustration. The normal tendency is just what you wrote--throw it all out and start over. While that would probably work, your problem isn't that big. You would seem to have both operating systems installed fine. The problem is probably in the boot loader configuration.

Your solution would have it fixed in 90 minutes. If you skip deleting everything and leave Windows alone, you cut that in half by just reinstalling Red Hat.

You would also learn almost nothing from that.

Our solution would take a few days to fix it and would involve several back-and-forth postings. Along the way, you would learn a lot about how LILO works and how to customize it.

For example, if you were to type "LILO Config" into Google, did you know you would get about 103,000 hits? And near the bottom of the first page you would find this site:

http://www.acm.uiuc.edu/workshops/li...tall/lilo.html

This explains what your lilo.conf file means--line by line.

Did you know you could search this forum for the same info? In the upper right hand corner there is a teeny-weeny little button that says search. Most people have problems finding it. Anyway, if you can locate it, it will take you to the search page. In the left hand side, enter "LILO Config" and see what it presents.

Did you know that the Red Hat website has information also? That same search parameter found 1660 hits on their website alone. It seems that Red Hat thinks it is important to help you with boot loader problems.

There is also the LInux Documentation Project website at:

www.tldp.org

You will find the complete list of HOWTOs there. What are HOWTOs? Lessons learned from working through problems. The writer will usually put the task in the title and spell out what they encountered, what they learned along the way and how they decided to fix it. Have a lot of time available when you head into this gold mine.

Anyway, the choice is yours. Good luck.
 
Old 12-29-2002, 01:45 AM   #11
gokulagiridaran
Member
 
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
You think your /etc/lilo.conf must be recompiled ..boot the machine in the rescue mode & do that
 
  


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
how to boot red hat if i installed GRUB in the /root cosgeo99 Red Hat 4 02-17-2005 12:14 PM
I can't boot to XP after I installed Red Hat 8(UNMOUNTABLEBOOT_VOLUME)? Deon General 2 10-19-2004 03:15 AM
Dual Boot Red Hat 9: 2 images installed - Why??? snyderJD Red Hat 1 03-29-2004 01:38 PM
I installed Red Hat 9 and it won't boot from harddrive but floppy works? ablack33 Linux - Newbie 0 08-26-2003 01:01 PM
How can I now which red hat is installed? juanb Linux - Software 1 03-23-2003 04:27 AM

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

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