Experimenta rodar os mesmos comandos, só que após dar o chroot, inicie os serviços de lvmetad que estão faltando de acordo com a sua mensagem de erro: systemctl start lvm2-lvmetad.service systemctl start lvm2-lvmetad.socket E só daí o grub-install ou updategrub Faz isso com e sem o GRUB_ENABLE_CRYPTODISK habilitado, só por via das dúvidas, o log disse que precisava disso habilitado, e que o lvmetad não foi contactado. Deve resolver. Abracos Henry Enviado do meu smartphone BlackBerry 10.
Henrique e Junior, executei os seguintes comandos: mint mint # modprobe dm-crypt mint mint # cryptsetup luksOpen /dev/sda5 linux Enter passphrase for /dev/sda5: mint mint # vgscan Reading all physical volumes. This may take a while... Found volume group "lvmc" using metadata type lvm2 mint mint # lvscan ACTIVE '/dev/lvmc/swap' [1.86 GiB] inherit ACTIVE '/dev/lvmc/root' [37.25 GiB] inherit ACTIVE '/dev/lvmc/home' [327.60 GiB] inherit mint mint # mkdir /media/linux mint mint # mount /dev/lvmc/root /media/linux/ mint mint # mount -o bind /dev/ /media/linux/dev mint mint # mount -o bind /proc/ /media/linux/proc mint mint # chroot /media/linux /bin/bash root@mint:/# grub-install /dev/sda Installing for i386-pc platform. Failed to find sysfs mount point WARNING: Failed to connect to lvmetad. Falling back to device scanning. dev/block/252:2/holders/: opendir failed: Not a directory dev/block/252:1/holders/: opendir failed: Not a directory dev/block/252:3/holders/: opendir failed: Not a directory dev/block/252:0/holders/: opendir failed: Not a directory dev/block/8:33/holders/: opendir failed: Not a directory dev/block/8:32/holders/: opendir failed: Not a directory dev/block/8:16/holders/: opendir failed: Not a directory dev/block/8:3/holders/: opendir failed: Not a directory dev/block/8:5/holders/: opendir failed: Not a directory dev/block/11:0/holders/: opendir failed: Not a directory dev/block/8:1/holders/: opendir failed: Not a directory dev/block/8:2/holders/: opendir failed: Not a directory dev/block/8:4/holders/: opendir failed: Not a directory dev/block/8:0/holders/: opendir failed: Not a directory dev/block/1:7/holders/: opendir failed: Not a directory dev/block/1:6/holders/: opendir failed: Not a directory dev/block/1:9/holders/: opendir failed: Not a directory dev/block/1:8/holders/: opendir failed: Not a directory dev/block/1:5/holders/: opendir failed: Not a directory dev/block/1:4/holders/: opendir failed: Not a directory dev/block/1:10/holders/: opendir failed: Not a directory dev/block/1:11/holders/: opendir failed: Not a directory dev/block/1:3/holders/: opendir failed: Not a directory dev/block/1:15/holders/: opendir failed: Not a directory dev/block/1:2/holders/: opendir failed: Not a directory dev/block/1:13/holders/: opendir failed: Not a directory dev/block/1:14/holders/: opendir failed: Not a directory dev/block/1:12/holders/: opendir failed: Not a directory dev/block/1:0/holders/: opendir failed: Not a directory dev/block/1:1/holders/: opendir failed: Not a directory dev/block/7:0/holders/: opendir failed: Not a directory dev/block/7:7/holders/: opendir failed: Not a directory dev/block/7:1/holders/: opendir failed: Not a directory dev/block/7:6/holders/: opendir failed: Not a directory dev/block/7:5/holders/: opendir failed: Not a directory dev/block/7:3/holders/: opendir failed: Not a directory dev/block/7:4/holders/: opendir failed: Not a directory dev/block/7:2/holders/: opendir failed: Not a directory dev/block/252:2/holders/: opendir failed: Not a directory dev/block/252:1/holders/: opendir failed: Not a directory dev/block/252:3/holders/: opendir failed: Not a directory dev/block/252:0/holders/: opendir failed: Not a directory dev/block/8:33/holders/: opendir failed: Not a directory dev/block/8:32/holders/: opendir failed: Not a directory dev/block/8:16/holders/: opendir failed: Not a directory dev/block/8:3/holders/: opendir failed: Not a directory dev/block/8:5/holders/: opendir failed: Not a directory dev/block/11:0/holders/: opendir failed: Not a directory dev/block/8:1/holders/: opendir failed: Not a directory dev/block/8:2/holders/: opendir failed: Not a directory dev/block/8:4/holders/: opendir failed: Not a directory dev/block/8:0/holders/: opendir failed: Not a directory dev/block/1:7/holders/: opendir failed: Not a directory dev/block/1:6/holders/: opendir failed: Not a directory dev/block/1:9/holders/: opendir failed: Not a directory dev/block/1:8/holders/: opendir failed: Not a directory dev/block/1:5/holders/: opendir failed: Not a directory dev/block/1:4/holders/: opendir failed: Not a directory dev/block/1:10/holders/: opendir failed: Not a directory dev/block/1:11/holders/: opendir failed: Not a directory dev/block/1:3/holders/: opendir failed: Not a directory dev/block/1:15/holders/: opendir failed: Not a directory dev/block/1:2/holders/: opendir failed: Not a directory dev/block/1:13/holders/: opendir failed: Not a directory dev/block/1:14/holders/: opendir failed: Not a directory dev/block/1:12/holders/: opendir failed: Not a directory dev/block/1:0/holders/: opendir failed: Not a directory dev/block/1:1/holders/: opendir failed: Not a directory dev/block/7:0/holders/: opendir failed: Not a directory dev/block/7:7/holders/: opendir failed: Not a directory dev/block/7:1/holders/: opendir failed: Not a directory dev/block/7:6/holders/: opendir failed: Not a directory dev/block/7:5/holders/: opendir failed: Not a directory dev/block/7:3/holders/: opendir failed: Not a directory dev/block/7:4/holders/: opendir failed: Not a directory dev/block/7:2/holders/: opendir failed: Not a directory device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found device node not found Failed to find sysfs mount point WARNING: Failed to connect to lvmetad. Falling back to device scanning. dev/block/252:2/holders/: opendir failed: Not a directory dev/block/252:1/holders/: opendir failed: Not a directory dev/block/252:3/holders/: opendir failed: Not a directory dev/block/252:0/holders/: opendir failed: Not a directory dev/block/8:33/holders/: opendir failed: Not a directory dev/block/8:32/holders/: opendir failed: Not a directory dev/block/8:16/holders/: opendir failed: Not a directory dev/block/8:3/holders/: opendir failed: Not a directory dev/block/8:5/holders/: opendir failed: Not a directory dev/block/11:0/holders/: opendir failed: Not a directory dev/block/8:1/holders/: opendir failed: Not a directory dev/block/8:2/holders/: opendir failed: Not a directory dev/block/8:4/holders/: opendir failed: Not a directory dev/block/8:0/holders/: opendir failed: Not a directory dev/block/1:7/holders/: opendir failed: Not a directory dev/block/1:6/holders/: opendir failed: Not a directory dev/block/1:9/holders/: opendir failed: Not a directory dev/block/1:8/holders/: opendir failed: Not a directory dev/block/1:5/holders/: opendir failed: Not a directory dev/block/1:4/holders/: opendir failed: Not a directory dev/block/1:10/holders/: opendir failed: Not a directory dev/block/1:11/holders/: opendir failed: Not a directory dev/block/1:3/holders/: opendir failed: Not a directory dev/block/1:15/holders/: opendir failed: Not a directory dev/block/1:2/holders/: opendir failed: Not a directory dev/block/1:13/holders/: opendir failed: Not a directory dev/block/1:14/holders/: opendir failed: Not a directory dev/block/1:12/holders/: opendir failed: Not a directory dev/block/1:0/holders/: opendir failed: Not a directory dev/block/1:1/holders/: opendir failed: Not a directory dev/block/7:0/holders/: opendir failed: Not a directory dev/block/7:7/holders/: opendir failed: Not a directory dev/block/7:1/holders/: opendir failed: Not a directory dev/block/7:6/holders/: opendir failed: Not a directory dev/block/7:5/holders/: opendir failed: Not a directory dev/block/7:3/holders/: opendir failed: Not a directory dev/block/7:4/holders/: opendir failed: Not a directory dev/block/7:2/holders/: opendir failed: Not a directory device node not found device node not found device node not found device node not found device node not found device node not found grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'. root@mint:/# Acabou não dando certo. Em 3 de setembro de 2017 23:07, <jmhenri...@yahoo.com.br> escreveu:
|
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Res: Erro ao recuperar grub de um... jmhenrique
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Linux - Junior Polegato
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Ricardo Ramos
- Re: Erro ao recuperar grub de um ... Luiz Carlos
- Re: Erro ao recuperar grub de um ... Guimarães Faria Corcete DUTRA , Leandro