Bug#411109: update-grub/grub-set-default throws an error,
if /grub dir does not exist
Otavio Salvador
otavio at debian.org
Tue Feb 27 15:45:10 CET 2007
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?
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the Pkg-grub-devel
mailing list