Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.