PDA

View Full Version : lilo booting "file not found"



hickorynut01
09-27-2003, 09:48 PM
I have win98se on partition 1,
knoppix on partition 2, swap on partition 3.
Turn on machine, lilo comes up, default is set to windows
partition. If I choose knoppix, it boots fine. If I choose
windows or just let it time-out and boot windows, I get
the following message.
Loading hda1
Starting Windows 98
File not found

It then continues and loads win98se fine. I would like to know
how to edit out the file that it isn't finding just to get rid
of the "file not found" msg. Where is the file that lilo uses
and where is it? I looked in the lilo config file but I'm afraid
to mess with it much. All I have done is use fips to partition
the disk and then use knoppix cd to install knoppix. Then I
edited the lilo file to make windows the default (for the
wife). No biggie, I just like for things to load and run without
errors. Thanks. Please excuse my lack of knowledge.
kenny

fingers99
09-27-2003, 10:23 PM
Kenny, do you think you could post your /etc/lilo.conf here?

Sounds like you have two lines calling Windows. Should be simple enough to correct.

hickorynut01
09-28-2003, 01:09 AM
vga=791

lba32

boot=/dev/hda

root=/dev/hda2

install=/boot/boot-menu.b

map=/boot/map

delay=20

prompt
timeout=150

append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

default="Windows(hda1)"

image=/boot/vmlinuz-2.4.22-xfs
label=Linux

read-only


image=/vmlinuz.old
label=LinuxOLD
read-only
optional


other=/dev/hda1
label="Windows(hda1)"

(I cut "Windowns(hda1)" from
the last line and pasted it up
in the default line, that is the
only change I've made to the file.
When I copied and pasted it here I
deleted the # lines to save space.)
Thanks for taking a look.
kenny

RockMumbles
09-28-2003, 10:07 PM
I may be missing something, but the only thing that looks questionable to me is the quotes and maybe the parenthesis, I would edit your /etc/lilo.conf file (after backing it up) and change:

default="Windows(hda1)"
and
label="Windows(hda1)"

to:
default=Windows
and
label=Windows

and see if that gets rid of the error.
Note: in linux if an error doesn't cause problems it may be best to ignore it!

HTH

~rock

hickorynut
09-30-2003, 09:31 PM
Rock,
Tried your suggested changes, didn't work.
Now I'm going with your last comment and just ignore the error since
it works!
thanks for replying. Moving on to my next problem.....getting
a logitech webcam to work. Might save that for a loooong weekend!