Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help! Lilo cant find kernel to boot
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
Matthew_C
n00b
n00b


Joined: 27 Aug 2003
Posts: 6

PostPosted: Wed Aug 27, 2003 3:30 pm    Post subject: Help! Lilo cant find kernel to boot Reply with quote

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
View user's profile Send private message
Matthew_C
n00b
n00b


Joined: 27 Aug 2003
Posts: 6

PostPosted: Wed Aug 27, 2003 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Wed Aug 27, 2003 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Matthew_C
n00b
n00b


Joined: 27 Aug 2003
Posts: 6

PostPosted: Wed Aug 27, 2003 10:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Aug 28, 2003 8:23 am    Post subject: Reply with quote

did you make an own partition for /etc? afaik you mustn't do that
Back to top
View user's profile Send private message
Daemonfly
n00b
n00b


Joined: 31 Jan 2003
Posts: 46
Location: Pa - USA

PostPosted: Thu Aug 28, 2003 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Matthew_C
n00b
n00b


Joined: 27 Aug 2003
Posts: 6

PostPosted: Thu Aug 28, 2003 12:25 pm    Post subject: Reply with quote

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
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