Windows 10 apagou o grub do Ubuntu! [RESOLVIDO]

1. Windows 10 apagou o grub do Ubuntu! [RESOLVIDO]

Patrick C. F. da Silva
patrickfaustino

(usa Ubuntu)

Enviado em 19/05/2017 - 21:48h

Olá,

tenho dual boot com Win 10 e Ubuntu em meu PC. HJ fiz uma restauração do Win 10 (o Win reinstalou), quando fui reiniciar o PC vi que o Win tinha apagado o grub. Agora não consigo inicializar o Ubuntu.

Já tentei restaurar o grub com o boot-repair, NÃO FUNCIONOU. Também tentei reinstalar o grub com os seguintes comandos:
sudo fdisk -l 

sudo mount -t ext4 /dev/sdaX /mnt 

sudo grub-install --root-directory=/mnt /dev/sda 

Este último código apresenta o seguinte erro:
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: 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: error: will not proceed with blocklists.

Agradeço a ajuda!




  


2. Re: Windows 10 apagou o grub do Ubuntu! [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 19/05/2017 - 22:50h

Rode mídia do Ubuntu
Abra gparted e veja se linux aínda está instalado
Se sim rode Boot Repair para recuperar GRUB
Se não terá reinstalar

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/


4. Re: Windows 10 apagou o grub do Ubuntu! [RESOLVIDO]

Patrick C. F. da Silva
patrickfaustino

(usa Ubuntu)

Enviado em 20/05/2017 - 00:39h

clodoaldops escreveu:

Rode mídia do Ubuntu
Abra gparted e veja se linux aínda está instalado
Se sim rode Boot Repair para recuperar GRUB
Se não terá reinstalar

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/


Já fiz isso!
O linux está instalado e o boot-repair não funcionou.



5. Re: Windows 10 apagou o grub do Ubuntu! [RESOLVIDO]

Patrick C. F. da Silva
patrickfaustino

(usa Ubuntu)

Enviado em 26/06/2017 - 10:26h

Consegui resolver colocando o seguinte comando no cmd(admin) do Windows 10:
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi 


Reinicie o PC após executar o comando.
Em alguns casos este comando pode não funcionar devido as aspas -> "{bootmgr}", VC pode retirar e executar o mesmo comando sem as aspas.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts