You are not logged in.

#1 2017-05-25 08:05:49

machackerx86
Member
Registered: 2015-06-27
Posts: 26

[SOLVED]" failed connect to lvmetad " error while generating grub.cfg

I am trying to do a dual boot with windows 10 and arch Linux  . there are four partitions  /dev/sda1 is system reserved  ,  /dev/sda2 is windows  , /dev/sda3 in swap , /dev/sda4 is  Linux . Then I did the install and I always get an error saying " failed  connect to lvmetad "  when I try to generate grub.cfg  . I used grub-bios and os-prober package to install the bootloader

Last edited by machackerx86 (2017-05-26 07:04:31)

Offline

#2 2017-05-25 13:30:48

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED]" failed connect to lvmetad " error while generating grub.cfg

post fdisk -l (that's a small lima) please.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-05-26 07:03:03

machackerx86
Member
Registered: 2015-06-27
Posts: 26

Re: [SOLVED]" failed connect to lvmetad " error while generating grub.cfg

the problem was with os-prober it was not working so i installed arch without os-prober and then manually added the windows entry . here is a work around

1)  lets assume that system reserved partition is on /dev/sda1 and windows is on /dev/sda2 and so on . we need the uuid of /dev/sda1 , run the following command and note down the uuid
   

  lsblk -f 

             
2) now we have to modify the grub boot menu and create a menu for windows 10 and point it to /dev/sda1 .
   

 nano /etc/grub.d/40_custom  

   
3)now type in the following code and replace  "hd0,msdos1"  and "1234567890123456" to your respective values .  For example /dev/sda1 = hd0,msdos1 , /dev/sdb2 = hd1,msdos2 and so on .1234567890123456 is your uuid of /dev/sda1 aka system reserved  code can be found here

4) for some reason there is a problem with os-prober package it causes lvmetad errors every time i try to install

Offline

Board footer

Powered by FluxBB