On Sun, 10 Dec 2006, maximilian attems wrote:
tags 402386 moreinfo stop On Sat, Dec 09, 2006 at 11:54:11PM +0000, Reuben Thomas wrote:I just tried update-initramfs -k 2.6.18 -u when I didn't have an initrd, and got the error: /boot/initrd.img-2.6.18 has been altered. Cannot update. It should instead tell me that the file was missing. Changing -u to -c made it create the initrd as normal.this is an indication that an sha1sum was stored for 2.6.18 in /var/lib/initramfs-tools/2.6.18. please describe the steps you did so that i can reproduce.
I installed the new kernel package linux-image-2.6.18-3-686 (shouldn't be relevant?). I then installed the source package linux-source-2.6.18, and built and installed a kernel *by hand* i.e. using the usual kernel build system. I then ran the commands I described above.
in short (reconstructed from ~/.bash_history): wajig install linux-source-2.6.18 wajig install linux-headers-2.6.18-3 wajig install linux-headers-2.6.18-3-686bloat linux-source-2.6.18.tar.bz2 cd /usr/src/linux-source-2.6.18/
make menuconfig make bzImage modules sudo make install install_modules sudo make modules_install wajig purge linux-image-2.6.17-2-2-686 wajig purge linux-image-2.6.17-2-686 unionfs-modules-2.6.17-2-686 sudo rm -rf /lib/modules/2.6.17-2-686/ wajig purge linux-headers-2.6.17-2 linux-headers-2.6.17-2-686 sudo update-initramfs -k 2.6.18 -u # oops! sudo update-initramfs -k 2.6.18 -c -- http://rrt.sc3d.org/ | romantic, n. one who puts ideas before people