Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591558 - "grub2-mkconfig -o /boot/grub/grub.cfg" produces "/run/lvm/lvmetad.socket: connect failed:"
Summary: "grub2-mkconfig -o /boot/grub/grub.cfg" produces "/run/lvm/lvmetad.socket: co...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 02:25 UTC by John Stein
Modified: 2016-08-19 02:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Stein 2016-08-18 02:25:22 UTC
compiled for x86 using i686 tarball.


Initially it produced this output:
<Will add to second comment>




Added this line to my chroot setup as advised on the web:
"mount --bind /run  /root/livecd/source/run"
and it produced this result:
(chroot) hal3 / # grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
done

But not the properly generated files needed for booting.
Comment 1 John Stein 2016-08-18 18:24:59 UTC
COMMAND: "grub2-mkconfig -o /boot/grub/grub.cfg" 

PRODUCES: 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.6-gentoo
Found initrd image: /boot/initramfs-genkernel-x86-4.4.6-gentoo
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
done


Did not produce the expected boot files in /boot partition so I suppose the error cut the processing short.

I am trying to regenerate the /boot partition from an existing OS installation.

Thanks,
Ken Busse
Comment 2 Mike Gilbert gentoo-dev 2016-08-19 02:39:14 UTC
That's a warning, not an error. Please seek help in support channels.