Bug#549165: grub-legacy: Same problem here with 0.97-59

Armin Berres armin at space-based.de
Sun Oct 11 15:25:45 UTC 2009


On Sun, 11 Oct 09 17:17, Felix Zielcke wrote:
> Thanks, now I only need to know which line in update-grub causes this.

> As I said one line above the part you quoted from me:
> `sh -x update-grub'

# sh -x /usr/bin/update-grub
sh: Can't open /usr/bin/update-grub
bluefire:/home/armin# sh -x /usr/sbin/update-grub
+ set -e
+ uname -s
+ tr [A-Z] [a-z]
+ host_os=linux
+ find_grub_dir
+ echo -n Searching for GRUB installation directory ...
Searching for GRUB installation directory ... + [ -d /boot/grub ]
+ grub_dir=/boot/grub
+ break
+ [ -z /boot/grub ]
+ echo found: /boot/grub
found: /boot/grub
+ echo /boot/grub
+ grub_dir=/boot/grub
+ device_map=/boot/grub/device.map
+ menu_file_basename=menu.lst
+ menu_file=/boot/grub/menu.lst
+ default_file_basename=default
+ default_file=/boot/grub/default
+ find_device /
+ test -e /boot/grub/device.map
+ grub-probe --device-map=/boot/grub/device.map -t device /
+ root_device=

> *sigh*
> I'm now too lazy to search the bug reports we got for grub2 because of
> this, but the problem is a change in dmsetup which was reverted in the
> next upload. And so only affects sid users.
> Solution is to run `update-initramfs -c -t -k all' and if you don't want
> to reboot then also run `echo change > /sys/block/dm-0/uevent'

Wee, awesome. This fixed it. Thanks for your help.
FWIW I will switch to grub2 as soon as my thesis is finished :)

Greetings,
Armin





> 
> 
> -- 
> Felix Zielcke
> Proud Debian Maintainer and GNU GRUB developer
> 





More information about the Pkg-grub-devel mailing list