[vox-tech] Kernel upgrade from Sarge (fresh install) 2.4.25 -> 2.6.3 or 5

vox-tech@lists.lugod.org vox-tech@lists.lugod.org
Sat, 1 May 2004 18:37:59 -0500


> > VFS - Cannot open root device "hda1" or unknown-block(0,0)
> > Please append correct "Root=" boot option
> > Kernel panic: VFS: unable to mount root fs on unknown-block(0,0)
>
> well, this pretty much tells it all.  the kernel panics because it
> doesn't know where to find the root of your filesystem.

I sorta got that, I'm just not sure why it can't find the filesystem

> > The steps I made in building my new kernel are as follows:
> >
> > apt-get install libncurses5 libncurses5-dev make gcc g++ patch
> > apt-get install bin86 kernel-package module-init-tools
> > apt-get install kernel-source-2.6.3
>
> all this stuff is irrelevent.

irrelevent because it's obvious or it doesn't effect building the kernel?
If the later, every howto or article about building a kernel on deb has the
reader install some combo of those before they build the kernel

>
> > bunzip2 -c kernel-source-2.6.3.tar.bz2 | tar xvf
>
> this is irrelevent too.  but let me just say, that you can do this
> easier with:
>
>    tar jxvf kernel-source-2.6.3.tar.bz2

I figured tar could handle bzip2 but when I read the man page I missed it
(now when I look its right there)

> > cp /boot/config-2.4.25-1-386 .config
> > make menuconfig # didn't really do much here except make the processor
type
> > AMD
>
> whoa there.  you're kidding, right?
>
> you can't just use old .config files like that.  read the kernel
> compiling howto and do a search on oldconfig.

I've tried make oldconfig, I've tried using all the defaults, I don't know
what all the options mean (even after reading the help) nor if they apply to
me

Anyway, I tried using the prebuilt 2.6.5-k7 image and that installed and
booted fine, so I'll use it's config as a starting point, and try again

Jay