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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-16-2003, 06:21 PM
|
#1
|
Member
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320
Rep:
|
Lilo can't be changed
I have just recompiled the kernel and Lilo refuses to display the new kernel option. When I execute the lilo command after I edit the lilo.conf file, lilo updates itself but when I reboot the new option doesn't show up. In fact, two days ago, when I was fooling around with different OS's, Lilo refused to be uninstalled or updated. The only way to remove lilo totally was to do a low level format. How do I change the lilo boot up screen? P.S. - I don't have a floppy drive.
|
|
|
08-16-2003, 07:14 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368
|
Could you post your lilo.conf file? Also what are the names of your two kernels?
|
|
|
08-16-2003, 07:30 PM
|
#3
|
Member
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320
Original Poster
Rep:
|
boot=/dev/hda
map=/boot/map
install=menu
vga=normal
default="LinuxSMP"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuzSMP
label="LinuxSMP"
root=/dev/hda5
initrd=/boot/initrd.img
read-only
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi acpi=off"
read-only
other=/dev/fd0
label="floppy"
unsafe
The original kernel is labeled linux and the one I just recompiled is LinuxSMP
|
|
|
08-16-2003, 07:38 PM
|
#4
|
Member
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320
Original Poster
Rep:
|
As a follow-up, I even changed the lilo screen from graphical to text mode, linux confirmed that it was updated. When I rebooted, nothing was different. I think what is happening is that Lilo is being updated but for some reason the initial installed lilo isn't being affected.
|
|
|
08-16-2003, 11:49 PM
|
#5
|
Member
Registered: Feb 2003
Posts: 119
Rep:
|
Hi,
Root is being mounted on /dev/hda5 in your lilo.conf file. I notice that you have both RedHat and Mandrake listed as distributions. Are you dual booting? Do you have something on /dev/hda1 thru 4 with a lilo.conf file that is actually doing the booting?
I don't know how either distro works, but I am curious about why lilo can not be changed.
If this is such a newbie question that the answer is obvious, then nevermind.
|
|
|
08-17-2003, 12:27 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368
|
One problem that I see is that you have specified vga= twice. The vga parameter should be among the global parameters at the beginning. I think that vga=788 being placed in an image section is an error but I don't know whether that problem is the main problem or a side issue.
|
|
|
08-17-2003, 01:14 PM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
How's about which drive is booting (if you have more than 1)? In your BIOS make sure you are booting from hda (Primary Master), and using fdisk -l confirm which partition is your bootable partition.
Cool
|
|
|
08-17-2003, 02:54 PM
|
#8
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368
|
It is possible that the problem is in the /boot directory. Is /boot/vmlinuzSMP really the kernel called "LinuxSMP" and is
/boot/vmlinuz really the kernel called "linux". Maybe you have the same kernel installed twice under two different names. Maybe you have a symlink from one kernel name to the next. Are the two kernels in /boot both the same size? If so they are probably the same code.
|
|
|
08-17-2003, 02:56 PM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Even if all those things were 'wrong' either lilo would complain and not complete installing to the MBR, and/or the screen would still change and list the new kernel, it would boot and all, just would be booting up the old kernel.
I'm a bit confused, but leaning towards drive configuration problem.
Cool
|
|
|
08-17-2003, 05:20 PM
|
#10
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Only a guess - but personally I'd try putting these two directives in the image entry for your new kernel aswell
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
(you can have a VGA mode in an image entry)
Also I'd try changing this line
install=menu
to
install=/boot/boot.b
|
|
|
08-20-2003, 05:52 PM
|
#11
|
Member
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320
Original Poster
Rep:
|
Thanks guys. I managed to fix it. I was being lazy and using a GUI to configure Lilo so it was suppressing an important configure error. I used the console and realized what I did and fixed it right up.
|
|
|
All times are GMT -5. The time now is 08:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|