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

Re: lilo about to be dropped?

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:
> Giacomo Catenazzi, le Wed 08 Apr 2009 19:47:55 +0200, a écrit :
>> Samuel Thibault wrote:
>> >> I installed grub (and Debian). Trying the Windows hidden partition
>> >> (to install windows), grub stopped working (it was rescue mode, but
>> >> without capability to rescue something). Also rescue disk +
>> >> reconfiguring + update-grub did nothing.
>> > 
>> > Err, did you re-run install-grub?
>> No ;-) only update-grub and
>> dpkg-reconfigure -plow grub-pc grub-common
> Then little wonder. update-grub only updates menu.lst.
>> I was expecting that reconfigure will do the right things,
> grub maintainers considered that it's a bad thing to automatically
> reinstall things in a MBR.  You need to re-run grub-install to do that.

Is there some easy way to find out what is installed where?  Trying to
use grub/grub2, I've often wondered:

 Is my grub installation on /dev/sda
 a) complete? or did some other OS/RAID controller/whatever overwrite
    parts of it?
 b) uptodate? or did I forget to run grub-install after upgrading the
    grub package
 c) identical to the /dev/sdb mirror?" or did I forget to run
    grub-install after replacing /dev/sda?

Some scripts answering these questions would really be helpful.  Yes, I
know.  Send patches.  Might do.  Or just go for extlinux, which seems to
DTRT for me.


Reply to: