LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Making new kernel (https://www.linuxquestions.org/questions/linux-newbie-8/making-new-kernel-279139/)

bstempi 01-17-2005 11:33 PM

Making new kernel
 
Hi guys!
I decided to try openMosix. I downloaded a plain old kernel from kernel.org (version 2.4.20 should you care). I then patched the kernel with the patch distributed from openmosix.sf.net. I make a script that recompiles my kernel for me.
The kernel, using my old config, compiled fine. I made sure to run mkinitd. When I try to boot the new kernel, problems arise.....I get an error at the tail end of the boot saying "cannot find rootfs on "/" or "hd0:0"

Now, the other 2 kernels I have boot fine. All 3 have a line that say root(hd0:0), so I don't think that's it. BUT, I remembered something....my boot partition is on hda1, while the root FS is on hdb1. I thought that may have soemthing to do with this, so I changed the openmosix kernel to read "root(hd1:0)" with no luck. Is there a kernel option I overlooked? What are some possible reasons that it cannot boot my root FS? Any and all help is greatly appreciated.

__J 01-17-2005 11:39 PM

did you add the line for the initrd to load in the bootloader configuration?

also what file system are you using and is the support for it as a module or built-in?

bstempi 01-17-2005 11:46 PM

well, I used make oldconfig, so I assume that EXT3 (the fs being used) got included, but I have no clue as to whether or not it was a module or actually part of the kernel. I have tried building multiple times, both with ETX3 as a module and as a direct include. No luck either way.

The line for the initrd is right after the kernel like, just as it appears in the other 2 configs.

amosf 01-18-2005 02:35 AM

Always a safer bet to include your root fs in the kernel and not as a module... Default configs tend to have it as a module.


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