LinuxQuestions.org
Register a domain and help support LQ
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 01-26-2004, 05:09 PM   #1
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Rep: Reputation: 15
Red Hat 9 kernel 2.6.1 problems


Ok, so I downloaded the source from kernel.org, followed DrOzz's guide, and when I rebooted, it gets to mounting the root file system, then gives me this:

Code:
mounting root filesystem
mount: error 19 mounting EXT3
pivot: pivot_root (/sysroot, /sysroot/initrd) failed:2
unmount /init/proc failed:2
Freeing unused kernel memory: 220k freed
Kernel panic: no INIT found. Try passing init= option to kernel.
What's it tryin to tell me? I patched the kernel with the bootsplash patch before compiling, and only added a coulpe options in make menuconfig, nothing that involves the init stuff... anyone got any ideas how to fix this? Im using grub, if that matters...

Scott McNeely
 
Old 01-26-2004, 05:19 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
it means you totally messed up the configureation.

have a look in the file systems section, make sure you are compiling (as a module)
all the file systems you are using / need. ESPECIALLY EXT3, and EXT2 would probably be a good idea too.
 
Old 01-26-2004, 05:22 PM   #3
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Original Poster
Rep: Reputation: 15
Ok, i can deal with re-recompiling, but how do i get to a terminal to do it in?

Scott McNeely
 
Old 01-26-2004, 05:27 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
by booting your origonal kernel
when you turn on the pc, grub should offer you option as to what to boot,
after installing your new kernel by..

make xconfig
make bzImage
make modules
make modules_install
make install

your new kernel will apear in the grub boot options, but your old kernel willstill be there.

(PLEEEEASE dont tell me you deleted your origonal kernel)
 
Old 01-26-2004, 05:27 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
here's a link that may help.

http://www.linuxquestions.org/questi...+mounting+EXT3

good luck.
 
Old 01-26-2004, 05:32 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ALSO.. is redhat 9 kernel 2.6 ready ? if not you will need to update your module-init-tools to the latest version (which it will have told you to do after comiling / installing your kernel modules (never ignore warning messages !)
 
Old 01-26-2004, 06:55 PM   #7
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Original Poster
Rep: Reputation: 15
well knoppix shows that most things in the boot folder are both for the old kernel and 2.6.1, but still neither will boot. im gonna try the system rescue from the install disks, but if that fails, is there no option but to reinstall then retry the new kernel?

i got some warnin messages when compiling, most was something was defined but not used and something about something being deprecated, but i cant remember what it was.

Scott McNeely
 
Old 01-28-2004, 10:03 PM   #8
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Original Poster
Rep: Reputation: 15
ok, ive reinstalled rh9, and recompiled the 2.6.1 kernel twice. i now get iptables to fail and usb to fail, even though i compiled UHCI (thats what 2.4 used) into the kernel... I also got a bunch of error during the module make install, mainly check_region being deprecated, something to worry about? how do i fix it?

Scott McNeely

PS i now have both 2.4 and 2.6 in grub, both boot, albeit 2.6 with troubles, thanx for the tip qwijibow!

Last edited by scm86; 01-28-2004 at 10:06 PM.
 
  


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
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 06:19 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 08:49 AM
Red Hat Kernel 2 nada Linux - Hardware 1 05-27-2003 04:05 PM
Kernel 2.4 possible with Red Hat 6.1 Magnus Linux - General 1 01-15-2001 12:58 PM


All times are GMT -5. The time now is 08:31 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