Re: manual kernel recompile vs make-kpkg
I've set a few defaults via the conffile:
adric@glitch[~]$ egrep -v "(^#|^$)" /etc/kernel-pkg.conf
maintainer := Gregory T. Norris
email := haphazard@socket.net
priority := Low
debian := custom.1
kimage := bzImage
That being done, I proceed as follows:
untar ; make *config
make-kpkg clean
fakeroot make-kpkg binary
dpkg -i kernel-image*.deb
> Another question is what exactly is the difference between bzimage and
> zimage, and which one should I be using?
bzImage kernels get uncompressed into protected-mode memory, while
zImage kernels are uncompressed in real-mode, and then relocated into
protected-mode memory after the kernel gains control. Basically this
means that zImage kernels MUST load and uncompress fully in the lower
640KB.
It's generally recommended that you stick with bzImage, unless you have
a system which is unable to boot using that format.
Reply to: