Create the file /etc/kernel-img.conf and insert the following lines: postinst_hook=/sbin/update-grub postrm_hook=/sbin/update-grub ============================ install grub on floppy dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1 dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1 ============================ configure grub grub> root (hd0,0) find /boot/grub/stage1 grub> setup (hd0) grub-install --root-directory=/ /dev/hda