Linux Debian support - Problems getting alternative 2.6.x kernels onto Debian/GRUB

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > April 2005 > Problems getting alternative 2.6.x kernels onto Debian/GRUB





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems getting alternative 2.6.x kernels onto Debian/GRUB
leftofblue

2005-04-04, 10:44 pm

My Debian install was a from Sarge, I then used
the Synaptic package manager and selected the following:

kernel-doc-2.6.8
kernel-headers-2.6.8-2
kernel-headers-2.6-8-2-686-smp
kernel-image2.6-686-smp
kernel-image-2.6.8-2-686-smp
kernel-kbuild-2.6-3
kernel-packages
kernel-patch-debian-2.6.8
kernel-source-2.6.8
kernek-tree-2.6.8
bin86 (this may already have been set)

The system upgrade now has me running a working 2.6.8-2-686-smp kernel (I am running on a dual P-III 600 system).

It installed a file /usr/src/kernel-sources-2.6.8.tar.bz2, which I uncompres sed and build. That seemed to build OK.

# cd kernel-sources-2.6.8
# make oldconfig
# make menuconfig
# make bzImage
# make modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.8
# cp System.map /boot/System.map-2.6.8
# mkinitrd –o /boot/initrd.img-2.6.8

I added the following to the /boot/grub/menu.lst file
title Debian modified Linux, kernel 2.6.8
root (hd0,0)
kernel /boot/vmlinuz-2.6.8 root=/dev/hdc1 ro single
initrd /boot/initrd.img-2.6.8
savedefault
boot
(not sure if this matters if its in the reserved area or not, tried both)

When I reboot and select my kernel from the GRUB menu (I dont use lilo), I get the same error I saw on a different post: message657103

Could not load modules /lib/modules/2.6.8/modules.dep

In general, the file size and layout in /boot for my kernel 2.6.8 are very close to the automatically loaded one 2.6.8-2, and the same goes for my /lib/modules/2.6.8 directory compaired to the automatically generated /lib/modules/2.6.8-2-686-smp directory

Any suggestions? Is this a library problem, or a build problem or a messed up mkinitrd ?

I was planning on getting this (debian provided kernel) working, then upgrading to a 2.6.10 or 2.6.11 kernel from kernel.org.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com