LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-26-2003, 10:29 PM   #1
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
Boot-Up Problems


I just rebooted my machine to test my new lilo.conf settings (which worked) but when I attempted to boot into my normal option (using the latest kernel under Red Hat 9), it booted-up to the point where it would normally switch to run level 5 but instead switched to run level 9. It then complained about having nothing left to do in this runlevel and then stopped booting altogether. Luckily I had my old kernel settings saved as a back-up so I am still able to boot-up. How can I solve this problem?

The only changes I made to lilo.conf were labels (I added "s so I could use multiple words) and the removal of the DOS option which didn't work anyways.

Cheers,
Dan
 
Old 08-26-2003, 11:02 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i think you made an error in your config..
so do you get to the lilo prompt??
and if you can, can you type:
linux 5
 
Old 08-27-2003, 01:08 AM   #3
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Original Poster
Rep: Reputation: 15
My lilo.conf reads as follows:

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

image=/boot/vmlinuz-2.4.20-20.9
label="Red Hat 9"
initrd=/boot/initrd-2.4.20-20.9.img
read-only
append="hdc=ide-scsi root=LABEL=/"

image=/boot/vmlinuz-2.4.20-8
label="Linux Backup"
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"


I get to the LILO graphical interface where I can choose either Red Hat 9 (my default) or Linux Backup (what I am currently having to use). When I choose the former, I get the problem previously described. Otherwise I'm fine.

Dan
 
Old 08-27-2003, 05:16 PM   #4
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Original Poster
Rep: Reputation: 15
Anybody?
 
Old 08-27-2003, 09:24 PM   #5
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
well, i'm no expert, but it sounds like LILO is working ok - you sure it's not the new kernel?
 
Old 08-27-2003, 10:47 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
I think you've got the right stuff, just in the wrong place. In general, I think you want to put the "append...." clause as a separate line, and remove the quotes around the root dir specification. Here's my lilo.conf file -- J.W.

-----------

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda7
label = Linux
read-only
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = DOS
table = /dev/hda
# DOS bootable partition config ends
 
Old 08-27-2003, 10:52 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
i noticed that in my lilo.conf file i had only one image=, the rest were other=

i suppose it could be that...
 
Old 08-27-2003, 11:54 PM   #8
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Original Poster
Rep: Reputation: 15
Well, before I edited my lilo.conf it was in an identical format barring the fact there were two more options (yet another Linux one and a DOS one) which I have deleted. I'll try juggling the stuff y'all said around and see if that works.

Dan
 
Old 08-28-2003, 12:37 AM   #9
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Original Poster
Rep: Reputation: 15
I discovered the problem. I had it labelled "Red Hat 9" and it was interpreting the 9 as the runlevel I wanted it to go to. Everything's hunky-dory now though.

Dan
 
Old 08-28-2003, 12:50 AM   #10
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
glad to hear it
 
  


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
dual boot problems, now no boot loader after fixmbr mipia Debian 2 04-04-2004 10:43 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 10:14 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 07:05 AM
Boot problems, carn't boot Linux anymore Thom_Redhat Linux - General 2 01-01-2004 09:21 AM
Boot problems, NTLDR missing but trying to boot on second hard drive Outabux Linux - Newbie 0 04-09-2003 06:29 PM


All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration