[svlug] New kernel won't boot

Shija Alpheraz nshija at yahoo.com
Sat Oct 14 16:25:02 PDT 2000


Hi, 

I'm trying to install a 2.0.38 kernel on my home
firewall machine.  (the 2.2.10 got hacked, so I'm
going back to the 2.0 lineage)  So, I got it to
compile, moved the image to /boot/vmlinuz-2.0.38,
pointed lilo at it, etc.  Everything seems fine.  When
I choose my new entry at the lilo prompt, I get 2
lines;

Loading linux ............
Uncompressing kernel.. Done

then the machine just reboots - back to the RAM count.

Am I doing something really dumb here?  My current
theory is that I've just selected options in my "make
menuconfig" that are so out of whack with my hardware,
that the kernel I've built just can't get off the
ground.  However, I keep going back to my config and
looking it over, and nothing seems grossly incorrect. 
I tried a few variants, and everthing I've built does
the same thing.  I've read the README that came with
the source, and the LDP Kernel-HOWTO...

Here are my steps:

cd /usr/src
rm linux
tar xfvz linux-2.0.38.tar
mv linux linux-2.0.38
ln -s linux-2.0.38 linux
cd linux
make menuconfig
make dep
make clean
make bzImage
make modules
cp arch/i386/boot/bzImage /boot/vmlinuz-2.0.38
cp System.map /boot/System.map-2.0.38
make modules_install
vi /etc/lilo.conf
lilo
shutdown -r now


where my lilo.conf is:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=150
image=/boot/vmlinuz
	label=linux
	root=/dev/hda1
	read-only
image=/boot/vmlinuz-2.0.38
	label=linux-new
	root=/dev/hda1
	read-only
 
(where the first entry is the old, working one, and
/boot/vmlinuz is a symlink to /boot/vmlinuz-2.0.30)

Is there anything glaringly obvious where I've gone
wrong?  I can provide my hardware details, and my
.config if that's the right road.

The 2.0.30 came from the plain RedHat 4.2 install, and
I don't know what config options it used.  The sources
for 2.0.30 that were installed obviously were not
customized even as far as the input I'd provided in
during the install.

It's been about 1.5 years since I've built a working
kernel, so I guess my skills get rusty with non-use.

Shija


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




More information about the svlug mailing list