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

Bug#385949: initramfs-tools: lilo not run after installation; system did not boot any more

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.

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).

> try to use grub-install or grub directly
> http://www.itp.tuwien.ac.at/~mattems/blog/2006/01/18#grub_install

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

Best regards,

Reply to: