Bug#411109: update-grub/grub-set-default throws an error, if /grub dir does not exist

dorileo ldorileo at gmail.com
Wed Feb 28 00:13:16 CET 2007


Hi Otavio

On Tuesday 27 February 2007 14:45, you wrote:
> dorileo <ldorileo at gmail.com> writes:
> > Hi Andreas
> >
> > On Friday 16 February 2007 09:12, Andreas John wrote:
> >> Package: grub
> >> Version: sid
> >> Severity: medium
> >>
> >> Hi,
> >> after dist-upgrading my sid, update-grub did not run successfully.
> >> The reason for that was that it called indirectly 'grub-set-default',
> >> which looked for a grub dir on / ! (not /boot or in my case /boot/boot
> >> ,as I run traditionally an own partition for /boot).
> >
> > update-grub as far as I can see has actually a problem when calling
> > grub-set-default, it does not inform the root-directory parameter, please
> > take a look at bug #412334 for an example. It means that update-grub does
> > not try to find the root-directory and surely inform it, the script tries
> > to find the grub-root-directory not the root-directory so update-grub
> > cant inform it of course. My change is to make grub-set-default find the
> > grub-root-directory in another way if root-directory is not informed.
> >
> > I attached a patch to the quoted bug and will attach it here again for
> > tests, could you apply the patch and see how it works?
>
> If the user confirm it's OK, could you apply this bug and check if
> there's any other trivial one to solve together and commit?

Yeah, of course I can but, it`s going to wait until the end of the week, no 
problem for you? :D

regards

--
Dorileo




More information about the Pkg-grub-devel mailing list