LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-10-2003, 11:19 PM   #1
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
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?
 
Old 05-10-2003, 11:23 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Possibly not running "lilo" afterwards to save the changes into the MBR.

As root:
/sbin/lilo -v

Cool
 
Old 05-11-2003, 03:46 AM   #3
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
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?
 
Old 05-11-2003, 04:42 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 05-12-2003, 12:34 AM   #5
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
worked like a charm thanks. 2 days after i reformat linux and windows im infected with a virus in windows...dammit! lol
 
  


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
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
RedHat9.0 Critical updates changing lilo.conf daleswankz Linux - Newbie 3 08-19-2003 11:48 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


All times are GMT -5. The time now is 01:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration