On Tue 29 Jan 2002 10:56, Fergal Moran wrote:
> I cut my teeth on debian (2.2R4) over the weekend on an old HP Netserver
> (it has an integrated HP Surestore DAT which I was hoping to use for
> backups). The install was fine but I had to recompile a new kernel
> (2.4.9) to get support for the DAT drive but I am having trouble
> installing it. I notice that debian put its default kernel in / rather
> than in /boot (I have /boot on a separate partition) which confused me a
> bit as all the other distros I am familiar with put it in /boot - so I
> put my new kernel in / just to be sure (it's a bzImage if that makes a
> difference) I added the relevant bits to lilo.conf - ran /sbin/lilo which
> added the new kernel without complaining. I then rebooted and at the
> LILO prompt - selected my new kernel but it hung after
The "Debian Way" to install a new kernel is to make a package out of
it, and then install that package.
Install the "kernel-package" package (apt-get install kernel-package),
and then, to install a new kernel:
* Unpack the kernel source wherever you want.
* cd to the "linux" source directory
* configure using your preferred method (make menuconfig, make xconfig,
* run "make-kpkg kernel_image"
- this will create a kernel .deb in the directory containing the
"linux" source directory.
- you can add a revision number using e.g.: "make-kpkg --revision
* install the resulting .deb using e.g.: "dpkg -i
This will do the following:
Install the bzImage in /boot/vmlinuz-2.4.17
Install the modules in /lib/modules/2.4.17
Rename the symlink /vmlinuz to /vmlinuz.old
Symlink /boot/vmlinuz-2.4.17 to /vmlinuz
Hope this helps,
Colm Buckley : Systems Architect @ NewWorld Commerce
Business: +353 1 4334334 / colm at nwcgroup.com / http://www.nwcgroup.com/
Personal: +353 87 2469146 / colm at tuatha.org / http://www.tuatha.org/~colm/
... and these people are my vast array of unnecessary tag-alongs.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!