l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2004 May 01 09:07

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Kernel upgrade from Sarge (fresh install) 2.4.25 -> 2.6.3 or 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Opps, forgot to post the meat of my message

Here's the kernel panic I get (copied by hand):
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)

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
bunzip2 -c kernel-source-2.6.3.tar.bz2 | tar xvf
ln -s kernel-source-2.6.3 linux
cd linux
cp /boot/config-2.4.25-1-386 .config
make menuconfig # didn't really do much here except make the processor type
AMD
make-kpkg clean && make-kpkg -rev Custom.1 kernel_image
cd ..
dpkg -i kernel-image-2.6.3_Custom.1_i386.deb

reboot

Am I supposed to do something like:
cd /boot
mkinitrd -r /dev/hda0 -o /boot/initrd.img-2.6.3
mv /initrd.img /initrd.img-old
ln -s /boot/initrd.img-2.6.3 /initrd.img
# Change my entries in /boot/grub/menu.lst

Honestly, I don't even know what this does, it seems important, because I
had to do it when I was playing with software raid (on a different box).
What does the the initrd.img file do/contain?

Thanks
Jay



----- Original Message ----- 
From: <me@heyjay.com>
To: "vox-tech" <vox-tech@lists.lugod.org>
Sent: Saturday, May 01, 2004 9:17 AM
Subject: [vox-tech] Kernel upgrade from Sarge (fresh install) 2.4.25 ->
2.6.3 or 5


> Hi,
>
> I'm trying to upgrade my kernel on a brand new install of sarge, but after
> rebooting my kernel panics on boot.  I'd like to post the panic messages.
> How can I get the boot and panic messages from a boot that fails?  I can
> reboot into the old kernel but then the messages are gone (or I don't know
> where to look)
>
> Thanks
> Jay
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.