Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"init not found" with 2.4.22, 2.6.0 works fine
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
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue Nov 11, 2003 7:51 pm    Post subject: "init not found" with 2.4.22, 2.6.0 works fine Reply with quote

I've got 2.6.0 on a machine working, but I'm not so happy with it because of kernel panics because of interrupt-problems. So I'd like to switch back to 2.4.22. Okay, now the problem: Because of the too big harddrive (not recognized by bios) I have to boot of floppy (did a grub bootdisk, 2.6.0 kernel loads fine). I compiled 2.4.22 (yes, I said "automatically mont at boot" to devfs), copied it to that disk, kernel loads fine, but then:
Code:
Kernel panic. init not found. Pass init= option to the
kernel.

So I did mkinitrd on another machine, copied the file to my boot-floppy, and passed init=/bla to my kernel in grub.conf - same error. So what to do? How can I boot 2.4.22 from my floppy?
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Wed Nov 12, 2003 7:56 am    Post subject: Reply with quote

Also tried creating a bootdisk with "dd" and "rdev" for 2.4.22, same problem. Can't be that difficult creating a bootdisk for 2.4.22, right?
Back to top
View user's profile Send private message
eunuque
n00b
n00b


Joined: 19 Aug 2003
Posts: 62

PostPosted: Wed Nov 12, 2003 6:57 pm    Post subject: Reply with quote

I have the same problem as you with my 2.4.22 kernel.
The surprising thing is that this error doesn't happened with the gentoo
kernel. Here is part of my grub.conf:

Code:
title=Kernel 2.4.22
root (hd0,0)
kernel (hd0,0)/boot/kernel_2.4.22 root=/dev/hda3
initrd (hd0,0)/boot/initrd

title=Kernel Gentoo 2.4.20 custom
root (hd0,0)
kernel (hd0,0)/boot/gentoo_custom root=/dev/hda3
initrd (hd0,0)/boot/initrd


The Gentoo kernel boots fine whereas the 2.4.22 gives my the
same error as you.
It makes my think that it may come from a kernel compile option,
or a patch applied to the Gentoo kernel.
I heard about the CONFIG_VT stuff in the kernel options, which I
enabled but it still doesn't work.

Do you know more about it?
Back to top
View user's profile Send private message
eunuque
n00b
n00b


Joined: 19 Aug 2003
Posts: 62

PostPosted: Wed Nov 12, 2003 11:07 pm    Post subject: Reply with quote

Have you tried the --nopivot option of mkinitrd ?
I got the same message as you and the problem was that my reiserfs fs was not recognized without this option.
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Fri Nov 14, 2003 3:52 pm    Post subject: Reply with quote

Well, another thing for mkinitrd: It needs something from /lib/modules/version, right? Well, my kernel has no modules in it so normally doesn't create this dir. So what to do? Just compile some modules I don't need?
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