LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-16-2003, 06:21 PM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
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.
 
Old 08-16-2003, 07:14 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
Could you post your lilo.conf file? Also what are the names of your two kernels?
 
Old 08-16-2003, 07:30 PM   #3
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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
 
Old 08-16-2003, 07:38 PM   #4
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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.
 
Old 08-16-2003, 11:49 PM   #5
dowmun
Member
 
Registered: Feb 2003
Posts: 119

Rep: Reputation: 15
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.
 
Old 08-17-2003, 12:27 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
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.
 
Old 08-17-2003, 01:14 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-17-2003, 02:54 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
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.
 
Old 08-17-2003, 02:56 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-17-2003, 05:20 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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
 
Old 08-20-2003, 05:52 PM   #11
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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.
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
Changed normal debian to hard disc version of knoppix - lilo config bigjohn Debian 13 10-04-2003 02:39 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM

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

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