Eu desabilitei o fastboot do windows 10, mas mando esses comandos e
simplesmente dá erro:
mint@mint ~ $ sudo su
mint mint # modprobe dm-crypt
mint mint # cryptsetup luksOpen /dev/sda5 linux
Enter passphrase for /dev/sda5:
mint mint # mkdir /media/linux
mint mint # mount /dev/lvmc/root /media/linux/
mint mint # chroot /media/linux /bin/bash
root@mint:/# mount /dev/sda2 /boot
mount: /boot: mount failed: Unknown error -1

Se não consigo montar a droga da /boot não vou conseguir instalar o grub.

2017-09-03 17:53 GMT+00:00 Rodolfo <[email protected]>:

> Tentou bootar via live-cd?
>
> 2017-09-03 12:17 GMT-04:00 Luiz Carlos <[email protected]>:
>
>> Que desgraça de vida, horas no google pesquisando e não consigo resolver
>> porra nenhuma, maldita hora que fui inventar de instalar Windows 10 e achar
>> que ia conseguir recuperar o Grub.
>>
>> 2017-09-03 14:19 GMT+00:00 Luiz Carlos <[email protected]>:
>>
>>> Estou até agora tentando, tentei o comando:
>>> # grub-install --boot-directory=/boot /dev/sda
>>> Installing for i386-pc platform.
>>> grub-install.real: warning: Sector 32 is already in use by the program
>>> `FlexNet'; avoiding it.  This software may cause boot or other problems in
>>> future.  Please ask its authors not to store data in the boot track.
>>> Installation finished. No error reported.
>>> mint mint # grub-install --boot-directory=/boot /dev/sda2
>>> Installing for i386-pc platform.
>>> grub-install.real: warning: File system `ntfs' doesn't support embedding.
>>> grub-install.real: warning: Embedding is not possible.  GRUB can only be
>>> installed in this setup by using blocklists.  However, blocklists are
>>> UNRELIABLE and their use is discouraged..
>>> grub-install.real: error: will not proceed with blocklists.
>>>
>>>
>>> Em 3 de setembro de 2017 06:03, Luiz Carlos <[email protected]>
>>> escreveu:
>>>
>>>> Olá amigos, estou em desespero, agora mesmo estou numa live cd tentando
>>>> recuperar o grub, eu havia instalado o WIndows 10, estou com o Debian
>>>> criptografado, tentei recuperar com esses seguintes comandos:
>>>>
>>>>
>>>> # modprobe dm-crypt
>>>> # cryptsetup luksOpen /dev/sda5 linux
>>>> # mkdir /media/linux
>>>> # mount /dev/lvmc/root /media/linux/
>>>> # chroot /media/linux /bin/bash
>>>>
>>>> Dai quando mando # grub-install /dev/sda
>>>>
>>>> Aparece: /dev/sda: Not found or not a block device.
>>>>
>>>>
>>>> Eu não sei mais o que faço, aqui na live CD eu consigo ver minhas
>>>> partições e tudo mais.
>>>>
>>>> Meu Debian é de 64 bits.
>>>>
>>>
>>>
>>
>

Responder a