On Thu, Sep 16, 2010 at 6:02 AM, Alberto Luaces <alua...@udc.es> wrote:
>
> I'm trying to install GRUB2 to a disk that has an ext2/3 filesystem into
> a LVM partition. I can even start the system from GRUB2 and a boot disk,
> so it should work.
>
> The problem is that `grub-install' displays `no such disk' errors. I
> have tracked it down to `grub-probe':
>
> $ ls /dev/mapper/
> control  lvm_volume-debian_root  lvm_volume-swap
>
> $ sudo grub-probe -d /dev/mapper/lvm_volume-debian_root
> grub-probe: error: no such disk.
>
> How can I make `grub-probe' to find the partition? I'm using Squeeze,
> with latest GRUB2:
>
> $ dpkg -l grub-pc
> [...]
> ii  grub-pc                                        1.98+20100804-4

I have sid (with the same version of grub-pc) running with lvm.

Is "/dev/mapper/lvm_volume-debian_root" a symlink to "/dev/dm-X"?

What's the output of
cat /boot/grub/device.map
grub-probe --target=abstraction /
grub-probe --target=device /
grub-probe --target=drive /

What's the grub.cfg menuentry in the 10_linux section?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=5skqbbqn-9srbdsv3n0__su74aemwkl4nr...@mail.gmail.com

Reply via email to