[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling the Kernel



On Monday 04 October 2004 08:31, Mark Maas wrote:
> Hi All,
>
> I've been trying to compile a kernel for a while now, followed some
> different routes, reinstalled the machine a couple of times to try
> booting in different FileSystems.
>
> I followed how-to's like this one:
> <http://www.desktop-linux.net/debkernel.htm> and others, But time
> and time again, i run into "Kernel Panic: unable to mount root fs."
>
> Well, my file system is ext3, and I compiled it into the kernel, not
> as a module or nothing. Actually it is the ONLY change I made in the
> whole kernel compile.
>
> I left everything else the way it was, and used the stock config
> file for kernels.
>
> I'm missing something, but searching with google, only tells me to
> compile the used file system in or to build a initrd image.
> <http://www.google.com/search?q=debian+compile+kernel++unable+to+mount+root
>+fs.&sourceid=firefox&start=0&start=0&ie=utf-8&oe=utf-8>
>
> Can anyone tell me what i'm missing, or perhaps show me howto's?

You probably need initrd, so that you can load in the drivers to mount your 
'real' filesystem. That is what happened to me on a machine with a SATA drive

so something like

make-kpkg --initrd kernel_image

might work.

>
> Thanks,
> Mark

-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------



Reply to: