LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem with Lilo not updating (yes I ran lilo after changing the conf) (http://www.linuxquestions.org/questions/linux-general-1/problem-with-lilo-not-updating-yes-i-ran-lilo-after-changing-the-conf-3669/)

webguy 06-24-2001 05:53 PM

Problem with Lilo not updating (yes I ran lilo after changing the conf)
 
I'm completely baffled by this and I'm hoping someone else has had this happen and knows how to fix it. =)

Basically here's what I've done. I installed RedHat 7.1 but the kernel didn't support NTFS. So I went and got kernel 2.4.5 and recompiled it for NTFS support. So I went into my /etc/lilo.conf file like normal and added the new image, keeping my old one of course. Here's what the conf looks like now:


boot=/dev/hdd5
map=/boot/map
install=/boot/boot.b
prompt
vga=ask
lba32

image=/boot/vmlinuz-2.4.2-2
label=FAILSAFE
initrd=/boot/initrd-2.4.2-2.img
read-only
root=/dev/hdd5

image=/boot/vmlinuz
label=linux-2.4.5
read-only
root=/dev/hdd5


That having been said, you can see that the old image is labeled FAILSAFE and the new one linux-2.4.5.

So, I then run lilo and it tells me it added both images. No problem right? I reboot and I get that lame RH graphcal lilo interface (which, btw, if you notice, I removed the "message=" line from the conf file and STILL get that screen) and upon getting the GUI for lilo I have but one choice: linux. That's the old kernel, 2.4.2-2 btw.

It seems that lilo isn't updating something properly, or RedHat has some proprietary boot loader going instead of lilo. I went ahead and updated lilo with the latest RPM, thinking it would overwrite the RH version but to no avail.

Does ANYONE have any freakin idea why this is happening? I'm need my NTFS! =) Thanks a bunch.

mcleodnine 06-24-2001 06:25 PM

Try
Code:

boot=/dev/hdd
without the partition number. Then re-run lilo.

webguy 06-24-2001 08:12 PM

Well I'm a moron. Thanks for the help, but the real problem is that I have CRS. =)

I forgot that I'm using Win2k's boot loader and that I have to transfer the boot sector to Windows for booting. Ack, it must be time to unplug. =)


All times are GMT -5. The time now is 10:47 PM.