Recuperando o GRUB com Boot-Repair
Dias atrás passei por um problema na inicialização do sistema operacional. Tenho dual boot com Linux Ubuntu e Windows gerenciado pelo GRUB. Não foi a primeira e não deve ser a última vez que vejo uma tela tipo essa:
(Fonte: Meu próprio desespero)
Neste artigo descrevo um passo a passo que utilizei pra recuperar o GRUB e conseguir inicializar o sistema operacional.
Inicialização com Live OS e Instalação do Boot-Repair
Utilizei um pen-drive com a versão 18.04 do Ubuntu para inicializar em modo Live.
Com sistema inicializado a partir do pen-drive, conecte-o à internet e instale a ferramenta boot-repair via terminal com os comandos:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
Usando o Boot-Repair
Forma Recomendada
- No terminal digite:
sudo boot-repair
- Então clique no botão “Recommended repair”. Quando o processo terminar, anote a URL (paste.ubuntu.com/XXXXX) que é exibida.
- Reinicie o seu computador e verifique se o acesso ao Sistema Operacional foi recuperado.
- Caso não, você pode buscar ajuda compartilhando a URL em fóruns ou por e-mail.
Atenção: a configuração padrão é a realizada através do botão “Recommended repair”. Alterar opções podem piorar o seu problema. Não modifique-as sem antes criar uma BootInfo URL e pedir ajuda nos fóruns. No caso do Ubuntu, recomendam-se Absolute Beginners Section ou Installation and Upgrades.
No meu caso, consegui reestabelecer a inicialização através da opção padrão: “Recommended repair”. Espero que seja útil pra você, mas caso precise de mais informação pode consultar a comunidade Ubuntu.