Bug#631224: Whether should grub2 write MBR automatic

Colin Watson cjwatson at debian.org
Wed Jun 22 09:20:35 UTC 2011


On Wed, Jun 22, 2011 at 03:09:12PM +0800, YunQiang Su wrote:
> When installing, user will usually install grub in MBR or they have no
> choice to set it when install (install from LiveCD).

If you mean the Ubuntu live CD, IIRC it does have an option for this
although only when you're doing manual partitioning.  But it's easy
enough to reconfigure later anyway, particularly for the sort of person
who has multiple operating systems installed.

> and I can not find out any necessity to run grub-install every time.

There is at present no guarantee of compatibility between older GRUB
images and newer generated configuration files.  We try not to break
this gratuitously, but there have been some changes that affected
compatibility at various points in recent history, and we certainly
don't do very significant testing with older images (for instance, the
GRUB script "shell" gained several important new features in 1.99 and it
would not surprise me one bit to find autogenerated configuration files
taking advantage of these; I'm almost certain that current grub.cfg
files will not work with images from the 1.97 era).

If we simply left old images in place and never upgraded them, as you
suggest in #631224, then I guarantee you that other things would break;
it would be disastrously bad for users.  We therefore try to upgrade
installed versions of GRUB to match the current installed package.

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list