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

Andreas John aj at net-lab.net
Fri Feb 16 10:12:09 CET 2007


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

This might have to do with the fact, that /boot ran out of disk space
during my dist-upgrades. (I have to much different kernels I think :-))
But in any case there should be a sanity check in update-grub that
regenerates any missing files or dirs. An mkdir /grub solved my problem,
but I am not sure if that was simply a dirty workaround.

Rgds,
Andreas





More information about the Pkg-grub-devel mailing list