I have a problem with LVM support on /boot partition. This is my partition scheme:
I have 4 primary partitions in the device node sda (sda1,sda2,sda3,sda4), I have a Intel C2D macbook pro, sda1 is for EFI, sda2 for MacOSX, sda3 for Linux and sda4 for Windows. I cannot create more primary partitions and I need to use LVM2.
I use LVM2 on sda3 partition:
PV: /dev/sda3
VG: Gentoo
LV: Gentoo-boot /boot
Gentoo-root /
Gentoo-home /home
Gentoo-swap swap
I download grub2 from CVS and run ./configure, make and make install.
I create the core.img by this way:
# grub-mkimage -o /boot/grub/core.img pc lvm ext2 _chain
and after I run grub-setup:
# grub-setup -r ´(Gentoo-root)´ ´(hd0)´
I create grub.cfg with my config and reboot the system.
When the PC is booting I only get a black screen with the GRUB word and the computer doesn't boot.
my device.map only have this line:
(hd0) /dev/sda
Somebody knows how-to make working grub2 with LVM2 boot partition?
Thx
PD:Sorry for my english