Image

Imagemrfishes wrote in Imagelinux 😯confused

kernel can't find init... but only sometimes

recently installed Debian 3.0r2 on my Compaq laptop, with the bf24 kernel (2.4.18, I believe it is). I'm using grub for my bootloader.

sometimes, the machine gets halfway through starting up, and then I get the message that the kernel can't find INIT, and I should try giving the init= argument to the kernel. I haven't quite figured out the pattern to when it does this, although I think it might be when the machine hasn't been up for a while, for example overnight or all afternoon. It'll do this sometimes 2 or 3 times before loading finally.

I've tried giving the following different kernel commands to grub, with indistinguishable results:
grub> kernel (hd0,6)/vmlinuz
grub> kernel (hd0,6)/vmlinuz root=/dev/hda7

I've even tried this one, to no avail, although I'm not entirely sure this is how it's done:
grub> kernel (hd0,6)/vmlinuz root=/dev/hda7 init=/sbin/init

none seems to work any more frequently than any of the others.

Is there any particular reason it's doing this? I've had it work on a third or later try when the first two or several exactly identical tries have not, and can't find any rhyme or rhythm to why it decides to work when it does.

x-post: Imagedebian