Hello Roman Kouzmenko (<[EMAIL PROTECTED]>) wrote:
> 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 => This is when you should have run "make oldconfig" to apply the new configuration from your Debian Kernel. > make bzImage => And this is where I suggest you use kernel-package/make-kpkg instead, e.g. `fakeroot make-kpkg --revision 1.0 kernel_image`. This will create a Debian package with the kernel and modules in /usr/src. Use dpkg -i to install it. > 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) Did you reconfigure your bootloader accordingly? Did you tell it where the initrd is? Btw, if you use kernel-package, this will be done automatically. best regards Andreas Janssen -- Andreas Janssen <[EMAIL PROTECTED]> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps-sarge.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]