Kernel 2.6.9 issues...
Kurt Wall
kwall
Tue Oct 26 08:38:40 PDT 2004
On Tue, Oct 26, 2004 at 05:57:58AM -0700, Shawn Tayler took 22 lines to write:
> On Mon, 25 Oct 2004 15:48:13 -0500 (EST) Net Llama!
> <netllama at linux-sxs.org> exclaimed:
>
> > Why are you doing 'make bzImage'? That sort of thing died with the 2.4.x
> > kernel. You're supposed to do:
> > make [menu|x|old|...]config
> > make
> > make modules_install
> >
> > that's it.
>
> Interesting point. This is one of the things that has bothered me about
> 2.6. Does 2.6 mean I have to manually copy the image file to my prefered
> kernel location and run lilo? The make install never seemed to work for
> me, I always have to issue a "make bzlilo" after make to actually get a
> kernel.
You can use your own custom script. After the kernel builds, I execute it
using "sudo." The script I use is simple and not terribly robust, but it
WFM:
--- cut ---
#!/bin/bash
function cpfile()
{
echo -ne "Installing $1..."
cp $1 /boot/$2
echo "done"
}
if [ -z "$1" ]; then
echo "USAGE: install.sh VERNUM"
exit
else
ver=$1
fi
echo -ne "Installing modules..."
make modules_install > /dev/null 2>&1
echo "done"
cpfile arch/i386/boot/bzImage vmlinuz-$ver
cpfile .config config-$ver
cpfile vmlinux vmlinux-$ver
cpfile System.map System.map-$ver
echo -ne "Updating LILO..."
lilo > /dev/null 2>&1
echo "done"
--- cut---
Kurt
--
Cleaning your house while your kids are still growing is like
shoveling the walk before it stops snowing.
-- Phyllis Diller
More information about the Linux-users
mailing list