Bug#513592: grub-pc: Unknown command: initrd

Felix Zielcke fzielcke at z-51.de
Fri Jul 24 18:42:55 UTC 2009


Am Freitag, den 24.07.2009, 20:36 +0200 schrieb Olaf van der Spek:
> On Fri, Jul 24, 2009 at 8:30 PM, Felix Zielcke<fzielcke at z-51.de> wrote:
> > Am Freitag, den 30.01.2009, 14:58 +0100 schrieb Olaf van der Spek:
> >> Package: grub-pc
> >> Version: 1.96+20080724-14
> >> Severity: normal
> >>
> >> Hi,
> >>
> >> I ran into something comparable to 497791.
> >> A grub-install 'fixed' it.
> >>
> >> > On i386-pc, the grub package never updates the installed version of GRUB
> >> automatically
> >>
> >> I didn't see this line until I filed this bug. How am I supposed to know this and why doesn't it do this automatically?
> >>
> >> Greetings,
> >>
> >> Olaf
> >>
> >
> > We added now a debconf prompt for running grub-install.
> > It didn't do it yet because you can't safely execute just grub-install '(hd0)'
> > device.map could be outdated and hd0 doestn't point to the actual boot
> > device.
> > But now debconf shows a list of devices taken from device.map and then
> > runs grub-install over all that you select.
> 
> How does that prevent the possibility of device.map being outdated?

If /boot is on a different device then hd0 then UUIDs are now used to
find it, so in that case it isn't anymore a problem if the order is just
wrong.
If you want to have grub on a device not in device.map it needs to be
added there.
It isn't possible to use grub-install on a device not in device.map
There is no way for us to find out if it's required to regenerate
device.map or not.
But if /boot is on the same device as the one you want to install to it
has to be correct in device.map, so it wouldn't be safe to just
regenerate it.

-- 
Felix Zielcke






More information about the Pkg-grub-devel mailing list