LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 9 kernel 2.6.1 problems (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-9-kernel-2-6-1-problems-138947/)

scm86 01-26-2004 04:09 PM

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

qwijibow 01-26-2004 04:19 PM

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.

scm86 01-26-2004 04:22 PM

Ok, i can deal with re-recompiling, but how do i get to a terminal to do it in?

Scott McNeely

qwijibow 01-26-2004 04:27 PM

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)

Peacedog 01-26-2004 04:27 PM

here's a link that may help.

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

good luck.

qwijibow 01-26-2004 04:32 PM

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 !)

scm86 01-26-2004 05:55 PM

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

scm86 01-28-2004 09:03 PM

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!


All times are GMT -5. The time now is 02:08 PM.