Bug#544420: grub-pc fails to install
Felix Zielcke
fzielcke at z-51.de
Mon Aug 31 14:01:55 UTC 2009
severity 544420 important
thanks
Am Montag, den 31.08.2009, 15:26 +0200 schrieb Patrick Winnertz:
> Package: grub-pc
> Version: 1.97~beta1-1
> Severity: grave
>
> After the last update apt-get fails to install grub-pc with that error msg:
>
> Installation finished. No error reported.
> This is the contents of the device map /boot/grub/device.map.
> Check if this is correct or not. If any of the lines is incorrect,
> fix it and re-run the script `grub-install'.
>
> (hd0)/dev/sda
> grub-probe: error: cannot find a device for /.
>
>
> -------------
> My system is fully crypted (lvm based), except /boot which is not crypted.
>
> If you need some more informations, I'll try to provide them.
>
> Greetings
> Winnie
>
> -- Package-specific info:
>
> *********************** BEGIN /proc/mounts
> /dev/mapper/energy-root / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
> /dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
> /dev/dm-6 /home ext3 rw,relatime,errors=continue,data=writeback 0 0
> /dev/dm-5 /tmp ext3 rw,relatime,errors=continue,data=writeback 0 0
> /dev/dm-2 /usr ext3 rw,relatime,errors=continue,data=writeback 0 0
> /dev/dm-3 /var ext3 rw,relatime,errors=continue,data=writeback 0 0
> *********************** END /proc/mounts
>
Seems like your system is affected by 542422, which was introduced in
dmsetup 2:1.02.36-1 and fixed in 2:1.02.36-2
Make sure that /dev/mapper/energy-root is the device itself and not a
symlink to some /dev/dm-X file.
If it's a symlink then run `echo change > /sys/block/dm-X/uevent' and
replace X with the real number to which the symlink links to.
--
Felix Zielcke
Proud Debian Maintainer
More information about the Pkg-grub-devel
mailing list