LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2005, 12:28 AM   #1
pas
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Rep: Reputation: 0
Error after rebuilding linux kernel


Hello,

I trying to rebuilding my linux kernel. I am using redhat 9.0 anaconda 2.6.11.
After I finish rebuilding the kernel, I restart the machine and choose the new kernel version. But, I got the following errors:
mounting root filesystem
mount: error 19 mounting ext3
pivotroot= pivot_root (/sysroot, /sysroot/initrd) failed:2
umount /initrd/proc failed:2
freeing unused kernel memory: 196k freed
kernel panic - not syncing: not init found. Try passing init= option to kernel

Thank you.
 
Old 05-14-2005, 01:23 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Does your new kernel require an initrd to load the modules necessary to mount the root partition? Based on your message, it looks like it can't mount the root filesystem, which usually means that you didn't build support for it into the kernel. Also the references to /sysroot and pivot-root suggest an initrd. You should read the mkinitrd man page for info on creating and initrd for the kernel to use during boot. Personally, though, for custom compiles I just build the filesystem stuff directly in so I don't have to worry about it.
 
Old 05-14-2005, 02:42 PM   #3
pas
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
What should I do to fix the problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error after rebuilding linux kernel pas Red Hat 1 05-16-2005 12:53 AM
raid rebuilding error wedgeworth Linux - Hardware 0 09-05-2003 02:21 PM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM
Problems Rebuilding a kernel slayer0605 Linux - General 4 02-28-2003 05:57 AM
Rebuilding the kernel decster Linux - General 9 09-23-2002 06:42 AM


All times are GMT -5. The time now is 09:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration