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

Bug#502446: debian-installer: grub-installer is not updated for grub-pc introduction



On Sun, Nov 16, 2008 at 07:36:52PM +0900, Osamu Aoki wrote:
> 
> I wonder why we offer to install grub-pc to non-MBR locations in lenny.
> For me, disabling that is an option. But fixing it is even nicer. 

Erm, we shouldn't be doing this.  When installing in a partition head, you
can't really check if there will be enough space.  It depends on how much is
reserved by your filesystem of choice, which is often not enough anyway.

And even if it is, it's an ugly hack to reuse a partition for two different
things at the same time.

> > This is something we already solved in GRUB 2 (by using UUIDs).
> 
> I wonder if GRUB2's /etc/grub.d/30_os-prober can be used from
> grub-installer in squeeze.

Should be no problem.  It just takes installing os-prober in the target
system before update-grub is run.

> I guess chroot does not have apropriate
> devices to get this script to produce right result.

I don't think so.  If devices were missing, grub-probe / grub-setup wouldn't
work in this environment, and installation wouldn't be possible.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



Reply to: