LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble installing kernel 2.6.8.1 -- won't boot (https://www.linuxquestions.org/questions/linux-software-2/trouble-installing-kernel-2-6-8-1-wont-boot-220790/)

anti_trend 08-22-2004 12:21 AM

Trouble installing kernel 2.6.8.1 -- won't boot
 
Hey all. I'm trying to run the pristine 2.6.8.1 kernel with Mandrake 10.0 (AMD64) Official. I can configure, build and install the kernel & modules without any errors. However, when I actually attempt to boot to the new image, I get the following:
Code:

Mounting root filesystem
mount: error 6 mounting ext3 flags defaults
well, retrying read-only without the option flag
mount: error 6 mounting ext3
well, retrying without any flags
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Remounting devfs on /dev
Freeing unused kernel memory: 164k freed
Kernel panic: No init found. Try passing the init= option to the kernel

I'm pretty new to Linux, but I have successfully compiled custom kernels in the past. However, it has been some time, and I may have missed a simple step. Perhaps even something I'm completely unaware of when building & installing the 2.6.8 kernel? In any case, I'd really appreciate any help or insight!

masand 08-22-2004 12:34 AM

hi there
did u upgrade ur modutils pack from kernel.org
also did ui build ur initrd image

regards

anti_trend 08-22-2004 12:41 AM

Quote:

Originally posted by masand
hi there
did u upgrade ur modutils pack from kernel.org
also did ui build ur initrd image

Hmm, I did build my initrd image of course, and referred to it properly (I think) in my bootloader. But I didn't update my modutils, so that could be the problem indeed! I've never had occasion to update my modutils before, any pointer on how to go about doing that? Thanks!

masand 08-22-2004 01:39 AM

hi there
have a look here

http://www.kernel.org/pub/linux/utils/kernel/

regards
gaurav

anti_trend 08-22-2004 01:42 AM

Thanks for all your help so far. I'll give that a try and see if I can make any progress...

-AT
(Chris)

masand 08-22-2004 01:59 AM

hi there
what more u can do is
while compiling ur kernel
compile first from a config file of the working kernel of 2.6
and then start removing things which we do not require that is more easy than to chose option which we require.

regards
gaurav

RestInPieces 08-22-2004 04:02 AM

either you didn't compile the ext3 support in the kernel or you passed the wrong argument to your bootloader... in your bootloader's config file ,see if the "root=" is the same with your Linux partition :)

masand 08-22-2004 04:09 AM

Quote:

Originally posted by RestInPieces
either you didn't compile the ext3 support in the kernel or you passed the wrong argument to your bootloader... in your bootloader's config file ,see if the "root=" is the same with your Linux partition :)

hi there

what i think is that the above problem has been caused most likely by the modutils package

i too have faced such a problem for a no. of times nad in my case it was because of the modutils

as far as ext3 mounting is concerned i think the kernel has to compiled with inbuilt support not of modular suppport or i think it can report some errors too...


regards
gaurav

RestInPieces 08-22-2004 04:40 AM

i had the same error when i didn't suply lilo with the good "root=" partition.As for the ext3 filesistem support.. i didn't really undestand what you just said...but this is not supported by default in the kernel... and if you modularise it it won't work :D

anti_trend 09-04-2004 10:43 PM

Quote:

Originally posted by masand
hi there

what i think is that the above problem has been caused most likely by the modutils package

i too have faced such a problem for a no. of times nad in my case it was because of the modutils

as far as ext3 mounting is concerned i think the kernel has to compiled with inbuilt support not of modular suppport or i think it can report some errors too...


regards
gaurav

Well, I did pass LILO a good boot= param, and I did compile EXT3 into the kernel (not modular). It could be due to an outdated modutils, I guess. If so, exactly how do I go about updating my modutils (assuming I use the latest from kernel.org)?

masand 09-04-2004 11:14 PM

hi there

http://www.kernel.org/pub/linux/utils/kernel/

will give u the modutils package
get the latest one from there
if u r using mandrake,uninstall the older one

rpm -e modutils

and install this new modutils either building from .src.rpm or .tar.gz/bz2 packages

regards


All times are GMT -5. The time now is 09:44 PM.