View previous topic :: View next topic |
Author |
Message |
Matthew_C n00b
Joined: 27 Aug 2003 Posts: 6
|
Posted: Wed Aug 27, 2003 3:30 pm Post subject: Help! Lilo cant find kernel to boot |
|
|
Hi all,
I have just installed gentoo and I got to the part where i emerged lilo, and then i configured in like this b/c i used the genkernel:
boot=/dev/hda2 (my boot partition IS hda2, hda1 is win98 install)
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=linux
image=/boot/kernel-1.4
label=gk_linux
root=/dev/hda3
initrd=/boot/initrd-1.4
append="root=/dev/ram0 init=/linuxrc"
other=/dev/hda1
label=Win98SE
But when i run lilo it says it cand find /boot/kernel-1.4
And when i go to the /boot directory i dont see it either, but i DID install the genkernel as per the instructions. my boot directory looks like:
boot boot-bmp.d boot-menu.b boot-text.b boot.0300 boot.b
chain.b grub.b mbr.b os2_d.b
Any help would be appreciated,
Matthew |
|
Back to top |
|
|
Matthew_C n00b
Joined: 27 Aug 2003 Posts: 6
|
Posted: Wed Aug 27, 2003 8:23 pm Post subject: |
|
|
Anybody? I just confirmed that I did indeed have the boot partition mounted when I emerged lilo. Do i have to copy the kernel image to the /boot partition from somewhere else?
~Matthew |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Wed Aug 27, 2003 9:39 pm Post subject: |
|
|
Quote: |
Do i have to copy the kernel image to the /boot partition from somewhere else?
|
genkernel does this for you. as i didn't use genkernel before, i don't know if it needs /boot to be mounted or does this by itself.
the problem could be that kernel compilation was not successful. what does /var/log/genkernel.log tell you? are there any errors?
if it was successfull, you should find the kernel in /usr/src/linux/arch/i386/boot/bzImage. you can copy it to boot then. |
|
Back to top |
|
|
Matthew_C n00b
Joined: 27 Aug 2003 Posts: 6
|
Posted: Wed Aug 27, 2003 10:55 pm Post subject: |
|
|
Thanks for the help, I re-compiled the kernel and now its working! Unfortunately now i have the problem of when i launch gentoo from lilo, it initializes down to the last part and then i get a message that says something about "Bummer, could not run '/etc/init.d/rcS' No Such File Or Directory, press enter for this console" I do that thinking this console was gentoo, but there isnt even an emerge command available. any ideas?
~Matthew |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Aug 28, 2003 8:23 am Post subject: |
|
|
did you make an own partition for /etc? afaik you mustn't do that |
|
Back to top |
|
|
Daemonfly n00b
Joined: 31 Jan 2003 Posts: 46 Location: Pa - USA
|
Posted: Thu Aug 28, 2003 8:38 am Post subject: |
|
|
I had the same problem when I did genkernel with Grub. Went back, decided to do a custom compile, manually copied, and it worked fine.
Perhaps a bug with genkernel? |
|
Back to top |
|
|
Matthew_C n00b
Joined: 27 Aug 2003 Posts: 6
|
Posted: Thu Aug 28, 2003 12:25 pm Post subject: |
|
|
Thanks both of your for your help, I am going to try compiling a custom kernel today instead. Hopefully its not beyond my rudementtary linux knowledge
~Matthew |
|
Back to top |
|
|
|