[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't compile an exact copy of kernel image.



I'm a newbie on kernel compiling, and would like to recompile the kernel
on my
machine to remove undesired drives. So, I got
kernel-source-2.2.19pre17.deb,
kernel-package.deb and gcc272_2.7.2.3-15 and followed the instructions:

0 - $ make xconfig
1 - in xconfig, loaded /boot/config-2.2.19pre17; saved and exited
2 - $ make-kpkg clean
3 - changed the Makefile, to make EXTRAVERSION = foo17 (to avoid module
problems)
4 - $ fakeroot make-kpkg --revision=foo.1.0 kernel_image
5 - (as root) # dpkg -i kernel-image-2.2.19foo17_foo.1.0_i386.deb

Everything worked just fine until now. But the old kernel image
(vmlinuz-2.2.19pre17) is 1.001.473 bytes long, and the new one
(vmlinuz-2.2.19foo17) is 1.033.565 bytes long. But the worst thing
is that the new kernle doesn't boot. What am I doing wrong??

Thanks for your attention

Gaz




Reply to: