Kernel Compilation
Hello,
After being stuck for 3 days trying to recompile my kernel, I'm seeking
help. Guess the answer should be quite simple.
I've managed after some work to install debian on my new Dell machine
(ICH7 controller + SATA): I debootstrapped the system from Knoppix and
then installed the latest kernel 2.6.15-1-686-smp from the backports
with initramfs-tools. I need to recompile it to add support for some
hardware (not relevant here).
Unfortunately, it seems that I can't even recompile the 2.6.15-1-686
kernel with the same configuration my machine uses. The step I'm making:
apt-get install linux-source-2.6.15
unpack the sources, go to kernel sources directory
copy /boot/config-2.6.15-1-686 to .config
make bzImage
make modules
make modules_install
I copy the bzImage and System.map to boot, generate an initrd.img file using
initramfs -o /boot/initrd.img
and then reboot the machine with the new initrd image and bzImage.
The system reports it can't find my root device /dev/sda1 (which is SATA
on ICH7)
But it works with the debian kernel presumably built with the same
config file!!!
I've tried many things including compiling SATA support directly into
the kernel, using the latest build from kernel.org, but the problem
remains the same Sad(
Can someone tell me what I am doing wrong? I haven't compiled a kernel
in a couple of years, maybe that's the reason...
Thanks
Reply to: