On Wed, 02 Sep 2009 20:50 +0200, Albin Tonnerre wrote : > On Wed, Sep 02, 2009 at 08:26:25PM +0200, Felix Zielcke wrote : > > Am Mittwoch, den 02.09.2009, 20:23 +0200 schrieb Albin Tonnerre: > > > [20:20 ~]% sudo grub-probe -t abstraction -d /dev/mapper/lvm-system > > > lvm > > > > > > > But maybe you're affected by the same problem as in 542435, 544577 and > > > > 543795 which was actually caused by a change in dmsetup > > > > Check that the files in /dev/mapper are real devices and no symlinks > > > > to /dev/dm-X > > > > > > They are real devices :( > > > > > > Regards, > > > > Run `bash -x grub-install --modules=minicmd /dev/sda' > > the grub-mkimage line should include lvm. > > and then check on reboot with `lsmod' if lvm is really loaded. > > `ls' should show the LVs > > Argh. After running apt-get install --reinstall grub-pc, lvm is now listed in > /boot/grub/grub.cfg, and grub2 is able to boot the system correctly. > Please don't close the bug, though - this has happened to me several times in > the past, and running grub-install after a couple grub-pc updates resulted in > the same kind of error. I absolutely have no clue as to what just happened > there.
Alright, so this started happening again. I'm using the latest version from unstable, 1.97-1. Did and apt-get remove --purge grub-common grub-pc, then removed everything in /boot/grub, and reinstalled. [20:15 @laptop ~]% cat /boot/grub/device.map (hd0) /dev/sda [20:15 @laptop ~]% sudo grub-probe -t device / /dev/mapper/lvm-system [20:16 @laptop ~]% sudo grub-probe -t abstraction -d /dev/mapper/lvm-system grub-probe: error: no mapping exists for `lvm-system' After adding '(lvm-system) /dev/mapper/lvm-system' to /boot/grub/devices.map: [20:17 @laptop ~]% sudo grub-probe -t abstraction -d /dev/mapper/lvm-system <nothing> Of course, the generated grub.cfg file doesn't contain any 'insmod lvm' directive. As previously, the files in /dev/mapper/ are real block devices and not symlinks. If there's anything I can do to help debug this issue, please let me know. Regards, -- Albin Tonnerre
signature.asc
Description: Digital signature