View previous topic :: View next topic |
Author |
Message |
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Mon Aug 13, 2012 1:45 pm Post subject: Grub2 warning with LVM2 |
|
|
I have just been installing Grub2 following the wiki. All went well until I ran the mkconfig:
Code: |
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
/usr/sbin/grub2-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
/usr/sbin/grub2-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
/usr/sbin/grub2-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
/usr/sbin/grub2-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-3.4.0-gentoo
Found initrd image: /boot/initrd-3.4.0-gentoo
Found linux image: /boot/vmlinuz-3.3.2-gentoo
Found initrd image: /boot/initrd-3.3.2-gentoo
done
|
I have no volume pv1:
Code: |
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg00 lvm2 a-- 213.79g 59.79g
/dev/sdb4 vg00 lvm2 a-- 170.73g 84.73g
|
The generated grub.cfg looks OK, AFAICT. So is this a serious problem?
TIA _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
ShadowCat8 Apprentice
Joined: 07 Oct 2008 Posts: 173 Location: San Bernardino, CA, USA
|
Posted: Tue Aug 14, 2012 5:51 pm Post subject: |
|
|
Greetings,
What are the USE flags you are using with GRUB2? Do you have it compiled with "device-mapper" and "mount"?
And, do you have the LVM modules built into your initrd?
HTH. Let us know. _________________ ________________________
"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."
-- Albert Einstein |
|
Back to top |
|
|
rjtupas n00b
Joined: 26 Jul 2003 Posts: 59 Location: Coronado, CA USA
|
Posted: Wed Aug 15, 2012 6:25 am Post subject: |
|
|
Do you need grub 2 compiled with device-mapper support if your MBR (root) is NOT on a LVM partition? I currently have root on a normal partition, but /usr, /var ... on LVM partitions. I'm experiencing e2fsck errors with /usr. |
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Wed Aug 15, 2012 12:59 pm Post subject: |
|
|
ShadowCat8 wrote: |
What are the USE flags you are using with GRUB2? Do you have it compiled with "device-mapper" and "mount"?
And, do you have the LVM modules built into your initrd? |
Grub2 was compiled with "device-mapper". I recompiled it with "mount" but it made no difference. Yes, LVM is built into my initrd. I also specified
Code: |
GRUB_PRELOAD_MODULES=lvm
|
in /etc/default/grub. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
|