On Mon, Sep 04, 2006 at 02:32:56PM +0200, Sebastien Blondeel wrote: > On Mon, Sep 04, 2006 at 11:57:38AM +0200, maximilian attems wrote: > > hmm you have both installed, without indication of which one > > to run, so you need to run lilo manualy on upgrades of linux-image > > or after update-initramfs runs. as lilo stores an hardcoded block > > and has no idea about the fs > > I agree my system is probably not quite clear-cut but it would still be > nice for an upgrade not to break it. This is why I decided it could be > useful to report the problem.
your install is quite old, should be pre sarge. nowadays d-i takes care to provide a sane /etc/kernel-img.conf, which kernel-package doesn't. (another step for debootstrapped installs) > One may not know such things (rerun lilo after such or such operation), > or forget them. If at least your installation script can display a > scary-looking warning or ask a question and want the user to confirm he > wants to run lilo or not, that would probably help (I am not sure if > looking at the MBR a program can recognize whether the system boots > using LILO or GRUB or not). sure there is a scary warning, you seem to have ignored it on upgrade. it is displayed if you have grub and lilo installed and no do_bootloader setting in kernel-img.conf: -- WARNING: grub and lilo installed. If you use grub as bootloader everything is fine. If you use lilo as bootloader you must run lilo! -- otherwise one could do some xxd magic on master block, but to get it right this is quite pathological. > Thanks for the pointer. It looks all right, hopefully my next boot won't > give me other creeps :) > > -=-=-= > /boot/grub# grub-install /dev/hda > Installation finished. No error reported. > This is the contents of the device map /boot/grub/device.map. > Check if this is correct or not. If any of the lines is incorrect, > fix it and re-run the script `grub-install'. > > (fd0) /dev/fd0 > (hd0) /dev/hda > (hd1) /dev/hdb > -=-=-= yes looks fine. best regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

