Bug#542165: grub-common: grub-probe kind of mishandles dm-crypt partitions
Marc Haber
mh+debian-bugs at zugschlus.de
Tue Aug 18 07:40:08 UTC 2009
Package: grub-common
Version: 1.96+20090808-1
Severity: normal
Hi,
my /boot is on a crypted dm-crypt partition. I know I can't boot from
there, but /boot is regularly unisoned to an USB stick which then
_can_ boot.
When I run update-grub on the crypted /boot, I get a number of
grub-probe: error: no mapping exists for boot'
errors, but that's not actually an error, the generated grub.cfg is
just fine.
More info:
$ grep /boot /proc/mounts /dev/mapper/boot /boot ext3
rw,noatime,nodiratime,errors=remount-ro,data=writeback 0 0
$ sudo dmsetup table | grep ^boot
boot: 0 1022968 crypt aes-cbc-essiv:sha256 00000000000000000000000000000000 0 254:9 1032
$ sudo dmsetup ls | grep '(254, 9)'
vg0-c_boot (254, 9)
Greetings
Marc
More information about the Pkg-grub-devel
mailing list