LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2004, 12:21 AM   #1
anti_trend
Member
 
Registered: Nov 2003
Location: SoCal, USA
Distribution: Mandriva 2006, CentOS 4.2
Posts: 36

Rep: Reputation: 15
Question 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!
 
Old 08-22-2004, 12:34 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

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

regards
 
Old 08-22-2004, 12:41 AM   #3
anti_trend
Member
 
Registered: Nov 2003
Location: SoCal, USA
Distribution: Mandriva 2006, CentOS 4.2
Posts: 36

Original Poster
Rep: Reputation: 15
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!
 
Old 08-22-2004, 01:39 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there
have a look here

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

regards
gaurav
 
Old 08-22-2004, 01:42 AM   #5
anti_trend
Member
 
Registered: Nov 2003
Location: SoCal, USA
Distribution: Mandriva 2006, CentOS 4.2
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for all your help so far. I'll give that a try and see if I can make any progress...

-AT
(Chris)
 
Old 08-22-2004, 01:59 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-22-2004, 04:02 AM   #7
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
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
 
Old 08-22-2004, 04:09 AM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-22-2004, 04:40 AM   #9
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
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
 
Old 09-04-2004, 10:43 PM   #10
anti_trend
Member
 
Registered: Nov 2003
Location: SoCal, USA
Distribution: Mandriva 2006, CentOS 4.2
Posts: 36

Original Poster
Rep: Reputation: 15
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)?
 
Old 09-04-2004, 11:14 PM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel does not boot with 2.4.21 after installing modutils-3.0 vkrishn1 Linux - Software 4 01-26-2005 12:43 AM
SuSE 9.1 Personal - having trouble installing kernel source sfmusicman Linux - Distributions 4 12-29-2004 06:57 PM
Trouble installing SuSE 9.1 Personal -- No boot disk images Glorp Linux - Newbie 3 10-23-2004 04:25 AM
Trouble with installing 2.4.24 kernel MasterKin8T Linux - Newbie 1 01-27-2004 06:05 AM
Installing MDK 9.1 with custom BOOT kernel n03lm Mandriva 1 09-04-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration