Bug#499176: grub - update-grub fails silent

Robert Millan rmh at aybabtu.com
Sat Sep 27 21:22:17 UTC 2008


severity 499176 important
retitle 499176 should fail verbosely when root device cannot be found
thanks

On Sat, Sep 27, 2008 at 01:27:43PM +0200, Bastian Blank wrote:
> On Wed, Sep 24, 2008 at 12:45:53PM +0200, Robert Millan wrote:
> > On Tue, Sep 16, 2008 at 09:23:05PM +0200, Bastian Blank wrote:
> > > update-grub fails silent if grub-probe is not able to detect the used
> > > root device.
> > Please provide more details, including:
> >   - bash -x output
> >   - grub-probe output
> >   - grub-probe -v output
> 
> grub-probe fails if /dev does not contain a sign of the current root.

This is intentional.  update-grub needs to identify the current root in order
to construct grub.cfg / menu.lst.  fstab was not reliable, so it's no longer
being used.

Though, we should probably avoid silencing this particular invocation of
grub-probe.

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





More information about the Pkg-grub-devel mailing list