LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   redhat9/LILO (https://www.linuxquestions.org/questions/linux-newbie-8/redhat9-lilo-59140/)

centr0 05-10-2003 10:19 PM

redhat9/LILO
 
redhat9 fresh install and i updated using up2date. after i updated my LILO menu looks like this:

linux
2 4 20 9
linux bak
windows

my lilo.conf file:
Code:

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

image=/boot/vmlinuz-2.4.20-9

        label=LINUX2
        initrd=/boot/initrd-2.4.20-9.img
        read-only
        append="root=LABEL=/"


other=/dev/hda3
        optional
        label=windows

i edited the lilo.conf and it has 2 entries. but when i reboot i still see:

linux
2 4 20 9
linux bak
windows

as my choices. what am i doing wrong?

MasterC 05-10-2003 10:23 PM

Possibly not running "lilo" afterwards to save the changes into the MBR.

As root:
/sbin/lilo -v

Cool

centr0 05-11-2003 02:46 AM

after running:
Code:

[root@localhost root]# /sbin/lilo -v
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Mapping message file /boot/message
Boot image: /boot/vmlinuz-2.4.20-9
Mapping RAM disk /boot/initrd-2.4.20-9.img
Added LINUX2
Boot other: /dev/hda3, on /dev/hda, loader /boot/chain.b
Added windows
Fatal: No images have been defined.
[root@localhost root]#

did i miss something?

MasterC 05-11-2003 03:42 AM

It might be your Default Line since it's saying: "Linux" and you don't have an image "Linux" defined. Either change it to "LINUX2" or "windows" so it has something to point to. Then rerun lilo and see what you get...

Cool

centr0 05-11-2003 11:34 PM

worked like a charm thanks. 2 days after i reformat linux and windows im infected with a virus in windows...dammit! lol


All times are GMT -5. The time now is 08:18 PM.