Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo image can't be found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Lyrikles
n00b
n00b


Joined: 30 Apr 2003
Posts: 35
Location: Auburn, WA

PostPosted: Wed Apr 30, 2003 11:50 pm    Post subject: Lilo image can't be found Reply with quote

After making the lilo.conf file, i did /sbin/lilo but it came up with:
Code:
Fatal: open /boot/vmlinuz-2.4.20: No such file or directory

First of all, i thought it was kind of wierd that i couldn't find the lilo.conf file, so i made my own. Was there supposed to be one already?
Second, how can i fix my problem with the error?

Also, since i have Redhat 9.0 already installed, do I even need lilo installed on Gentoo? Thx
Back to top
View user's profile Send private message
]Trix[
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 184

PostPosted: Thu May 01, 2003 12:16 am    Post subject: Reply with quote

You dont need lilo if you already have it in the RedHat. About the error i suggest you check your lilo.conf file in redhat. I think that all you need to do is to add directives for another kernel and another root in redhat lilo.
Back to top
View user's profile Send private message
elwoodthegreat42
n00b
n00b


Joined: 01 May 2003
Posts: 2

PostPosted: Thu May 01, 2003 7:09 am    Post subject: Similar Problem Reply with quote

I'm trying to triple boot now: Windows XP, Mandrake 9.1 and Gentoo.
When I went to load lilo in the install, I hit the same error.
Now, back in Mandrake, I can't seem to get the correct entry in lilo.conf to boot Gentoo.
Any suggestions?
Back to top
View user's profile Send private message
cael
n00b
n00b


Joined: 29 Apr 2003
Posts: 37

PostPosted: Thu May 01, 2003 7:58 pm    Post subject: Reply with quote

What's the name of your newly built kernel? Did you move it to the root directory of your boot partition (that you mounted to /boot)?

Someone please correct me if I'm wrong, but if you didn't rename your image after building your kernel, that path in /etc/lilo.conf should probably be '/boot/bzImage'.

Good luck,

Cael
Back to top
View user's profile Send private message
bacarditnt
n00b
n00b


Joined: 02 May 2003
Posts: 1

PostPosted: Fri May 02, 2003 4:48 pm    Post subject: Reply with quote

I'm having the same problem. And pointing to path bzImage did not work.
Lilo did work when rebooting cause I could boot the other OS. Any othe suggestions please post. Thanks Here is what I'm experiencing:

I’m 95% intalling Gentoo but I’m stuck in the Bootloader process with lilo.
First I need to know why the kernel is not showing on my system even though I compiled it. In lilo I have to set
image=/boot/vmlinuz-2.4.20
How do I find the kernel running In my system. I check the /boot/ directory and see no vmlinuz?
When I enter /sbin/lilo this is the error:
Fata: open /boot/vmlinuz-2.4.20: No such file or directory.
Back to top
View user's profile Send private message
cael
n00b
n00b


Joined: 29 Apr 2003
Posts: 37

PostPosted: Fri May 02, 2003 6:06 pm    Post subject: Reply with quote

I'm also a noob, but (unlike other bits) this part of the install makes perfect sense to me.

Unless your image is named 'vmlinuz-2.4.20' and located in the root of your boot partition (mounted to /boot/ during the preliminary install process) then of course lilo won't be able to find it.

If you compiled your own kernel following the instructions, then you did this:

Code:

# cd /usr/src/linux
# make menuconfig
# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot


That means you generated a boot image called 'bzImage' and copied it to your boot partition. Unless you subsequently renamed your image from 'bzImage' to something else, your lilo.conf should definitely contain the line:

Code:

image=/boot/bzImage
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 02, 2003 7:09 pm    Post subject: Reply with quote

As i suggest in another post :

Try do that with your kernel compile
make dep
make bzImage
make modules
make modules_install
make install <--- This one set up lilo for you !

hope this help
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 02, 2003 7:12 pm    Post subject: Reply with quote

:oops: also the simpler is sometimes the fastest !

Did you check that you have mount /boot before working on it ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum