View previous topic :: View next topic |
Author |
Message |
Lyrikles n00b
Joined: 30 Apr 2003 Posts: 35 Location: Auburn, WA
|
Posted: Wed Apr 30, 2003 11:50 pm Post subject: Lilo image can't be found |
|
|
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 |
|
|
]Trix[ Apprentice
Joined: 27 Feb 2003 Posts: 184
|
Posted: Thu May 01, 2003 12:16 am Post subject: |
|
|
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 |
|
|
elwoodthegreat42 n00b
Joined: 01 May 2003 Posts: 2
|
Posted: Thu May 01, 2003 7:09 am Post subject: Similar Problem |
|
|
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 |
|
|
cael n00b
Joined: 29 Apr 2003 Posts: 37
|
Posted: Thu May 01, 2003 7:58 pm Post subject: |
|
|
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 |
|
|
bacarditnt n00b
Joined: 02 May 2003 Posts: 1
|
Posted: Fri May 02, 2003 4:48 pm Post subject: |
|
|
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:
Im 95% intalling Gentoo but Im 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 |
|
|
cael n00b
Joined: 29 Apr 2003 Posts: 37
|
Posted: Fri May 02, 2003 6:06 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 02, 2003 7:09 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 02, 2003 7:12 pm Post subject: |
|
|
also the simpler is sometimes the fastest !
Did you check that you have mount /boot before working on it ? |
|
Back to top |
|
|
|