Bug#411109: update-grub/grub-set-default throws an error,
if /grub dir does not exist
dorileo
ldorileo at gmail.com
Tue Feb 27 16:37:30 CET 2007
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?
Thanks
--
Dorileo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-set-default_find-grub-dir.patch
Type: text/x-diff
Size: 1279 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070227/6eda5e5f/grub-set-default_find-grub-dir-0005.bin
More information about the Pkg-grub-devel
mailing list